I forget stuff… really!!!

wget on OS X Lion

I guess wget needs no further introduction… Too bad its not included on OS X… so here are a few steps in getting it on an OS X Lion…

1. Download the source code of the latest version of wget from


2. Once downloaded, extract it.. here i downloaded the bzip archive

tar -jxvf wget-1.13.4.tar.bz2

3. Enter the extracted folder and configure… here we tell wget to configure with openssl instead of the default gnutls which breaks upon configuration

./configure –with-ssl=openssl

4. Compile


5. Install

sudo make install

and now we have wget on OS X Lion

wisu-mbp:wget-1.13.4 wisu$ wget -V
GNU Wget 1.13.4 built on darwin11.3.0.

+digest +https +ipv6 -iri +large-file -nls +ntlm +opie +ssl/openssl

/usr/local/etc/wgetrc (system)
Compile: gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=”/usr/local/etc/wgetrc”
-DLOCALEDIR=”/usr/local/share/locale” -I. -I../lib -I../lib -O2
Link: gcc -O2 -Wall -liconv -lssl -lcrypto -lz -ldl -lz ftp-opie.o openssl.o
http-ntlm.o ../lib/libgnu.a

Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Originally written by Hrvoje Niksic <hniksic at xemacs.org>.
Please send bug reports and questions to <bug-wget at gnu.org>.

Have fun!

Powered by Wordpress | Designed by Elegant Themes