Automic VaultAutomic Vault

brew

Installer libsepol avec Homebrew, apk, dnf, Nix, apt, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de libsepol pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install libsepol

local Homebrew formula metadata

Linux

Alpine Linux apkvérifié · 92%
sudo apk add libsepol

Alpine Linux edge package indexes · libsepol · Source: dl-cdn.alpinelinux.org

Fedora dnfvérifié · 92%
sudo dnf install libsepol

Fedora Rawhide package metadata · libsepol · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#libsepol

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

Debian aptvérifié · 92%
sudo apt install libsepol-dev

Debian stable package indexes · libsepol-dev · Source: deb.debian.org

openSUSE zyppervérifié · 92%
sudo zypper install libsepol-devel

openSUSE Tumbleweed package metadata · libsepol-devel · Source: download.opensuse.org

aperçu

Résumé du paquet

SELinux binary policy manipulation library

Commandes et alias

  • chkcon
  • sepol_check_access
  • sepol_compute_av
  • sepol_compute_member
  • sepol_compute_relabel
  • sepol_validate_transition

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 2001: NSA published SELinux technical reports on the original Linux kernel patch and Linux Security Module integration.
  • 2008-09-09: The SELinux userspace release archive lists coordinated source tarball releases including libsepol.
  • 2015-02-02: The userspace release archive includes libsepol 2.4 alongside libselinux 2.4 and related packages.
  • 2026-02-02: SELinuxProject repository metadata records SELinux userspace release 3.10.

Related projects

  • checkpolicy and secilc use libsepol to produce binary policy, libsemanage uses it when managing policy modules, libselinux may use it when loading policy, and policycoreutils provides many of the command-line tools around those libraries.

posture de sécurité

Niveau de risque : vert

library-like package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • library-like package without higher-risk signals

Signaux

  • metadata:library-like

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • Les métadonnées de compilation listent 1 dépendances de compilation.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
chkconcliexécutable global
sepol_check_accesscliexécutable global
sepol_compute_avcliexécutable global
sepol_compute_membercliexécutable global
sepol_compute_relabelcliexécutable global
sepol_validate_transitioncliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-26
version du gestionnaire3.11
gestionnaire mis à jour2026-07-01
données localesOK
amontnot checked
dernière version détectéenon détecté

https://github.com/SELinuxProject/selinux

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:libsepol
Version3.11
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/libsepol
Page d'accueilhttps://github.com/SELinuxProject/selinux
Dépôthttps://github.com/SELinuxProject/selinux
Docs amonthttps://github.com/SELinuxProject/selinux/wiki
LicenceLGPL-2.1-or-later
Archive sourcehttps://github.com/SELinuxProject/selinux/releases/download/3.11/libsepol-3.11.tar.gz
Dernière mise à jour2026-07-01T18:53:14Z
Pulseupdated
Dépendances de compilationcoreutils
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

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

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

libsepol-dev 3.8.1-1

SELinux binary policy manipulation library and development files

https://selinuxproject.org

sudo apt install libsepol-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libsepol
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Libsepol
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsepol-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libsepol2 3.8.1-1

SELinux library for manipulating binary security policies

https://selinuxproject.org

sudo apt install libsepol2
  • Section: libs
  • Architecture: amd64
  • Source Package: libsepol
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Libsepol
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libsepol2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

sepol-utils 3.8.1-1

Security Enhanced Linux policy utility programs

https://selinuxproject.org

sudo apt install sepol-utils
  • Section: admin
  • Architecture: amd64
  • Source Package: libsepol
  • 2 Dépendances
  • normalized package name match
  • Correspondance par : Libsepol
Debian stable package indexes · deb.debian.org · Debian stable package indexes: sepol-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libsepol

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

libsepol-dev 3.5-2build1

SELinux binary policy manipulation library and development files

https://selinuxproject.org

sudo apt install libsepol-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libsepol
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Libsepol
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsepol-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libsepol2 3.5-2build1

SELinux library for manipulating binary security policies

https://selinuxproject.org

sudo apt install libsepol2
  • Section: libs
  • Architecture: amd64
  • Source Package: libsepol
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Libsepol
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libsepol2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

sepol-utils 3.5-2build1

Security Enhanced Linux policy utility programs

https://selinuxproject.org

sudo apt install sepol-utils
  • Section: universe/misc
  • Architecture: amd64
  • Source Package: libsepol
  • 2 Dépendances
  • normalized package name match
  • Correspondance par : Libsepol
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: sepol-utils from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

libsepol 3.10-r0

SELinux binary policy manipulation library

https://github.com/SELinuxProject/selinux/wiki

sudo apk add libsepol
  • License: LGPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: libsepol
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Libsepol
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libsepol from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libsepol-dev 3.10-r0

SELinux binary policy manipulation library (development files)

https://github.com/SELinuxProject/selinux/wiki

sudo apk add libsepol-dev
  • License: LGPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: libsepol
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Libsepol
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libsepol-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libsepol-doc 3.10-r0

SELinux binary policy manipulation library (documentation)

https://github.com/SELinuxProject/selinux/wiki

sudo apk add libsepol-doc
  • License: LGPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: libsepol
  • normalized package name match
  • Correspondance par : Libsepol
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libsepol-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

libsepol 3.10-1.fc44

SELinux binary policy manipulation library

https://github.com/SELinuxProject/selinux/wiki

sudo dnf install libsepol
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libsepol
  • 2 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Libsepol
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libsepol from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libsepol-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-devel
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libsepol
  • 3 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Libsepol
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libsepol-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libsepol-static 3.10-1.fc44

static libraries used to build policy manipulation tools

https://github.com/SELinuxProject/selinux/wiki

sudo dnf install libsepol-static
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libsepol
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Libsepol
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libsepol-static from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libsepol-utils 3.10-1.fc44

SELinux libsepol utilities

https://github.com/SELinuxProject/selinux/wiki

sudo dnf install libsepol-utils
  • License: LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: libsepol
  • 4 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Libsepol
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libsepol-utils from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

libsepol-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-devel
  • License: LGPL-2.1-or-later
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: libsepol
  • 3 Dépendances
  • 2 fournit
  • normalized package name match
  • Correspondance par : Libsepol
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libsepol-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper95%

libsepol-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-static
  • License: LGPL-2.1-or-later
  • Category: Development/Libraries/C and C++
  • Architecture: x86_64
  • Source Package: libsepol
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Libsepol
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: libsepol-devel-static from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • 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