How to Install wget on RHEL 6

Share this Article :

Symptoms :
When i try to download the software package using wget command, i get the following error :

    -bash: wget: command not found
    

Solutions :
wget command does not exist on your Redhat Enterprise Linux 6 (RHEL 6) Linux server. 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 RHEL 6 server. Assumed that you have set up local yum repository using your DVDrom. If you haven’t set up the local yum repository, please proceed to this steps ;

How to Setup Local Yum Repository from CD-ROM/DVD-ROM image on RHEL 6

    [[email protected] ~]# yum install wget -y
    Loaded plugins: rhnplugin
    This system is not registered with RHN.
    RHN support will be disabled.
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package wget.i686 0:1.12-1.4.el6 set to be updated
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ====================================================================================================
     Package          Arch             Version                   Repository                        Size
    ====================================================================================================
    Installing:
     wget             i686             1.12-1.4.el6              DVD-RHEL6-Repository             481 k
    
    Transaction Summary
    ====================================================================================================
    Install       1 Package(s)
    Upgrade       0 Package(s)
    
    Total download size: 481 k
    Installed size: 1.8 M
    Downloading Packages:
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Installing     : wget-1.12-1.4.el6.i686                                                       1/1
    
    Installed:
      wget.i686 0:1.12-1.4.el6
    
    Complete!
    

Leave a Reply