How to Install Wget in Linux

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.

NEWEST POSTS

Our trusted sources

We only publish news from well-known cybercrime magazines via RSS. You will find here everything about hackers & cybercrime. Also you can visit the direct sources from us.

Just click on one of the buttons.

PROTECT YOURSELF

Check out our Guidebook page.  And read everything about it.  Also how to protect yourself from hacker attacks.  An all in one thing.