Thursday, January 10, 2013

Install ant from source

1. Download apache-ant
wget http://ftp.heanet.ie/mirrors/www.apache.org/dist/ant/binaries/apache-ant-1.8.4-bin.tar.gz
2. Unpack and move to work directory
$ tar -zxf apache-ant-1.8.4-bin.tar.gz
$ sudo mv apache-ant-1.8.4 /usr/local
3. Link to binary directory. That's all
$ sudo ln -s /usr/local/apache-ant-1.8.4/bin/ant /usr/bin/ant

No comments: