#### Beyond Linux® From Scratch (systemd Edition) - Version 11.1

### Chapter 17. Networking Libraries

- Prev

  libpcap-1.10.1

- Next

  libndp-1.8

- Up
- Home

# libpsl-0.21.1

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

This package is known to build and work properly using an LFS-11.1 platform.

### Package Information

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

- Download MD5 sum: ad40b970dcb5117d559b62a1e0d8d827

- Download size: 8.8 MB

- Estimated disk space required: 54 MB

- Estimated build time: 0.1 SBU (including tests)

### libpsl Dependencies

#### Required

libidn2-2.3.2

#### Optional

GTK-Doc-1.33.2 (for documentation) and Valgrind-3.18.1 (for tests)

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libpsl

## Installation of libpsl

Install libpsl by running the following commands:

    sed -i 's/env python/&3/' src/psl-make-dafsa &&
    ./configure --prefix=/usr --disable-static       &&
    make

To test the results, issue: make check.

Now, as the `root` user:

    make install

## Command Explanations

sed -i ...: This command forces the use of Python 3 in an utility.

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

Last updated on

- Prev

  libpcap-1.10.1

- Next

  libndp-1.8

- Up
- Home