老师给我们总结的在linux下安装源代码的方法
2006-05-20 14:12
471 查看
1.把你的程序移动到/usr/local/src ------------ 这一步你也可以不做,但是这方便以后对源代码程序的管理与升级,如果乱放,时间长了就不好管理了
2.cd /usr/local/src ---------进入源代码所在的目录
3.tar xzvf mtools-3.9.9.9.tar.gz ----------解压缩文件 如果是是以bz2结尾的用tar xjvf
4.cd mtools-3.9.9 ------------进入源代码解压缩以后的文件夹
5.编辑配置文件 configure ./configure --prefix=/usr/local/mtools 这一步指定了安装的目录
6.make
7.make install
完成这几步源代码就算安装成功了,注意这种方法适合大多数源代码程序,如果用这种方法不能安装,请进入源代码解压缩后的目录,察看readme文档,一般都回有详细的说明的
2.cd /usr/local/src ---------进入源代码所在的目录
3.tar xzvf mtools-3.9.9.9.tar.gz ----------解压缩文件 如果是是以bz2结尾的用tar xjvf
4.cd mtools-3.9.9 ------------进入源代码解压缩以后的文件夹
5.编辑配置文件 configure ./configure --prefix=/usr/local/mtools 这一步指定了安装的目录
6.make
7.make install
完成这几步源代码就算安装成功了,注意这种方法适合大多数源代码程序,如果用这种方法不能安装,请进入源代码解压缩后的目录,察看readme文档,一般都回有详细的说明的
相关文章推荐
- Linux下软件安装方法总结
- linux下软件安装方法总结
- Linux下软件安装方法总结:
- Linux下软件安装方法总结
- Linux下软件安装方法总结
- Linux下软件安装方法总结
- linux下软件安装方法总结
- Linux下软件安装方法总结
- Linux下软件安装方法总结
- Linux下软件安装方法总结
- linux中软件安装方法总结
- Linux通过源代码安装软件的方法介绍
- swftools在linux环境下的安装与所遇问题的解决方法(总结精华)
- linux下软件安装方法总结
- Linux下软件安装方法总结
- Linux下软件安装方法总结
- Linux软件安装方法总结
- linux下软件安装方法总结
- Linux下软件安装方法总结
- Linux下软件安装方法总结