Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper 安装 libpsl

查看 libpsl 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libpsl

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install libpsl

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add libpsl

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

Fedora dnf已验证 · 92%
sudo dnf install libpsl

Fedora Rawhide package metadata · libpsl · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#libpsl

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

Arch Linux pacman已验证 · 92%
sudo pacman -S libpsl

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

Debian apt已验证 · 92%
sudo apt install libpsl-dev

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

openSUSE zypper已验证 · 92%
sudo zypper install libpsl-devel

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

概览

软件包摘要

C library for the Public Suffix List

命令和别名

  • psl
  • psl-make-dafsa

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

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

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
pslcli全局可执行文件
psl-make-dafsacli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本0.22.0
管理器更新时间2026-06-25
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/rockdaboot/libpsl

安装元数据

软件包元数据

软件包键brew:libpsl
版本0.22.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/libpsl
主页https://rockdaboot.github.io/libpsl
仓库https://github.com/rockdaboot/libpsl
上游文档https://rockdaboot.github.io/libpsl
许可证MIT
源码归档https://github.com/rockdaboot/libpsl/releases/download/0.22.0/libpsl-0.22.0.tar.gz
最后更新2026-06-25T00:40:45Z
Pulseupdated
构建依赖pkgconf
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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