首页 > 其他 > 详细

-bash: wget: command not found的两种解决方法

时间:2015-03-07 15:29:48      阅读:257      评论:0      收藏:0      [点我收藏+]

今天给服务器安装新环境时,wget 时提示 -bash:wget command not found,很明显没有安装wget软件包。一般linux最小化安装时,wget不会默认被安装,这里是CentOS 6.5 64位系统

解决方法:

1、rpm 安装

下载wget的RPM包:

rpm ivh wget-1.12-1.4.el6.i686.rpm 安装即可;64位当然选择wget-1.12-1.4.el6.x86_64.rpm了

2、yum安装
yum -y install wget

即可安装;

-bash: wget: command not found的两种解决方法

原文:http://www.cnblogs.com/yangxia-test/p/4320347.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!