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


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


csdn csdn


@




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

在这里插入图片描述

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			#然后就好了

在这里插入图片描述


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM