#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-491

### Chapter 17. Networking Libraries

- Prev

  libpcap-1.10.6

- Next

  libslirp-4.9.1

- Up
- Home

# libpsl-0.21.5

## Introduction to libpsl

The libpsl package provides a library for accessing and resolving information from the Public Suffix List (PSL). The PSL is a set of domain names beyond the standard suffixes, such as .com.

### Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

### Package Information

- Download (HTTP): https://github.com/rockdaboot/libpsl/releases/download/0.21.5/libpsl-0.21.5.tar.gz

- Download MD5 sum: 870a798ee9860b6e77896548428dba7b

- Download size: 7.3 MB

- Estimated disk space required: 50 MB

- Estimated build time: less than 0.1 SBU (including tests)

### libpsl Dependencies

#### Recommended

libidn2-2.3.8 and libunistring-1.4.2

#### Optional

GTK-Doc-1.36.1 (for documentation), ICU-78.3 (may be used instead of libidn2), libidn-1.43 (may be used instead of libidn2), Valgrind-3.26.0 (for tests)

## Installation of libpsl

Install libpsl by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup --prefix=/usr --buildtype=release &&

    ninja

To test the results, issue: ninja test.

Now, as the `root` user:

    ninja install

## Command Explanations

`--buildtype=release`: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

## Contents

Installed Program: psl
Installed Library: libpsl.so
Installed Directories: None

### Short Descriptions

psl | queries the Public Suffix List
`libpsl.so` | contains a library used to access the Public Suffix List

- Prev

  libpcap-1.10.6

- Next

  libslirp-4.9.1

- Up
- Home