Wget-1.25.0

#### Gaming Linux® From Scratch - Version 13.0

### Chapter 4. Networking

- Prev

  cURL-8.18.0

- Next

  Security

- Up
- Home

# 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.

- Download: https://ftpmirror.gnu.org/gnu/wget/wget-1.25.0.tar.gz

### Wget Dependencies

Recommended
libpsl-0.21.5 and make-ca-1.16.1 (runtime)
Optional
GnuTLS-3.8.12, libidn2-2.3.8, and libunistring-1.4.1

## 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

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

- Prev

  cURL-8.18.0

- Next

  Security

- Up
- Home