목요일, 5월 15, 2025
HomeLinuxUbuntu 16.04 Ant Install

Ubuntu 16.04 Ant Install

Ubuntu 16.04 Ant Install

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
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular