How to Install WGET in Ubuntu

By Rob Senn

The free, open-source wget command-line tool downloads content from the Web through a variety of protocols, including HTTP, secure HTTPS and FTP. Wget works in the background, even when you're not logged on, to run complicated or long download scripts without the need for user input. Wget also follows links and monitors FTP servers for updates. Wget isn't installed by default on most editions of Ubuntu, but you can add it with Ubuntu's apt-get utility.

Step 1

Start a terminal session using an account that has root access on your system.

Step 2

Update your apt-get package lists by entering the following command in the terminal:**sudo apt-get update**This ensures you download the latest version of wget.

Step 3

Install wget by entering the following command in the terminal:**sudo apt-get install wget**This downloads wget and any necessary dependencies.

Step 4

Verify that wget was downloaded properly by entering the following command:**wget --version**This returns the version and compilation information for wget if it was successfully installed. If not, repeat the process.

Tips & Warnings

  • If the installation doesn't work, Ubuntu's repositories may have gone down so try again later.