Automic VaultAutomic Vault

brew

libsepol を Homebrew, apk, dnf, Nix, apt, zypper でインストール

libsepol のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install libsepol

local Homebrew formula metadata

Linux

Alpine Linux apk確認済み · 92%
sudo apk add libsepol

Alpine Linux edge package indexes · libsepol · ソース: dl-cdn.alpinelinux.org

Fedora dnf確認済み · 92%
sudo dnf install libsepol

Fedora Rawhide package metadata · libsepol · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#libsepol

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

Debian apt確認済み · 92%
sudo apt install libsepol-dev

Debian stable package indexes · libsepol-dev · ソース: deb.debian.org

openSUSE zypper確認済み · 92%
sudo zypper install libsepol-devel

openSUSE Tumbleweed package metadata · libsepol-devel · ソース: download.opensuse.org

概要

パッケージ概要

SELinux binary policy manipulation library

コマンドとエイリアス

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

履歴

プロジェクトの歴史と使われ方

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.

タイムライン

  • 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.

セキュリティ状態

リスクレベル: グリーン

library-like package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • library-like package without higher-risk signals

信号

  • metadata:library-like

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
chkconcliグローバル実行可能ファイル
sepol_check_accesscliグローバル実行可能ファイル
sepol_compute_avcliグローバル実行可能ファイル
sepol_compute_membercliグローバル実行可能ファイル
sepol_compute_relabelcliグローバル実行可能ファイル
sepol_validate_transitioncliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-07-26
マネージャ版3.11
マネージャ更新日2026-07-01
ローカルデータOK
上流not checked
検出された最新未検出

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
Pulseupdated
ビルド依存関係coreutils
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

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

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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
  • 一致条件: 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 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 2 提供
  • normalized package name match
  • 一致条件: 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 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: 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

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • 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