http://www.xmlmind.com Contents The APT format Using aptconvert Enhancements and bug fixes

3 Installing aptconvert

3.1 Install on Unix

Prerequisites:

Procedure:

  1. Unpack the APT distribution somewhere. This requires approximately 2Mb of disk space.
    $ cd 
    $ gzip -d -c apt.tgz | tar xvf -
    $ ls apt
    class
    distrib
    java
    makefile

    The binaries and the documentation are found in the distrib sub-directory. Class, java and makefile are only needed if you want to rebuild aptconvert.

  2. Copy aptconvert and aptall.jar to a directory referenced in your path (example /usr/local/bin).
    $ su
    $ cp ~/apt/distrib/aptconvert /usr/local/bin
    $ cp ~/apt/distrib/aptall.jar /usr/local/bin
    $ chmod a+rx /usr/local/bin/aptconvert
    $ chmod a+r /usr/local/bin/aptall.jar
  3. You're done unless you want to provide a system-wide configuration to aptconvert users.

    In this case,

    1. Use a text editor to create a file containing aptconvert properties (more about this in the using aptconvert section). For example, create a file called /usr/local/lib/aptconvert.rc.
    2. Use a text editor to modify last line of the script /usr/local/bin/aptconvert. Replace java by java -Daptconvertrc=/usr/local/bin/aptconvert.rc.

3.2 Install on Windows NT

Install on Windows NT is similar to the install on Unix but under Windows you'll have to copy distrib\aptconvert.bat rather than distrib/aptconvert.