用于linux源码安装软件,一般下载源码包得到文件:xxxx.tgz
====================================
1、解包软件
tar zxf xxxx.tgz
====================================
2、配置
cd xxxx
./configure --prefix=/usr/local/supersparrow
====================================
3、编译
make
====================================
4、安装
make install
====================================
5、卸载
make uninstall
====================================
[color=red][b]./configure --prefix= 后跟着的是软件安装的路径[/b][/color]
参考:[url]https://zhidao.baidu.com/question/873571868982546612.html[/url]
====================================
1、解包软件
tar zxf xxxx.tgz
====================================
2、配置
cd xxxx
./configure --prefix=/usr/local/supersparrow
====================================
3、编译
make
====================================
4、安装
make install
====================================
5、卸载
make uninstall
====================================
[color=red][b]./configure --prefix= 后跟着的是软件安装的路径[/b][/color]
参考:[url]https://zhidao.baidu.com/question/873571868982546612.html[/url]
本文介绍了在Linux环境下从源码安装软件的一般流程,包括解压、配置、编译、安装及卸载等步骤,并提供了具体的命令示例。
116

被折叠的 条评论
为什么被折叠?



