{"id":1934,"date":"2012-02-11T17:13:10","date_gmt":"2012-02-11T09:13:10","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=1934"},"modified":"2023-04-28T09:49:56","modified_gmt":"2023-04-28T09:49:56","slug":"how-to-install-wget-on-rhel-6","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-install-wget-on-rhel-6\/","title":{"rendered":"How to Install wget on RHEL 6"},"content":{"rendered":"<p>wget is a command-line tool used for downloading files from the internet. RHEL 6 is a version of the Red Hat Enterprise Linux operating system that is still in use in some environments. In this guide, we will show you how to install wget on RHEL 6.<\/p>\n<h2>Step 1: Check if wget is already installed<\/h2>\n<p>The first step is to check if wget is already installed on your system. Run the following command in your terminal:<\/p>\n<pre>wget<\/pre>\n<p>If wget is already installed, you will see a message that says &#8220;wget: missing URL&#8221;. If wget is not installed, you will see an error message.<\/p>\n<pre class=\"code\">\r\n-bash: wget: command not found\r\n<\/pre>\n<h2>Step 2: Enable the EPEL Repository<\/h2>\n<p>wget is not included in the default RHEL 6 repository, so you need to enable the EPEL (Extra Packages for Enterprise Linux) repository. Run the following command:<\/p>\n<pre>sudo rpm -Uvh https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-6.noarch.rpm<\/pre>\n<p>This command will download and install the EPEL repository.<\/p>\n<h2>Step 3: Install wget<\/h2>\n<p>Now, you can install wget using the following command:<\/p>\n<pre>sudo yum install wget<\/pre>\n<p>This command will download and install wget and any dependencies it requires.<\/p>\n<pre class=\"code\">\r\n[root@rhel6 ~]# yum install wget -y\r\nLoaded plugins: rhnplugin\r\nThis system is not registered with RHN.\r\nRHN support will be disabled.\r\nSetting up Install Process\r\nResolving Dependencies\r\n--> Running transaction check\r\n---> Package wget.i686 0:1.12-1.4.el6 set to be updated\r\n--> Finished Dependency Resolution\r\n\r\nDependencies Resolved\r\n\r\n====================================================================================================\r\n Package          Arch             Version                   Repository                        Size\r\n====================================================================================================\r\nInstalling:\r\n wget             i686             1.12-1.4.el6              DVD-RHEL6-Repository             481 k\r\n\r\nTransaction Summary\r\n====================================================================================================\r\nInstall       1 Package(s)\r\nUpgrade       0 Package(s)\r\n\r\nTotal download size: 481 k\r\nInstalled size: 1.8 M\r\nDownloading Packages:\r\nRunning rpm_check_debug\r\nRunning Transaction Test\r\nTransaction Test Succeeded\r\nRunning Transaction\r\n  Installing     : wget-1.12-1.4.el6.i686                                                       1\/1\r\n\r\nInstalled:\r\n  wget.i686 0:1.12-1.4.el6\r\n\r\nComplete!\r\n<\/pre>\n<h2>Step 4: Verify the Installation<\/h2>\n<p>Once the installation is complete, you can verify that wget is installed by running the following command:<\/p>\n<pre>wget --version<\/pre>\n<p>This command will display the version of wget that is installed on your system.<\/p>\n<h2>Commands Mentioned:<\/h2>\n<ul>\n<li><span class=\"fw-bold\">wget<\/span> &#8211; Check if wget is installed<\/li>\n<li><span class=\"fw-bold\">sudo rpm -Uvh https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-6.noarch.rpm<\/span> &#8211; Enable the EPEL repository<\/li>\n<li><span class=\"fw-bold\">sudo yum install wget<\/span> &#8211; Install wget<\/li>\n<li><span class=\"fw-bold\">wget &#8211;version<\/span> &#8211; Verify the installation<\/li>\n<\/ul>\n<h2>Conclusion<\/h2>\n<p>In this guide, we have shown you how to install wget on RHEL 6. By following these steps, you can download files from the internet using the wget command-line tool. We hope this guide has been helpful to you. If you have any comments or suggestions for improvements, please feel free to share them below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>wget is a command-line tool used for downloading files from the internet. RHEL 6 is a version of the Red Hat Enterprise Linux operating system that is still in use&#8230;<\/p>\n","protected":false},"author":6,"featured_media":1499,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[2058],"tags":[1536,1546,1713,1715,1873,1924],"class_list":["post-1934","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-rhel","tag-linux","tag-linux-utilities","tag-rhel","tag-rhel-6","tag-utilities","tag-wget"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/1934","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=1934"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/1934\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/1499"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=1934"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=1934"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=1934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}