ubuntu 中安装ant
来源:互联网 发布:淘宝客服办公室 编辑:程序博客网 时间:2024/06/07 19:10
ant的安装
$ sudo apt-get install ant(不推荐)
因为这样安装会附带许多其他的插件
$ sudo apt-get install ant(不推荐)
因为这样安装会附带许多其他的插件
自己去下载一个ant,下载地址:http://ant.apache.org/bindownload.cgi
我这使用的是ant 1.9.2
将ant解压至安装目录当中
$ sudo tar -zxvf apache-ant-1.9.2-bin.tar.gz -C /opt/
嫌文件名太长,改个名
$ sudo mv apache-ant-1.9.2 ant
$ sudo vi /etc/profile
在其中添加下面语句
export ANT_HOME=/opt/ant;
在PATH中也加上
如下图:
$ source /etc/profile
验证ant是否安装成功
$ ant -version
可以查看ant的版本
如图所示:
那就说明配置成功!
0 0
- ubuntu 中安装ant
- ubuntu中ANT的安装和配置
- ubuntu中ANT的安装和配置
- ubuntu中ANT的安装和配置
- ubuntu中ANT的安装和配置
- ubuntu中ANT的安装和配置
- ubuntu中ANT的安装和配置
- ubuntu中ANT的安装和配置
- Ubuntu中ANT的安装和配置
- Ubuntu中ANT的安装和配置
- ubuntu中ANT的安装和配置
- ubuntu中ANT的安装和配置
- Ubuntu中ANT的安装和配置
- ubuntu 下安装ant
- ubuntu 安装ant
- ubuntu下安装ant
- ubuntu下安装ant
- ubuntu下安装ant
- Android-x86 使用
- LeetCode之postorderTraversal
- c语言中的break用法
- js 中使用el表达式 关键总结:在js中使用el表达式一定要使用双引号
- 刷新桌面
- ubuntu 中安装ant
- LeetCode之inorderTraversal
- 图解CSS的padding,margin,border属性(详细介绍及举例说明)
- FFMPEG结构体分析:AVFormatContext
- Linux中10个有用的命令行补齐命令
- 基于EO生成的VO 拖入页面生成的selectOneChoice获取主键的值
- Startup.s文件
- spring-data-mongodb 对象关联 @DBRef学习 之疑问
- 获取文件大小的方式