centos7.6离线升级make

1.下载make压缩包
make下载地址

2.上传make包后,解压:

tar -xzvf make-4.3.tar.gz

3.安装:

cd make-4.3/
./configure --prefix=/usr/local/make
make
make install

4.备份:

cd /usr/bin/
mv make make.bak

5.创建软连接:

ln -sv /usr/local/make/bin/make /usr/bin/make

最后测试:

make --version

最好同时升级ncurses-5.6.tar.gz:

wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz

解压:

tar zxvf ncurses-5.6.tar.gz

创建build目录:

cd ncurses-5.6
mkdir build
cd build

配置安装:

../configure -prefix=/usr/local -with-shared -without-debug
make
make install

你可能感兴趣的:(linux)