How to install wget on CentOS 8 using the yum/dnf command

Originally published at: https://www.cyberciti.biz/faq/how-to-install-wget-on-centos-8-using-the-yum-dnf-command/

I am a new CentOS Enterprise Linux 8 user. How do I install wget on CentOS 8 using the or ?