centos6安装wget
时间: 2023-10-15 21:29:55 浏览: 153
对于CentOS 6安装wget,有两种方法可以选择。
方法一: 使用rpm安装
1. 下载wget的RPM包,可以从http://mirrors.163.com/centos/6.2/os/x86_64/Packages/获取。
2. 执行以下命令进行安装:rpm ivh wget-1.12-1.4.el6.x86_64.rpm
方法二: 使用yum安装
1. 执行以下命令进行安装:yum -y install wget
两种方法中,使用yum安装是比较简单和快捷的方法。如果你的系统已经配置好了yum源,直接执行yum命令即可完成安装。如果没有配置yum源,可以选择使用rpm进行安装。
<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [-bash: wget: command not found的两种解决方法](https://blog.csdn.net/keda8997110/article/details/8735735)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [CentOS系统中安装wget](https://blog.csdn.net/qq_41790332/article/details/103495840)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文