Quantcast
Channel: Tech-Info » mac osx
Viewing all articles
Browse latest Browse all 2

Installing wget on your Mac

0
0

The first step is to download the source code. Head over to the offical site and download the code directly. Once as you have downloaded the package unzip it. There will be a lots of funky files and folders. Thankfully we don’t have to deal with any of them. Open up Terminal and navigate to the folder wget is extracted in. For example:

cd ~/desktop/Script/wget-1.9.1

We know need to configure the package for your computer and install it. This is done slightly differently to normal packages and folders you may experience. In Terminal again type the following:

./configure

This will configure the packages and files for your computer. Then type:

make

This will make the files into a single binary file for use on your computer. Finally type:

sudo make install

This will copy the binary file into the correct location on your computer. Since the folder wget will copy into is a protected system folder, you will have to use the sudo command and an administrator password.

You have successfully installed wget. For example you can use wget to download zip files using the following command in Terminal.

wget http://www.file.com/location/file.zip


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images