Wget-1.25.0

Introduction to Wget

The Wget package contains a utility useful for non-interactive downloading of files from the Web. It is used in pages in this book, BLFS, and SLFS that lump packages together, like downloading Xorg or KDE packages, or when a package depends on a wealth of submodules.

Wget Dependencies

Recommended

Recommended at runtime

Optional

GnuTLS-3.8.10, libidn2-2.3.8, libunistring-1.3, and pcre2-10.45

Installation of Wget

Install Wget by running the following commands:

./configure --prefix=/usr      \
            --sysconfdir=/etc  \
            --with-ssl=openssl &&

make

Now, as the root user:

make install

Command Explanations

[Note]

Note

Run ./configure --help for a full list of options.

--sysconfdir=/etc: This relocates the configuration file from /usr/etc to /etc.

--with-ssl=openssl: This allows the program to use openssl instead of GnuTLS.

Configuring Wget

Config Files

/etc/wgetrc and ~/.wgetrc

Contents

Installed Program: wget
Installed Libraries: None
Installed Directories: None

Short Descriptions

wget

retrieves files from the Web using the HTTP, HTTPS and FTP protocols. It is designed to be non-interactive, for background or unattended operations