wget (Under construction)

Command line utility to retrieve files from the World Wide Web using HTTP and FTP



Needs perl :-(
Otherwise straightforward, follow the instructions in INSTALL. for example:
          # AIX, native cc
configure --prefix=/tmp/wget-1.10.2 CC=cc CFLAGS="-O2 -D_LARGE_FILES" --with-libssl-prefix=/nfs/bio/local.AIX/53/openssl-1.0.0d --disable-rpath
make install  # goes into /tmp/wget-1.10.2
The unnecessary dependency on perl creates a bug: only /usr/local/bin/, not PATH is searched for the interpreter. If this is not what you want, use
find ./ -name Makefile
to locate all Makefiles and change the PERL assignment to the desired loacation.

Potential problem (hardcoded path) ?:

-DSYSTEM_WGETRC=\"/tmp/wget-1.10.2/etc/wgetrc\" -DLOCALEDIR=\"/tmp/wget-1.10.2/share/locale\"


          # AIX 5.3, C 8.0 
configure PERL=/usr/bin/perl CC=cc CFLAGS="-O2 -D_LARGE_FILES -I/nfs/bio/local.AIX/53/openssl-1.0.0d/include" --with-ssl=openssl LDFLAGS="-L/nfs/bio/local.AIX/53/openssl-1.0.0d/lib" --disable-rpath --prefix=/tmp/wget-1.12-2504


          # AIX 6.1/7.1, C 9.0/12.1 
configure --prefix=/tmp/wget-1.14 PERL=/usr/bin/perl CC=cc CFLAGS="-O2 -D_LARGE_FILES -qcpluscmt -I/bio/local/../61/openssl-1.0.1e/include" --with-ssl=openssl --enable-threads=posix LDFLAGS="-L/bio/local/../61/lib" --disable-rpath
configure --prefix=/tmp/wget-1.14 PERL=/usr/bin/perl CC=cc CFLAGS="-O2 -D_LARGE_FILES -qcpluscmt -I/nfs/local/71/openssl-1.0.1e/include"    --with-ssl=openssl --enable-threads=posix LDFLAGS="-L/nfs/local/71/lib"    --disable-rpath

make install
Note: seems best to always start from a freshly unpacked source.


One may use the environment variable WGETRC to point to the configuration file at runtime.

Usage examples

        # mirror a secure site, bypassing certificate checking
   wget -m -e robots=off --no-parent --no-check-certificate https://user:password@host/dir/

Last update: 3-Apr-2014, M.Kraemer

Impressum Data privacy protection