Quick start  .:.  Advanced FAQ  .:.  Features  .:.  Links

Installing ANts on Linux

Check and install Java

Check if you have java 1.5. installed. (Older versions wonīt work!)(Sometimes this version is named 'JRE 5.0' by Sun.)
You may use any packetmanager like kpackage, the YAST-Softwaremanager (SuSE), the mandriva/mandrake konfiguration-tool, ... or the following rpm-command:
rpm -q jre

If you just have an older version, try the updatemanager of your distribution for an update. If there is none available, download the current version at
The file is named 'jre-1_5_0_06-linux-i586-rpm.bin' where the version-number can differ. There is a documentation for installation, too.

Start a shell and locate the downloaded file. Then set the executable-bit:
chmod a+x jre-1_5_0_06-linux-i586-linux-i586.rpm.bin
(Perhaps you need root-rights for this command. Then use the 'su' or 'sudo' command.)

Run this self-deflating file:

Install the resulting rpm-file:
rpm -iv jre-1_5_0_06-linux-i586.rpm

Start the ANts-installation:

Download the latest ANts from
Choose the normal installer (not the autoinstaller). The Filename should be like:
ANtsP2P_Setup_[version].jar (Platform-Independent)

Open a shell and navigate to the downloaded .jar file.
To set the required rights, type
chmod u+x ANtsP2P_Setup_[version].jar
(Perhaps you need root-rights for this command. Then use the 'su' or 'sudo' command.)

Start the Java-based ANts setup:
java -jar ANtsP2P_Setup_[version].jar
(You have to start a new shell if the java-command canīt be found.)

A graphical installer will show and ask for your preferred language. (Caution: some translations are weak. Use English if possible.)
You have to choose an installation-folder. Default is the home of the current user. If you are root, you can use something like /usr/local or /opt to install it for all users.

The installer can create links for starting ANtsP2P. Choosing your home-dir isnīt bad. Sometimes this does not work and could cause errors, which are no problem.

To start ANts, you should use the shellscript located in the ANts folder. It is just called ANtsP2P without a file-extenstion. This is also the targetfile if you want to create a startup-link on your desktop. This startup-script analyses your Linux-installation which takes some time. Just be patient. :)

When ANts is started the first time (or the settings.ant file is missing), a configuration-wizzard is shown. Choose your preferred language, connection-speed, and hostname/IP. By default the hostname/IP is given. If your internetconnection is via router, I recommend to delete the hostname and just specify the IP-address of your network-card. Try the 'ifconfig' shell-command if you are unsure. Check the options 'Remember value' and 'search peers on GWebCache'.

Add a share directory: specify which files you want ANts to share with others.
Select browser: locate your preferred webbrowser. For example /opt/MozillaFirefox/bin/ or /usr/bin/konqueror

Now you should see the ANtsP2P userinterface.

Continue with the documentation at home page