# First we use curl to get the tar
curl -O http://ftp.gnu.org/gnu/wget/wget-1.13.4.tar.gz
# Untar
tar -xzf wget-1.13.4.tar.gz
# Change 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 it
make
# Now install it (admin rights required)
sudo make install
# Check if it worked
wget --help
# Everything ok? now delete source files
cd .. && rm -rf wget*
Via: osxdaily
2 Responses
The double && is used to run a second command without having to press enter two times, you sort of concatenate the commands to be executed.
Hope it clarifies something.
Write a comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.