How to install Ant on CentOS

from: http://xmodulo.com/how-to-install-apache-ant-on-centos.html

$ wget http://www.us.apache.org/dist/ant/binaries/apache-ant-1.10.1-bin.tar.gz
$ sudo tar xvfvz apache-ant-1.10.1-bin.tar.gz -C /opt
$ sudo ln -s /opt/apache-ant-1.10.1 /opt/ant

$ sudo sh -c ‘echo ANT_HOME=/opt/ant >> /etc/environment’
$ sudo ln -s /opt/ant/bin/ant /usr/bin/ant

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s