# Install libsepol

SELinux binary policy manipulation library. Version 3.10 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:libsepol
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libsepol
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add libsepol
```

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

- Debian apt (92%):

```sh
sudo apt install libsepol-dev
```

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

- dnf (92%):

```sh
sudo dnf install libsepol
```

  Evidence: Fedora Rawhide package metadata: libsepol from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libsepol
```

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

- zypper (92%):

```sh
sudo zypper install libsepol-devel
```

  Evidence: openSUSE Tumbleweed package metadata: libsepol-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

## Package Facts

- **Package key:** brew:libsepol
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/libsepol>
- **Version:** 3.10
- **Source summary:** SELinux binary policy manipulation library
- **Homepage:** <https://github.com/SELinuxProject/selinux>
- **Repository:** <https://github.com/SELinuxProject/selinux>
- **Upstream docs:** <https://github.com/SELinuxProject/selinux/wiki>
- **License:** LGPL-2.1-or-later
- **Source archive:** <https://github.com/SELinuxProject/selinux/releases/download/3.10/libsepol-3.10.tar.gz>
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- chkcon (cli)
- sepol_check_access (cli)
- sepol_compute_av (cli)
- sepol_compute_member (cli)
- sepol_compute_relabel (cli)
- sepol_validate_transition (cli)
- chkcon (alias)
- sepol_check_access (alias)
- sepol_compute_av (alias)
- sepol_compute_member (alias)
- sepol_compute_relabel (alias)
- sepol_validate_transition (alias)

## Build Dependencies

- coreutils

## 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-06-10
- Package-manager version: 3.10
- Local data status: ok
- Upstream repository: https://github.com/SELinuxProject/selinux
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.

## Sicherheitshinweise

library-like package without higher-risk signals.

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

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - libsepol-dev - 3.8.1-1: normalized package name match | Debian stable package indexes: libsepol-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SELinux binary policy manipulation library and development files | https://selinuxproject.org
- Debian apt - libsepol2 - 3.8.1-1: normalized package name match | Debian stable package indexes: libsepol2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | SELinux library for manipulating binary security policies | https://selinuxproject.org
- Debian apt - sepol-utils - 3.8.1-1: normalized package name match | Debian stable package indexes: sepol-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Security Enhanced Linux policy utility programs | https://selinuxproject.org
- Nix - libsepol: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libsepol/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libsepol-dev - 3.5-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsepol-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | SELinux binary policy manipulation library and development files | https://selinuxproject.org
- Ubuntu apt - libsepol2 - 3.5-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libsepol2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | SELinux library for manipulating binary security policies | https://selinuxproject.org
- Ubuntu apt - sepol-utils - 3.5-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: sepol-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Security Enhanced Linux policy utility programs | https://selinuxproject.org
- apk - libsepol - 3.10-r0: normalized package name match | Alpine Linux edge package indexes: libsepol from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | SELinux binary policy manipulation library | https://github.com/SELinuxProject/selinux/wiki
- apk - libsepol-dev - 3.10-r0: normalized package name match | Alpine Linux edge package indexes: libsepol-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | SELinux binary policy manipulation library (development files) | https://github.com/SELinuxProject/selinux/wiki
- apk - libsepol-doc - 3.10-r0: normalized package name match | Alpine Linux edge package indexes: libsepol-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | SELinux binary policy manipulation library (documentation) | https://github.com/SELinuxProject/selinux/wiki
- dnf - libsepol - 3.10-1.fc44: normalized package name match | Fedora Rawhide package metadata: libsepol from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | SELinux binary policy manipulation library | https://github.com/SELinuxProject/selinux/wiki
- dnf - libsepol-devel - 3.10-1.fc44: normalized package name match | Fedora Rawhide package metadata: libsepol-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Header files and libraries used to build policy manipulation tools | https://github.com/SELinuxProject/selinux/wiki
- dnf - libsepol-static - 3.10-1.fc44: normalized package name match | Fedora Rawhide package metadata: libsepol-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | static libraries used to build policy manipulation tools | https://github.com/SELinuxProject/selinux/wiki
- dnf - libsepol-utils - 3.10-1.fc44: normalized package name match | Fedora Rawhide package metadata: libsepol-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | SELinux libsepol utilities | https://github.com/SELinuxProject/selinux/wiki
- zypper - libsepol-devel - 3.10-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libsepol-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Development files for SELinux's binary policy manipulation library | https://github.com/SELinuxProject/selinux/wiki/Releases
- zypper - libsepol-devel-static - 3.10-1.3: normalized package name match | openSUSE Tumbleweed package metadata: libsepol-devel-static from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst | Static archives for SELinux's binary policy manipulation library | https://github.com/SELinuxProject/selinux/wiki/Releases


## Related Links

- [Source-control packages](https://www.automicvault.com/de/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/de/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/de/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [coreutils](https://www.automicvault.com/de/pkg/brew/coreutils/) - Build dependency declared by Homebrew.
- [libselinux](https://www.automicvault.com/de/pkg/brew/libselinux/) - Popular package that depends on this formula.
- [gator](https://www.automicvault.com/de/pkg/brew/gator/) - Shares av.db curated category or tags: cli, policy, security.
- [gnutls](https://www.automicvault.com/de/pkg/brew/gnutls/) - Shares av.db curated category or tags: cli, security.
- [gnupg](https://www.automicvault.com/de/pkg/brew/gnupg/) - Shares av.db curated category or tags: cli, security.
- [krb5](https://www.automicvault.com/de/pkg/brew/krb5/) - Shares av.db curated category or tags: cli, security.
- [p11-kit](https://www.automicvault.com/de/pkg/brew/p11-kit/) - Shares av.db curated category or tags: cli, security.
- [nettle](https://www.automicvault.com/de/pkg/brew/nettle/) - Shares av.db curated category or tags: cli, security.
- [mkcert](https://www.automicvault.com/de/pkg/brew/mkcert/) - Shares av.db curated category or tags: cli, security.
- [permify](https://www.automicvault.com/de/pkg/brew/permify/) - Security-sensitive metadata or terminology overlaps. Shared terms: access, cli, control, policy, security.
- [terraform-iam-policy-validator](https://www.automicvault.com/de/pkg/brew/terraform-iam-policy-validator/) - Security-sensitive metadata or terminology overlaps. Shared terms: access, cli, policy, security, validate.

## Sources

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