yum install安装wget,使用wget时: command not found

1、yum remove wget卸载
2、yum update && yum upgrade
3、下载wget的RPM包:http://mirrors.163.com/centos/7/os/x86_64/Packages/wget-1.14-18.el7_6.1.x86_64.rpm
4、rpm -ivh wget-1.14-18.el7_6.1.x86_64.rpm

CentOS可通过yum provides查找对应软件包:
yum provides wget
(https://mirrors.ustc.edu.cn/gnu/wget/wget-1.19.1.tar.gz 可下载压缩包)

相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页