How to Install wget on Linux
Posted on January 23, 2021 (Last modified on July 14, 2022) • 2 min read • 228 wordsIn this tutorial we learn how to install wget in various Linux distribution mainly CentOS and Ubuntu Linux. wget is a CLI based downloader.
In this tutorial we learn how to install wget
in various Linux distribution. wget
is one of the most famous downloader in Linux. Almost all Linux users should know and familiar with basic usage of wget.
To install wget on CentOS 6 / 7 / 8 you can use command below
sudo yum install wget
```bash
In CentOS 8 you can also use `dnf` command to install `wget`.
```bash
sudo dnf install wget
You can test wget command by checking it’s version
wget --version
```bash
Sample wget version detail in CentOS 7<figure class="wp-block-image size-large">
<img loading="lazy" width="586" height="400" src="https://www.howtodojo.com/wp-content/uploads/2021/01/install-wget-centos-7-check-version-586x400.png" alt="Install wget centos - check wget version" class="wp-image-1850" /> </figure>
## Install wget on Ubuntu / Debian / Linux Mint {#h-install-wget-on-ubuntu-debian-linux-mint}
To install `wget` on Ubuntu Linux or Debian or another Debian or Ubuntu derived distribution you can use command below
```bash
sudo apt-get install wget
or you can also use apt
command instead of apt-get
sudo apt install wget
```bash
## Summary {#h-summary}
In this tutorial we learn how to install `wget` on CentOS. This method of installing wget can also be applied on RHEL / Oracle Linux / Fedora system.
After that we learn how to install `wget` on Ubuntu Linux. This one applies on `.deb` based system like Debian itself and also Linux Mint.