手动安装ant - binary
文章目录
下载二进制包:
https://ant.apache.org/bindow...
例如,apache-ant-1.10.11
解压到/usr目录下
/usr/apache-ant-1.10.11
配置环境变量
/etc/profile
export ANT_HOME=/usr/apache-ant-1.10.11
export PATH=$ANT_HOME/bin:$PATHsource /etc/profile
which ant
下载二进制包:
https://ant.apache.org/bindow...
例如,apache-ant-1.10.11
解压到/usr目录下
/usr/apache-ant-1.10.11
配置环境变量
/etc/profile
export ANT_HOME=/usr/apache-ant-1.10.11
export PATH=$ANT_HOME/bin:$PATHsource /etc/profile
which ant
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论