-   Linux - Software (
-   -   ANT installation directory (

allelopath 04-05-2005 07:57 PM

ANT installation directory
I'm trying to install some software.
It needs ant, which I installed from the SuSE 9.2 dvd

The instructions say:
Set the ANT_HOME environment to the installation directory.
Add $ANT_HOME/bin to your PATH environment.

If i do a "locate ant", I see:
...and so on

The problem is that I'm not sure what the ant installation directory is and that I don't see a /bin/ folder associated with any ant directories.
What should I do?

rose_bud4201 04-06-2005 01:00 PM

For me at least, the ant directory is /usr/local/ant/, and that would make $ANT_HOME/bin be /usr/local/ant/bin/:

[lthurber@hostname ~]$ echo $PATH

Alternatively, you could uninstall and reinstall ant, this time giving a directory (i.e. /usr/local) where you'd like it to be installed so that next time you know where to find it.

osio 06-23-2006 06:35 AM

$ ant -diagnostics

You'll find something like
ANT_HOME/lib jar listing
ant.home: /usr/share/ant

shravee 09-17-2009 06:42 AM

How to install ant
i unzipped the ant.tar.gz file in /usr/Ant/

and in the etc/bashrc file i set the following.


saved the file and exited.

then entered source ./bashrc

are these the installation steps or anything else is required.


All times are GMT -5. The time now is 08:05 PM.