How to Install Wget in Linux

In this article, you will learn how to install wget non-interactive network downloader in Linux. Wget is a tool developed by the GNU project used for retrieving or downloading files from web or FTP servers.

The command downloads files that are served with FTP, HTTP or HTTPS protocol. It’s an amalgamation of the words World Wide Web and the word get to form wget. It’s used in Unix/Linux systems to download files and packages on the terminal.

Install wget on Ubuntu/Debian

To install wget on Ubuntu/Debian distros, log in via SSH as root and run the command.

# apt-get install wget
Install Wget in Debian and Ubuntu
Install Wget in Debian and Ubuntu

To confirm the installation of the wget tool, run the command.

# dpkg -l | grep wget
Confirm Wget Installation on Debian and Ubuntu
Confirm Wget Installation on Debian and Ubuntu

Alternatively, you can check its version by running.

# wget --version
Check Wget Version
Check Wget Version

Install wget on RHEL / CentOS / Fedora

To install wget on RHEL, CentOS and Fedora distros, log in via SSH as root and run the command.

# yum install wget
Install Wget in CentOS, RHEL and Fedora
Install Wget in CentOS, RHEL and Fedora

To confirm the installation, run the command.

# rpm -qa | grep wget
Confirm Wget Installation on CentOS
Confirm Wget Installation on CentOS

Install wget on OpenSUSE

On OpenSUSE, install wget by running.

# zypper install wget
Install Wget on OpenSUSE
Install Wget on OpenSUSE

To confirm the installation run.

# zypper se wget
Confirm Wget Installation on OpenSUSE
Confirm Wget Installation on OpenSUSE

Install wget on ArchLinux

On ArchLinux, install wget by running the command.

# pacman -Sy wget
Install Wget in Arch Linux
Install Wget in Arch Linux

To check if wget is installed and print more information about the tool run.

# pacman -Qi wget
Confirm Wget Installation on Arch Linux
Confirm Wget Installation on Arch Linux

To know more about wget usage and examples, I suggest you read our following articles that explain how you can use wget command-line utility for downloading files from the web.

  1. 10 Wget (Linux File Downloader) Command Examples in Linux
  2. How to Limit File Download Speed Using Wget in Linux
  3. How to Download Files to Specific Directory Using Wget
  4. How to Rename File While Downloading with Wget in Linux

And with that, we have come to the end of this article. In this tutorial, you learned how to install wget in different Linux distributions.

James Kiarie
This is James, a certified Linux administrator and a tech enthusiast who loves keeping in touch with emerging trends in the tech world. When I'm not running commands on the terminal, I'm taking listening to some cool music. taking a casual stroll or watching a nice movie.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

1 thought on “How to Install Wget in Linux”

Got something to say? Join the discussion.

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.