macOS
brew install libsepollocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für libsepol in AI-Agent-Workflows.
Installation
brew install libsepollocal Homebrew formula metadata
sudo apk add libsepolAlpine Linux edge package indexes · libsepol · Quelle: dl-cdn.alpinelinux.org
sudo dnf install libsepolFedora Rawhide package metadata · libsepol · Quelle: dl.fedoraproject.org
nix profile install nixpkgs#libsepolnixpkgs package indexes · pkgs/by-name/li/libsepol/package.nix · Quelle: api.github.com
sudo apt install libsepol-devDebian stable package indexes · libsepol-dev · Quelle: deb.debian.org
sudo zypper install libsepol-developenSUSE Tumbleweed package metadata · libsepol-devel · Quelle: download.opensuse.org
Überblick
SELinux binary policy manipulation library
Verlauf
libsepol is the SELinux binary policy manipulation library. It sits below higher-level management tools and policy compilers, handling the compiled policy representation that the kernel consumes.
libsepol grew as part of the SELinux userspace stack, which was separated from the kernel-side mandatory access-control mechanism into libraries, compilers, and administrative tools. The SELinuxProject repository contains libsepol alongside libselinux, libsemanage, policycoreutils, checkpolicy, and secilc.
The upstream userspace package documentation describes secilc and checkpolicy as using libsepol to generate binary policy. It also describes libsemanage as relying on libsepol for binary policy manipulation and on libselinux for interaction with the running SELinux system.
libsepol's adoption followed SELinux adoption in distributions: it is packaged as a base SELinux userspace component rather than as a user-facing application. Systems that build, load, downgrade, inspect, or manage SELinux policy tend to pull in libsepol directly or indirectly.
The library is also useful outside a fully SELinux-enabled Linux system, because policy analysis and compilation workflows can run on systems that are not enforcing SELinux.
Administrators usually touch libsepol indirectly through semodule, semanage, checkpolicy, secilc, load_policy, and related SELinux tools. The Homebrew formula exposes helper commands such as chkcon and sepol_check_access for policy-oriented checks.
For developers, libsepol is the lower-level library to use when the task is reading, writing, checking, or transforming SELinux binary policy rather than asking the running system for a process or file context.
libsepol is the package that reminds distro maintainers that SELinux is not one package: the enforcement model depends on a layered toolchain. libselinux is the runtime-facing layer, libsepol is the binary-policy layer, and libsemanage plus policycoreutils build the administrative experience above them.
Because Homebrew can build libsepol on macOS mainly for policy analysis, it is a neat example of a Linux security component whose most portable part is the file-format and compiler tooling.
Sicherheitslage
library-like package without higher-risk signals.
grün Risiko · niedrig Konfidenz · appliance
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
Executables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
chkcon | cli | globales Executable | |
sepol_check_access | cli | globales Executable | |
sepol_compute_av | cli | globales Executable | |
sepol_compute_member | cli | globales Executable | |
sepol_compute_relabel | cli | globales Executable | |
sepol_validate_transition | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://github.com/SELinuxProject/selinux
Installationsmetadaten
| Paketschlüssel | brew:libsepol |
|---|---|
| Version | 3.11 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/libsepol |
| Homepage | https://github.com/SELinuxProject/selinux |
| Repository | https://github.com/SELinuxProject/selinux |
| Upstream-Dokumentation | https://github.com/SELinuxProject/selinux/wiki |
| Lizenz | LGPL-2.1-or-later |
| Quellarchiv | https://github.com/SELinuxProject/selinux/releases/download/3.11/libsepol-3.11.tar.gz |
| Zuletzt aktualisiert | 2026-07-01T18:53:14Z |
| Pulse | updated |
| Build-Abhängigkeiten | coreutils |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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 |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
libsepol-dev 3.8.1-1
SELinux binary policy manipulation library and development files
sudo apt install libsepol-devlibsepol2 3.8.1-1
SELinux library for manipulating binary security policies
sudo apt install libsepol2sepol-utils 3.8.1-1
Security Enhanced Linux policy utility programs
sudo apt install sepol-utilslibsepol
nix profile install nixpkgs#libsepollibsepol-dev 3.5-2build1
SELinux binary policy manipulation library and development files
sudo apt install libsepol-devlibsepol2 3.5-2build1
SELinux library for manipulating binary security policies
sudo apt install libsepol2sepol-utils 3.5-2build1
Security Enhanced Linux policy utility programs
sudo apt install sepol-utilslibsepol 3.10-r0
SELinux binary policy manipulation library
https://github.com/SELinuxProject/selinux/wiki
sudo apk add libsepollibsepol-dev 3.10-r0
SELinux binary policy manipulation library (development files)
https://github.com/SELinuxProject/selinux/wiki
sudo apk add libsepol-devlibsepol-doc 3.10-r0
SELinux binary policy manipulation library (documentation)
https://github.com/SELinuxProject/selinux/wiki
sudo apk add libsepol-doclibsepol 3.10-1.fc44
SELinux binary policy manipulation library
https://github.com/SELinuxProject/selinux/wiki
sudo dnf install libsepollibsepol-devel 3.10-1.fc44
Header files and libraries used to build policy manipulation tools
https://github.com/SELinuxProject/selinux/wiki
sudo dnf install libsepol-devellibsepol-static 3.10-1.fc44
static libraries used to build policy manipulation tools
https://github.com/SELinuxProject/selinux/wiki
sudo dnf install libsepol-staticlibsepol-utils 3.10-1.fc44
SELinux libsepol utilities
https://github.com/SELinuxProject/selinux/wiki
sudo dnf install libsepol-utilslibsepol-devel 3.10-1.3
Development files for SELinux's binary policy manipulation library
https://github.com/SELinuxProject/selinux/wiki/Releases
sudo zypper install libsepol-devellibsepol-devel-static 3.10-1.3
Static archives for SELinux's binary policy manipulation library
https://github.com/SELinuxProject/selinux/wiki/Releases
sudo zypper install libsepol-devel-staticQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.