When you are a Linux user, you are so familiar to wget command. In simple words, it is a command to download file from a given URL and port. Most Linux users and some windows users are familiar to this handy command download tool and on most Linux distributions it is pre-installed, but on Max OSX it is not installed and Apple does not offer it in AppStore, so the suer should install it manually, which is so straightforward, fast and easy.
In this tutorial I want to describe how to install wget on Mac OS X.
Wget is an open source file download tool for both Windows, Linux and Mac OS. It can continue get a partially downloaded file which is called breakpoint resume. This article will tell you how to install wget on mac os x and how to use it to implement file download breakpoint resume to continue download a partially download file. Wget is an open source file download tool for both Windows, Linux and Mac OS. It can continue get a partially downloaded file which is called breakpoint resume. This article will tell you how to install wget on mac os x and how to use it to implement file download breakpoint resume to continue download a partially download file.
Thing we will go through in this tutorial:
- Download the last version of wget
- Make the downloaded package ready
- Installation process
Things you need to have installed on your Mac OSx:
- Have C compiler inorder to compile he wget source code which you can have it installed via installing xCode. (For more info, check out the comments)
1. Download the last version of wget
We are going to use the official download location of wget. Go to the link below and download the latest version of wget in .tar.gz format:
2. Make the downloaded package ready
This step is also easy, we should extract the .tar.gz file and that’s it ? (In this tutorial i’m going to use the wget-1.14.tar.gz which is the latest version at the moment of writing this article)
3. Installation process
When you extract the downloaded file with the command above, a directory will automatically been created near the .tar.gz file with similar name, so we should go in that directory:
Then we should run the configuration file with the desired options:
Now it is the time to start the automated compiling and installation by using the following commands:
The sudo which is in front of the command above will ask you the administration password, so the installation be able to proceed.
Wget Mac Os X Downloads
By now the wget should be successfully installed on you Mac, however you can simply check if the installation was successful or not by asking the Mac to show the help of wget:
Wget For Mac Os
If you see the help document, then the wget is perfectly installed. Now that everything is done correctly, it’s time to cleanup the mess :D. use the following commands to remove unnecessary files and folders:
This is driving me nuts... Whenever I try to use wget for some sort of mirroring type recursive download, it just downloads the specified url and quits if I give it ANY arguments with comma separated lists. If I don't give it any lists, it works, but since I couldn't give it a list, it doesn't do what I want. I even suspected a bug with version 1.5.3 (which is included with OS X,) so I downloaded version 1.6 and compiled it. I still didn't have any luck. Can some wget expert point me in the right direction? What am I doing wrong?