In this tutorial, I’ll discuss how to install Wget package on a CentOS system. In most of the cases, this utility comes preinstalled. However, as you are in this tutorial, I’m sure that you’ve got an error saying: “wget command not found.”
Wget is a Linux command-line utility that can download the files to your system from the web with a ‘wget’ command. The utility can download the files that are served with an FTP, HTTP, or HTTPS protocol.
However, If you need to upgrade or buy a new VPS, read how to set up the most affordable VPS. Also, I recommend Contabo as they provide the most affordable virtual machines with an exemplary configuration and service.
Let’s get the right to install Wget utility on your CentOS system and fix the “wget command not found” problem.
Installing Wget on CentOS
Run the following command:
sudo yum install wget
It will ask your permission to install the package: type y and press enter.
You’ve installed the Wget utility package on your CentOS system.
If you want to improve your CentOS system’s stability by adding a swap partition when it runs out of the physical memory, read how to create a swap partition on CentOS.