顺序执行命令:
wget http://ftp.gnu.org/gnu/shtool/shtool-2.0.8.tar.gz
tar -zxvf shtool-2.0.8.tar.gz
cd shtool-2.0.8/
rm -f ../shtool-2.0.8.tar.gz
./configure
make
make test
make install
验证是否安装成功:
[root@localhost shtool-2.0.8]# shtool platform
centos 7.9.2009 (AMD64)