① 下载源码包
② 解压缩
③ 进入解压过的目录
软件配置与检查
./configure --prefix=安装路径
编译
make
清空编译内容(非必须),如果编译出错了,我们重新编译之前需要执行该操作
make clean
安装
make install
直接把安装位置的目录删除即可。