centos突然报wget、curl command not found,简单查了下,之前好像也遇到过,总结一下


Linux--wget、curl command not found解决方案 Linux--wget、curl command not found解决方案


@




1.Wget command not found
#这个解决比较简单,先删后下载即可
yum remove wget -y
yum install wget -y
wget 		   #然后就好了

Linux--wget、curl command not found解决方案

2.curl command not found
#本来也打算按上面步骤走的,结果发现不行,要下载包重新安装
wget https://curl.haxx.se/download/curl-7.56.1.tar.gz
tar xvf curl-7.56.1.tar.gz
cd curl-7.56.1/
./configure -disable-shared
make && make install
curl -V			#然后就好了

Linux--wget、curl command not found解决方案

相关文章: