How to Install and Use wget

wget is a non-interactive downloader. Using wget, you can download files directly to your server or hosting account.

For example, let's say you want to install cPanel on your server. You would normally go to:

and download the latest install to your desktop. You would then have to open your FTP client and upload the file to your server.

wget cuts your time in half by allowing you to directly download the file to your server.

Install wget

[1] See if wget is installed. You can do so by running this command via SSH when logged in as root:

which wget

If wget is installed, the output of the above command should be:


If wget is not installed on your server, here are the commands to install it for CentOS/Redhat and Debian/Ubuntu when logged into your server via SSH as root:


yum install wget


sudo apt-get install wget

Using wget

Now that you have wget installed, you can issue the command to download any file that you have the URL for. You will want to make sure you're located in the directory where you're wanting to download the file to before issuing the wget command.

We were using cPanel as the example earlier, so the command would be:


And you're done!

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to clear your internet browser's cache

Each internet browser has its own way to clear its cache. There are instructions below on how to...

Securing your Wordpress blog against Hacking

Security is a growing concern with all of the hackers and script kiddies waiting to do bad things...

IPhone or iPad - Setting Up an Email Account

General Configuration [1] Tap the icon (Settings) to begin. [2] Tap 'Mail, Contacts,...

Converting a cPanel account into an addon domain under another cPanel account

One thing to consider before you proceed with converting a stand-alone cPanel account into an...


What is the difference? When you use IMAP you are accessing your inbox on your mail server. IMAP...