How to Install wget on CentOS 5.7

If your CentOS 5.7 server has been installed with minimal installation, wget command will not exist. Wget is a free network utility for linux to download files from the Web. Therefore, there is simple step to install the wget command utility into your CentOS 5.7 server.

When i try to download the webmin, i got this error:

[root@CentOS57 ~]# wget
-bash: wget: command not found

Simply run this command to install wget

[root@CentOS57 ~]# yum install wget
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base:
 * extras:
 * updates:
base                                                                         | 1.1 kB     00:00
extras                                                                       | 2.1 kB     00:00
updates                                                                      | 1.9 kB     00:00
updates/primary_db                                                           | 480 kB     00:03
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package wget.i386 0:1.11.4-2.el5_4.1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

 Package             Arch                Version                          Repository           Size
 wget                i386                1.11.4-2.el5_4.1                 base                582 k

Transaction Summary
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 582 k
Is this ok [y/N]: y
Downloading Packages:
wget-1.11.4-2.el5_4.1.i386.rpm                                               | 582 kB     00:04
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : wget                                                                         1/1

  wget.i386 0:1.11.4-2.el5_4.1

Leave a Reply

Your email address will not be published. Required fields are marked *

A world leading hosting company that provides fully-managed innovative and secure solutions, suitable for hosting small to medium-sized websites

Built on the best available technologies combined with Google Cloud for strong redundancy and application availability. Backed by skilled experts to address web security threats, a devops team to create advanced custom security solutions, and 24/7 sysadmins to watch over the platform. This powerful, hands-on approach makes your sites faster, safer, and easier to manage. Starting from only $3.95/mo.


* up to 30 days money back guarantee