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 12.1 platform.

Package Information

libpsl Dependencies


libidn2-2.3.7 and libunistring-1.1


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

Installation of libpsl

Install libpsl by running the following commands:

mkdir build &&
cd    build &&

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


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.


Installed Program: psl
Installed Library:
Installed Directories: None

Short Descriptions


queries the Public Suffix List

contains a library used to access the Public Suffix List