Get ‘wget’ from ‘curl’

HomeDocs >

First, use curl to download the latest wget source:

curl -O

Next we use tar to uncompress the files you just downloaded:

tar -xzf wget-1.13.4.tar.gz

Use cd to change to the directory:

cd wget-1.13.4

Configure with the appropriate –with-ssl flag to prevent a “GNUTLS not available” error:

./configure --with-ssl=openssl

Build the source:


Install wget, it ends up in /usr/local/bin/:

sudo make install

Confirm everything worked by running wget:

wget --help

Clean up by removing wget source files when finished:

cd .. && rm -rf wget*

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.