1 最好将 tarball 数据解压到 /usr/local/src 中 (由文件名称可以看出)
cd /usr/local/src
tar -zvxf softwareCode.tar.gz
2 每个软件都单独安装到 /usr/local/softwareName 下面 (便于反安装)
./configure --help |less (检查configure 支持的参数)
./configure --prefix=/usr/local/softwareName (指定安装路径,生产相应的makefile 文件)
make clean; make
make install
3 将该软件的man page 加入到 man path下面
vim /etc/man.config
MANPATH/usr/local/softwareName/man
linux RPM与DPKG 安装
设置源 sudo gedit /etc/apt/sources.list
sudo apt-get update 该命令只是更新了软件包列表,并没有对软件进行更新。