Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-05-2005, 06:57 PM   #1
Registered: Jan 2003
Location: New Mexico
Distribution: Ubuntu 18.04.3 LTS
Posts: 539

Rep: Reputation: 30
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?
Old 04-06-2005, 12:00 PM   #2
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
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.
Old 06-23-2006, 05:35 AM   #3
Registered: Jun 2005
Posts: 70

Rep: Reputation: 15
$ ant -diagnostics

You'll find something like
ANT_HOME/lib jar listing
ant.home: /usr/share/ant
Old 09-17-2009, 05:42 AM   #4
Registered: Sep 2009
Posts: 84

Rep: Reputation: 15
Post 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.



ant, diagnostics, directory, find, home

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems about ant simprince Programming 1 11-08-2005 09:53 AM
Installation directory Jongi Linux - General 9 10-10-2005 08:09 AM
problem with ant os2 Programming 1 05-20-2005 12:13 AM
installing ant is asking for jaxp_parser_impl giovannym Linux - Newbie 0 06-18-2004 02:04 PM
Jakarta Ant?? powadha Linux - Software 3 01-19-2004 12:46 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration