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

4 Comments

  • OcieELeander

    March 7, 2016

    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

    March 7, 2016

    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.

  • Pingback: Google

  • Pingback: Google

Leave a Reply