SE452: Ant: Download [2/8] ![]() ![]() ![]() |
Download it from here. You should get the .zip version if you are on Windows, get the tar.gz if you are on Unix. For now, just get apache-ant-1.5.4-bin[.zip or .tar.gz].
On Windows, unzip it to a directory using your favorite zip tool. With
WinZip, you just double click on the file, click the extract
button, and choose a good directory to unzip it to. I
recommend something close to the root of your drive, like
D:\
or C:\
or C:\se452
. Once
extracted, it will be in a directory called
apache-ant-1.5.4
. We will call this directory
ANT_HOME
On Unix, extract the ant tarball to a directory where you
have permissions to keep applications. On linux, this might
be /usr/local
, on HP it might be
/apps
or /opt
. If you don't have
root access, you can install Ant anywhere.
With Gnu tar, you can use the command tar -xvzf
apache-ant-1.5.4-bin.tar.gz
. With the standard tar,
use something like gzip -c
apache-ant-1.5.4-bin.tar.gz | tar xf -
from the
directory where you want the ANT_HOME
to
be.
With either download, you can check the PGP signature of the file using pgp or gpg.