What’s wget?
Wget is a free and open source software tool widely used for retrieving files from the internet using well known protocols like HTTP, HTTPS and also FTP.
How to install wget on CentOS 7
The installation of “wget” on CentOS 7 is really an easy task when using YUM, you can use the following CLI command:
yum install wget
wget installation log
[root@centos7 ~]# yum install wget
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink | 53 kB 00:00:00
* base: mirror-centos-jpa.hostdime.com.br
* epel: epel.mirror.constant.com
* extras: mirror-centos-jpa.hostdime.com.br
* remi-safe: repo1.ash.innoscale.net
* updates: mirror.espoch.edu.ec
base | 3.6 kB 00:00:00
epel | 5.3 kB 00:00:00
extras | 2.9 kB 00:00:00
remi-safe | 3.0 kB 00:00:00
updates | 2.9 kB 00:00:00
(1/5): extras/7/x86_64/primary_db | 164 kB 00:00:15
(2/5): updates/7/x86_64/primary_db | 6.7 MB 00:00:17
(3/5): epel/x86_64/updateinfo | 1.0 MB 00:00:17
(4/5): remi-safe/primary_db | 1.7 MB 00:00:17
(5/5): epel/x86_64/primary_db | 6.7 MB 00:00:28
Resolving Dependencies
--> Running transaction check
---> Package wget.x86_64 0:1.14-18.el7_6.1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================
Package Arch Version Repository Size
==================================================================================================
Installing:
wget x86_64 1.14-18.el7_6.1 base 547 k
Transaction Summary
==================================================================================================
Install 1 Package
Total download size: 547 k
Installed size: 2.0 M
Is this ok [y/d/N]: y
Downloading packages:
wget-1.14-18.el7_6.1.x86_64.rpm | 547 kB 00:00:15
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : wget-1.14-18.el7_6.1.x86_64 1/1
Verifying : wget-1.14-18.el7_6.1.x86_64 1/1
Installed:
wget.x86_64 0:1.14-18.el7_6.1
Complete!