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