| [FrontPage] [TitleIndex] [WordIndex]

# TmdaInstallation

#### TMDA Installation Instructions

Installation from gzipped source tarball

Choose an installation location which can either be an individual area (such as within your home directory), or a shared area (such as /usr/local) for system-wide use, and change to that directory.

1. Unpack the TMDA distribution.

   -       # gunzip -c tmda-1.1.0.tgz | tar xvf -

2. If this is a system-wide install, run the compileall script to byte-compile all the .py files. Byte-compilation is optional, but will speed TMDA's start-up time. This will be done automatically by Python if you have write permissions in the installation directory, which is why it's not necessary for individual installs.

   -       # cd tmda-1.1.0
           # ./compileall

3. TMDA is designed to run directly from its source directory. For example, if installed in /usr/local/tmda-1.1.0/, you'd run tmda-keygen by invoking `/usr/local/tmda-1.1.0/bin/tmda-keygen`. Do not move the bin/* programs outside the source tree, although making symlinks from other areas of the filesystem (such as /usr/local/bin) into the source tree will work fine.

Installation from Linux RPM

If you are running an RPM-compatible distro of Linux, you may wish to install TMDA via RPM instead. A binary RPM can be built and installed directly from the source tarball:

    # rpmbuild -tb tmda-1.1.0.tgz
    # rpm -Uvh /usr/src/redhat/RPMS/noarch/tmda-1.1.0-1.noarch.rpm

If your system lacks a /usr/bin/python2.3 binary, you will get a dependency error from rpmbuild. The solution is to install a Python 2.3.x RRM from python.org. As explained on their page, this will not conflict with or overwrite your system's existing Python in any way.

Post-Installation

Report your installation (used only to satisfy my curiosity about what platforms are using TMDA):

    # tmda-keygen -V | mail jason-tmdausage@mastaler.com

Then proceed to TmdaConfiguration for how to setup and configure TMDA.

2007-07-30 15:45