To install wget on CentOS 8/9 using the yum/dnf command, use the following command:
sudo dnf install wget
You may need to run sudo dnf update
before running the above command to ensure that you have the latest package list.
You can also use yum instead of dnf.
sudo yum install wget
After installation you can use wget
command to download files from internet.