Ubuntu 16.04 Ant Install
1 2 3 4 5 6 7 8 9 10 11 12 13 |
cd /server/tools wget http://mirror.downloadvn.com/apache//ant/binaries/apache-ant-1.9.9-bin.tar.gz tar xf apache-ant-1.9.9-bin.tar.gz mv apache-ant-1.9.9 /server ln -s /server/apache-ant-1.9.9 /server/ant echo 'export ANT_HOME=/server/ant' >> /etc/profile echo 'export ANT=$ANT_HOME/bin' >> /etc/profile echo 'export PATH=$ANT:$PATH' >> /etc/profile source /etc/profile ant -version Apache Ant(TM) version 1.9.9 compiled on February 2 2017 |