In this article, we cover how to install Wget in AlmaLinux 9. Wget needs no introduction. It is used to retrieve files from servers through protocols: FTP, FTPS, HTTP, and HTTPS. Furthermore, in AlmaLinux, the package is available through appstream repository.
With the help of Wget, we can resume interrupted downloads. It has the functionality that supports background downloads even when we have been logged out.
Note: Following operations require administrative rights. If you don’t have the required rights then we advise you to contact your System Administrator for assistance.
Install Wget in AlmaLinux 9
As already covered, the package is a part of appstream repository. Therefore, just open a terminal and issue the following command:
# dnf install wget
It displays the number of packages and dependencies that get installed, which in this case, is one (the wget itself). Package download and installation size. If you are ok with the information provided, Press y to install.
That is everything we have to do to install Wget.
In conclusion, wget is quite useful if we intend to fetch files from the servers using commonly used protocols like HTTP, HTTPS, FTP, and FTPS.
This has happened to most of us. We are in the middle of downloading a huge file and for some reason, the network gets interrupted. And, there is no option to resume downloading the file. We just to start downloading it from scratch.
That just means our network resources and time both have been wasted. Quite a common issue. Most of us would use an external downloader application to download or retrieve the file.
But, with Wget, we don’t require a third-party application. Just use the option -c to resume the downloads. And, it would begin downloading the rest of the file.
wget -c "<url>"