centos7执行 wget命令: command not found的两种解决方法

1、rpm 安装

下载wget的RPM包:

http://mirrors.163.com/centos/6.8/os/x86_64/Packages/wget-1.12-8.el6.x86_64.rpm

执行

rpm -ivh wget-1.12-8.el6.x86_64.rpm 
2、yum安装

yum -y install wget

猜你喜欢

转载自blog.csdn.net/LLnobug/article/details/82563094