日期:2014-05-16  浏览次数:20587 次

linux 下安装/卸载软件

$ tar -xzvf Python-2.5.tgz

$ cd Python-2.5

$ ./configure --prefix=$(pwd) 

$ make
$ make install

 

$ make uninstall

 

usr/bin 下查看所有可启动文件的执行命令

usr/local 一般放置安装软件,prefix可指定安装路径

如:./configure –prefix=/usr/Python-2.5.tgz