Offer

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

在这里插入图片描述

posted @ 2021-06-20 15:09  Empirefree  阅读(1655)  评论(0编辑  收藏  举报