How to install wget on RHEL/CentOS 6/7/8 using yum

A note about Fedora Linux users
Use the following dnf command to install wget on Fedora 24:

# sudo dnf install wget

How to install wget on CentOS 7 or RHEL 6

# sudo yum install wget

Installing wget on CentOS 8 or RHEL 8
Again use the same command:

# sudo yum install wget