Atlantic.Net Blog

How to Install wget on CentOS 6.7 with a wget Cheat Sheet

Ray Leon
by Atlantic.Net (2posts) under Cloud Hosting
Verified and Tested 09/03/2015


In this quick and simple article, we will install wget command on a CentOS 6.7 server and we have included a wget cheat sheet. Wget is a free software package for downloading files using HTTP, HTTPS and FTP.


A CentOS 6.7 server with Root privileges. If you do no have a server, you can spin up an efficient and reliable SSD Cloud server from Atlantic.Net.

Installing wget on a CentOS 6.7

Install wget using the following command:

yum install wget

You will be asked if it is okay to install the downloaded size, you would just type yfor yes and press Enter to continue. I have a screenshot of a successful install below:

anet-How to install wget on a CentOS 6

Successful Installation of wget

Once installed, you can use it to download files or even entire web sites.

Quick wget Cheat Sheet

To download a single file from a website using the following command:


If your web page requires a username and password use the following command:

wget --user=youruser --password=yourpassword

Download a file from an ftp site using the following command:


If your ftp site requires a username and password use the following command:

wget ---ftp-user=youruser --ftp-password=yourpassword

Download and entire website using the following command:

wget -r

Download and save it in a specific path using the following command:

wget --directory-prefix=folder/nextfolder

Download a file and save it under a different name using the following command:

wget --output-document=filename.php

Resume an interrupted file download using the following command:

wget --continue

Limit download speed of a file using the following command:

wget --limit-rate=1000k

Now you have successfully installed wget and have some examples to work with! You can see the wget manual by running “wget -h”. Please check back here for more updates or to find out how to limit Root user in Centos check out our how-to here, or see below for other interesting related how-to’s.


Cloud hosting is just one of the many hosting services offered by Atlantic.Net. Contact us today for more information!

Get started with 12 months of free cloud services

Free Tier includes:
G2.1GB Cloud Server Free to Use for One Year
50 GB of Block Storage Free to Use for One Year

New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Dallas, TX

2323 Bryan Street,

Dallas, Texas 75201

United States

Ashburn, VA

1807 Michael Faraday Ct,

Reston, VA 20190

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4


London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom


We use cookies for advertising, social media and analytics purposes. Read about how we use cookies in our updated Privacy Policy. If you continue to use this site, you consent to our use of cookies and our Privacy Policy.