Automic VaultAutomic Vault

brew

Install libpsl with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

C library for the Public Suffix List. Version 0.22.0 via Homebrew; verified 2026-06-25.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libpsl

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install libpsl

MacPorts ports tree · net/libpsl/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add libpsl

Alpine Linux edge package indexes · libpsl · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libpsl-dev

Debian stable package indexes · libpsl-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install libpsl

Fedora Rawhide package metadata · libpsl · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#libpsl

nixpkgs package indexes · pkgs/by-name/li/libpsl/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S libpsl

Arch Linux sync databases · libpsl · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libpsl-devel

openSUSE Tumbleweed package metadata · libpsl-devel · source: download.opensuse.org

overview

Package summary

C library for the Public Suffix List

Commands and aliases

  • psl
  • psl-make-dafsa

history

Project history and usage

libpsl is a C library for working with the Public Suffix List, the shared list used to decide where registrable domain boundaries sit. It gives native programs a fast way to answer questions that matter for cookies, certificates, domain display, and site grouping.

Project history

The library was created by Tim Ruehsen from libmget cookie code on 2014-03-19, according to the source changelog, and the public GitHub repository was created on 2014-03-20. The README describes libpsl as a C library that handles the Public Suffix List with built-in PSL data, file-loaded PSL data, DAFSA compression, thread safety, and IDNA support.

The Public Suffix List itself is a cross-vendor initiative maintained by Mozilla volunteers and registry submissions. libpsl packages that ecosystem for C consumers rather than trying to define suffix policy itself.

Adoption history

libpsl's adoption comes from web-client and network-client needs: software must avoid supercookies, reject overbroad certificate or domain assumptions, and group sites by registrable domain. The Public Suffix List page names browsers, Qt, crawler libraries, certificate-authority workflows, and security tooling as users of PSL data.

Package managers carry libpsl because many lower-level network tools need PSL behavior without embedding their own parser. Homebrew, Debian-family systems, Fedora, MacPorts, Nix, Arch, Alpine, and openSUSE all appear in the package metadata for this batch.

How it is used

Developers use libpsl through the C API to test whether a domain is a public suffix, verify cookie-domain acceptability, find public or private domain portions, or load updated PSL data. The package also ships the `psl` command and `psl-make-dafsa` for command-line inspection and compressed list generation.

Why package nerds care

libpsl is package-nerd significant because it is tiny infrastructure with security consequences. A stale or missing PSL layer can allow cookie scoping mistakes or bad domain-boundary assumptions, while a shared library lets distributions update the logic and data path centrally.

Its build and packaging details are also unusually nerdy: the README separates libpsl releases from PSL data updates, supports both autotools and Meson, and uses DAFSA compression to shrink lookup data for fast native access.

Timeline

  • 2014-03-19: Source changelog says Tim Ruehsen created the library from libmget cookie code.
  • 2014-03-20: The public GitHub repository was created.
  • 2016-01-02: Release 0.12.0 appears in GitHub release metadata.
  • 2019-04-16: Release 0.21.0 was published.
  • 2026-06-24: Release 0.22.0 included portability, build, Windows, Apple ICU, and tarball-build improvements.

Related projects

  • The Public Suffix List, Mozilla's PSL maintenance process, Chromium's DAFSA code, GNU Wget/libmget history, curl-like clients, browsers, crawler libraries, and certificate-authority tooling are the related ecosystem.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
pslcliglobal executable
psl-make-dafsacliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.22.0
manager updated2026-06-25
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/rockdaboot/libpsl

install metadata

Package metadata

Package keybrew:libpsl
Version0.22.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libpsl
Homepagehttps://rockdaboot.github.io/libpsl
Repositoryhttps://github.com/rockdaboot/libpsl
Upstream docshttps://rockdaboot.github.io/libpsl
LicenseMIT
Source archivehttps://github.com/rockdaboot/libpsl/releases/download/0.22.0/libpsl-0.22.0.tar.gz
Last updated2026-06-25T00:40:45Z
Pulseupdated
Build dependenciespkgconf
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibpsl
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libpsl-dev 0.21.2-1.1+b1

Library for Public Suffix List (development headers)

https://github.com/rockdaboot/libpsl

sudo apt install libpsl-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libpsl
  • 1 dependencies
  • normalized package name match
  • Matched by: Libpsl
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpsl-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libpsl5t64 0.21.2-1.1+b1

Library for Public Suffix List (shared libraries)

https://github.com/rockdaboot/libpsl

sudo apt install libpsl5t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libpsl
  • 3 dependencies
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: Libpsl
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libpsl5t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

psl 0.21.2-1.1+b1

Explore the Public Suffix List

https://github.com/rockdaboot/libpsl

sudo apt install psl
  • Section: net
  • Architecture: amd64
  • Source Package: libpsl
  • 2 dependencies
  • normalized package name match
  • Matched by: Libpsl
Debian stable package indexes · deb.debian.org · Debian stable package indexes: psl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

psl-make-dafsa 0.21.2-1.1

Create a binary DAFSA from a Public Suffix List

https://github.com/rockdaboot/libpsl

sudo apt install psl-make-dafsa
  • Section: net
  • Architecture: all
  • Source Package: libpsl
  • 1 dependencies
  • normalized package name match
  • Matched by: Libpsl
Debian stable package indexes · deb.debian.org · Debian stable package indexes: psl-make-dafsa from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libpsl

nix profile install nixpkgs#libpsl
  • normalized package name match
  • Matched by: Libpsl
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libpsl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libpsl-dev 0.21.2-1.1build1

Library for Public Suffix List (development headers)

https://github.com/rockdaboot/libpsl

sudo apt install libpsl-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libpsl
  • 1 dependencies
  • normalized package name match
  • Matched by: Libpsl
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpsl-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libpsl5t64 0.21.2-1.1build1

Library for Public Suffix List (shared libraries)

https://github.com/rockdaboot/libpsl

sudo apt install libpsl5t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libpsl
  • 3 dependencies
  • 1 provides
  • 1 optional deps
  • normalized package name match
  • Matched by: Libpsl
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libpsl5t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

psl 0.21.2-1.1build1

Explore the Public Suffix List

https://github.com/rockdaboot/libpsl

sudo apt install psl
  • Section: universe/net
  • Architecture: amd64
  • Source Package: libpsl
  • 2 dependencies
  • normalized package name match
  • Matched by: Libpsl
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: psl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

psl-make-dafsa 0.21.2-1.1build1

Create a binary DAFSA from a Public Suffix List

https://github.com/rockdaboot/libpsl

sudo apt install psl-make-dafsa
  • Section: universe/net
  • Architecture: all
  • Source Package: libpsl
  • 1 dependencies
  • normalized package name match
  • Matched by: Libpsl
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: psl-make-dafsa from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

libpsl 0.21.5-r3

C library for the Publix Suffix List

https://rockdaboot.github.io/libpsl

sudo apk add libpsl
  • License: MIT
  • Architecture: x86_64
  • Source Package: libpsl
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libpsl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libpsl from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libpsl-dev 0.21.5-r3

C library for the Publix Suffix List (development files)

https://rockdaboot.github.io/libpsl

sudo apk add libpsl-dev
  • License: MIT
  • Architecture: x86_64
  • Source Package: libpsl
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libpsl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libpsl-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libpsl-doc 0.21.5-r3

C library for the Publix Suffix List (documentation)

https://rockdaboot.github.io/libpsl

sudo apk add libpsl-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: libpsl
  • normalized package name match
  • Matched by: Libpsl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libpsl-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libpsl-static 0.21.5-r3

C library for the Publix Suffix List (static library)

https://rockdaboot.github.io/libpsl

sudo apk add libpsl-static
  • License: MIT
  • Architecture: x86_64
  • Source Package: libpsl
  • normalized package name match
  • Matched by: Libpsl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libpsl-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

libpsl-utils 0.21.5-r3

C library for the Publix Suffix List (utils)

https://rockdaboot.github.io/libpsl

sudo apk add libpsl-utils
  • License: MIT
  • Architecture: x86_64
  • Source Package: libpsl
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Libpsl
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libpsl-utils from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

libpsl 0.21.5-7.fc44

C library for the Publix Suffix List

https://rockdaboot.github.io/libpsl

sudo dnf install libpsl
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libpsl
  • 5 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Libpsl
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libpsl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libpsl-devel 0.21.5-7.fc44

Development files for libpsl

https://rockdaboot.github.io/libpsl

sudo dnf install libpsl-devel
  • License: MIT
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libpsl
  • 4 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Libpsl
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libpsl-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment