wget: command not found的两种解决方案
2017-06-20 14:44
344 查看
今天安装了centos6.4,wget发现报错command not found,是因为没有安装wget软件包。
一般linux最小化安装时,wget不会默认被安装。
可以通过以下两种方法来安装:
1、rpm 安装
rpm 下载源地址:http://mirrors.163.com/centos/6.4/os/x86_64/Packages/
下载wget的RPM包:
安装即可。
如果客户端用的是SecureCRT,linux下没装rzsz 包时,rz无法上传文件怎么办?我想到的是安装另一个SSH客户端:SSH Secure Shell。然后传到服务器上安装,这个比较费劲,所以推荐用第二种方法,不过如果yum包也没有安装的话,那就只能用这种方法了。
2、yum安装
第二种方法更简单些!!
一般linux最小化安装时,wget不会默认被安装。
可以通过以下两种方法来安装:
1、rpm 安装
rpm 下载源地址:http://mirrors.163.com/centos/6.4/os/x86_64/Packages/
下载wget的RPM包:
wget http://mirrors.163.com/centos/6.4/os/x86_64/Packages/wget-1.12-1.4.el6.x86_64.rpm rpm ivh wget-1.12-1.4.el6.x86_64.rpm
安装即可。
如果客户端用的是SecureCRT,linux下没装rzsz 包时,rz无法上传文件怎么办?我想到的是安装另一个SSH客户端:SSH Secure Shell。然后传到服务器上安装,这个比较费劲,所以推荐用第二种方法,不过如果yum包也没有安装的话,那就只能用这种方法了。
2、yum安装
yum -y install wget
第二种方法更简单些!!
相关文章推荐
- wget: command not found的两种解决方案
- wget: command not found的两种解决方案
- -bash: wget: command not found的两种解决方法
- -bash: wget: command not found的两种解决方法
- 两种方法解决Linux wget报错-bash: wget command not found
- -bash: wget: command not found 解决方案
- centos7执行 wget命令: command not found的两种解决方法
- centos7执行 wget命令: command not found的两种解决方法
- Linux常见问题系列(3)-bash: wget: command not found的两种解决方法
- wget: command not found的解决方案
- 【Linux】wget: command not found的两种解决方法
- wget: command not found的两 4000 种解决方案
- wget: command not found的两种解决方
- wget: command not found 解决方案
- 【Linux】wget: command not found的两种解决方法
- [转]-bash: wget: command not found的两种解决方法
- -bash: wget: command not found的两种解决方法
- -bash: wget: command not found的两种解决方法
- 【Linux】wget: command not found的两种解决方法
- centos7执行 wget命令: command not found的两种解决方法