Linux软件安装
编译:
./configure --prefix=/usr/
make
sudo make install
清理:
make clean
make distclean
升级软件:
查询当前版本:
rpm -qf /usr/bin/autoconf
卸载当前版本:
rpm -e --nodeps autoconf-2.63
安装最新版本:
wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
tar zxvf autoconf-2.69.tar.gz
cd autoconf-2.69
./configure --prefix=/usr/
make && make install
查看当前版本:
/usr/bin/autoconf -V
参考:
http://blog.51cto.com/332532/1897299
./configure --prefix=/usr/
make
sudo make install
清理:
make clean
make distclean
升级软件:
查询当前版本:
rpm -qf /usr/bin/autoconf
卸载当前版本:
rpm -e --nodeps autoconf-2.63
安装最新版本:
wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
tar zxvf autoconf-2.69.tar.gz
cd autoconf-2.69
./configure --prefix=/usr/
make && make install
查看当前版本:
/usr/bin/autoconf -V
参考:
http://blog.51cto.com/332532/1897299
评论
发表评论