How to Install wget on RHEL 6

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 ;

READ  How to Install and Configure Bind Chroot DNS Server on CentOS 6.4 VPS

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

    [root@rhel6 ~]# 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
     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
      wget.i686 0:1.12-1.4.el6

Leave a Reply

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

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>