您的位置:首页 > 运维架构 > Linux

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

2021-06-20 15:09 555 查看

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


@

目录


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

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: