# Install p11-kit with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper

Library to load and enumerate PKCS#11 modules. Version 0.26.4 via Homebrew; verified 2026-07-10. Also installable with debian: sudo apt install libp11-kit-dev.

## Install

```sh
sudo av install brew:p11-kit
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install p11-kit
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install p11-kit
```

  Evidence: MacPorts ports tree: security/p11-kit/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add p11-kit
```

  Evidence: Alpine Linux edge package indexes: p11-kit from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install p11-kit
```

  Evidence: Debian stable package indexes: p11-kit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install p11-kit
```

  Evidence: Fedora Rawhide package metadata: p11-kit from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#p11-kit
```

  Evidence: nixpkgs package indexes: pkgs/by-name/p1/p11-kit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S p11-kit
```

  Evidence: Arch Linux sync databases: p11-kit from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

- zypper (92%):

```sh
sudo zypper install p11-kit
```

  Evidence: openSUSE Tumbleweed package metadata: p11-kit from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:p11-kit
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/p11-kit>
- **Version:** 0.26.4
- **Source summary:** Library to load and enumerate PKCS#11 modules
- **Homepage:** <https://p11-glue.github.io/p11-glue/p11-kit.html>
- **Repository:** <https://github.com/p11-glue/p11-kit>
- **Upstream docs:** <https://p11-glue.github.io/p11-glue/p11-kit.html>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/p11-glue/p11-kit/releases/download/0.26.4/p11-kit-0.26.4.tar.xz>
- **Last updated:** 2026-07-10T17:16:20Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- p11-kit (cli)
- trust (cli)
- p11-kit (alias)
- trust (alias)

## Dependencies

- ca-certificates
- libtasn1

## Build dependencies

- meson
- ninja
- pkgconf

## Uses from macOS

- libffi

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.26.4
- Package-manager updated: 2026-07-10
- Local data: ok
- Upstream repository: https://github.com/p11-glue/p11-kit
- info: No cached GitHub release or tag data was available.

## Security Notes

library-like package without higher-risk signals.

- **Geiger risk:** green / low
- library-like package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: pkcs11.conf, *.module files in the p11-kit modules configuration directory
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** p11-kit
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - libp11-kit-dev - 0.25.5-3: normalized package name match | Debian stable package indexes: libp11-kit-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for loading and coordinating access to PKCS#11 modules - development | https://p11-glue.github.io/p11-glue/p11-kit.html
- Debian apt - libp11-kit0 - 0.25.5-3: normalized package name match | Debian stable package indexes: libp11-kit0 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for loading and coordinating access to PKCS#11 modules - runtime | https://p11-glue.github.io/p11-glue/p11-kit.html
- Debian apt - p11-kit - 0.25.5-3: normalized package name match | Debian stable package indexes: p11-kit from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | p11-glue utilities | https://p11-glue.github.io/p11-glue/p11-kit.html
- Debian apt - p11-kit-doc - 0.25.5-3: normalized package name match | Debian stable package indexes: p11-kit-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library for loading and coordinating access to PKCS#11 modules - documentation | https://p11-glue.github.io/p11-glue/p11-kit.html
- Debian apt - p11-kit-modules - 0.25.5-3: normalized package name match | Debian stable package indexes: p11-kit-modules from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | p11-glue proxy and trust modules | https://p11-glue.github.io/p11-glue/p11-kit.html
- Nix - p11-kit: normalized package name match | nixpkgs package indexes: pkgs/by-name/p1/p11-kit/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libp11-kit-dev - 0.25.3-4ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libp11-kit-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library for loading and coordinating access to PKCS#11 modules - development | https://p11-glue.github.io/p11-glue/p11-kit.html
- Ubuntu apt - libp11-kit0 - 0.25.3-4ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: libp11-kit0 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library for loading and coordinating access to PKCS#11 modules - runtime | https://p11-glue.github.io/p11-glue/p11-kit.html
- Ubuntu apt - p11-kit - 0.25.3-4ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: p11-kit from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | p11-glue utilities | https://p11-glue.github.io/p11-glue/p11-kit.html
- Ubuntu apt - p11-kit-doc - 0.25.3-4ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: p11-kit-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library for loading and coordinating access to PKCS#11 modules - documentation | https://p11-glue.github.io/p11-glue/p11-kit.html
- Ubuntu apt - p11-kit-modules - 0.25.3-4ubuntu2: normalized package name match | Ubuntu 24.04 LTS package indexes: p11-kit-modules from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | p11-glue proxy and trust modules | https://p11-glue.github.io/p11-glue/p11-kit.html
- apk - p11-kit - 0.26.2-r1: normalized package name match | Alpine Linux edge package indexes: p11-kit from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Library for loading and sharing PKCS#11 modules | https://p11-glue.freedesktop.org/
- apk - p11-kit-dev - 0.26.2-r1: normalized package name match | Alpine Linux edge package indexes: p11-kit-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Library for loading and sharing PKCS#11 modules (development files) | https://p11-glue.freedesktop.org/
- apk - p11-kit-doc - 0.26.2-r1: normalized package name match | Alpine Linux edge package indexes: p11-kit-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Library for loading and sharing PKCS#11 modules (documentation) | https://p11-glue.freedesktop.org/
- apk - p11-kit-server - 0.26.2-r1: normalized package name match | Alpine Linux edge package indexes: p11-kit-server from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Server and client commands for p11-kit | https://p11-glue.freedesktop.org/
- apk - p11-kit-trust - 0.26.2-r1: normalized package name match | Alpine Linux edge package indexes: p11-kit-trust from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | System trust module from p11-kit | https://p11-glue.freedesktop.org/


## Related links

- [Source-control packages](https://pkg.so/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [libtasn1](https://pkg.so/brew/libtasn1/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/brew/pkgconf/) - Build dependency declared by Homebrew.
- [ninja](https://pkg.so/brew/ninja/) - Build dependency declared by Homebrew.
- [meson](https://pkg.so/brew/meson/) - Build dependency declared by Homebrew.
- [gnutls](https://pkg.so/brew/gnutls/) - Popular package that depends on this formula.
- [openconnect](https://pkg.so/brew/openconnect/) - Popular package that depends on this formula.
- [redwax-tool](https://pkg.so/brew/redwax-tool/) - Popular package that depends on this formula.
- [opensc](https://pkg.so/brew/opensc/) - Shares pkgdb curated category or tags: cli, cryptography, library, pkcs11, security.
- [pkcs11-tools](https://pkg.so/brew/pkcs11-tools/) - Shares pkgdb curated category or tags: cli, cryptography, pkcs11, security.
- [openssl@3](https://pkg.so/brew/openssl-3/) - Shares pkgdb curated category or tags: certificates, cli, cryptography, security.
- [libksba](https://pkg.so/brew/libksba/) - Shares pkgdb curated category or tags: cli, cryptography, library, security.
- [gpgme](https://pkg.so/brew/gpgme/) - Shares pkgdb curated category or tags: cli, cryptography, library, security.
- [openssl@4](https://pkg.so/brew/openssl-4/) - Shares pkgdb curated category or tags: certificates, cli, cryptography, security.
- [openssl@3.5](https://pkg.so/brew/openssl-3-5/) - Shares pkgdb curated category or tags: certificates, cli, cryptography, security.
- [botan](https://pkg.so/brew/botan/) - Security-sensitive metadata or terminology overlaps. Shared terms: ca-certificates, certificates, cli, cryptography, library.
- [openssl@3.0](https://pkg.so/brew/openssl-3-0/) - Security-sensitive metadata or terminology overlaps. Shared terms: ca-certificates, certificates, cli, cryptography, library.

## Combined YAML source

View the package source record on GitHub. [combined/p11-kit.yml](https://github.com/mxcl/pkgdb/blob/main/combined/p11-kit.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
