macOS
brew install libsepollocal Homebrew formula metadata
brew
libsepol のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install libsepollocal Homebrew formula metadata
sudo apk add libsepolAlpine Linux edge package indexes · libsepol · ソース: dl-cdn.alpinelinux.org
sudo dnf install libsepolFedora Rawhide package metadata · libsepol · ソース: dl.fedoraproject.org
nix profile install nixpkgs#libsepolnixpkgs package indexes · pkgs/by-name/li/libsepol/package.nix · ソース: api.github.com
sudo apt install libsepol-devDebian stable package indexes · libsepol-dev · ソース: deb.debian.org
sudo zypper install libsepol-developenSUSE Tumbleweed package metadata · libsepol-devel · ソース: download.opensuse.org
概要
SELinux binary policy manipulation library
履歴
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.
セキュリティ状態
library-like package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
chkcon | cli | グローバル実行可能ファイル | |
sepol_check_access | cli | グローバル実行可能ファイル | |
sepol_compute_av | cli | グローバル実行可能ファイル | |
sepol_compute_member | cli | グローバル実行可能ファイル | |
sepol_compute_relabel | cli | グローバル実行可能ファイル | |
sepol_validate_transition | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/SELinuxProject/selinux
インストールメタデータ
| パッケージキー | brew:libsepol |
|---|---|
| バージョン | 3.11 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/libsepol |
| ホームページ | https://github.com/SELinuxProject/selinux |
| リポジトリ | https://github.com/SELinuxProject/selinux |
| 上流ドキュメント | https://github.com/SELinuxProject/selinux/wiki |
| ライセンス | LGPL-2.1-or-later |
| ソースアーカイブ | https://github.com/SELinuxProject/selinux/releases/download/3.11/libsepol-3.11.tar.gz |
| 最終更新 | 2026-07-01T18:53:14Z |
| Pulse | updated |
| ビルド依存関係 | coreutils |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
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-staticソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.