How to Install Apache ANT in LINUX

Apache Ant How to Install

Installation of Apache ant in Linux involves easy steps. Download the required version of ANT from the Apache ANT downloads page, Apache ANT , Lets choose the latest version ant-1.9.6

Steps To Install Apache ANT

Download the ant binary file in /opt/ directory using WGET command

# wget http://download.nextag.com/apache//ant/binaries/apache-ant-1.9.6-bin.tar.gz

--2016-01-14 20:49:37-- http://download.nextag.com/apache//ant/binaries/apache-ant-1.9.6-bin.tar.gz
Resolving download.nextag.com (download.nextag.com)... 216.185.212.50
Connecting to download.nextag.com (download.nextag.com)|216.185.212.50|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5588888 (5.3M) [application/x-gzip]
Saving to: ‘apache-ant-1.9.6-bin.tar.gz’

apache-ant-1.9.6-bin.tar.gz 100%[=================================>] 5.33M 3.21MB/s in 1.7s

2016-01-14 20:49:39 (3.21 MB/s) - ‘apache-ant-1.9.6-bin.tar.gz’ saved [5588888/5588888]

Extract the file using tar command,

# tar -xvzf apache-ant-1.9.6-bin.tar.gz
apache-ant-1.9.6/bin/ant
apache-ant-1.9.6/bin/antRun
apache-ant-1.9.6/bin/antRun.pl
apache-ant-1.9.6/bin/complete-ant-cmd.pl
apache-ant-1.9.6/bin/runant.pl
apache-ant-1.9.6/bin/runant.py
..............

Delete the .gz file to save the disk space

# rm -f apache-ant-1.9.6-bin.tar.gz

[adHoriL]

Continue Reading about Setting the ENV variables for ANT

YOU MAY ALSO LIKE....

4
Leave a Reply

avatar
166
4 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
2 Comment authors
StaceeURappeOcieELeander Recent comment authors
newest oldest most voted
OcieELeander
Guest

Ahaa, its pleasant conversation on the topic of this component of writing here
at the blog, I have read all that, so currently me also commenting here.

StaceeURappe
Guest

My significant other and so i stumbled over here different website address and thought
I may at the same time check things out. I like what I see so i am just just following you.
Anticipate groing through your internet page again.

trackback

Google

The time to study or visit the content or web-sites we have linked to below.

trackback

Google

Very handful of web-sites that occur to become comprehensive beneath, from our point of view are undoubtedly effectively worth checking out.