# 使用 Homebrew, apk, apt, dnf, Nix, pacman, zypper 安装 libabigail

查看 libabigail 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:libabigail
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install libabigail
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add libabigail
```

  证据: Alpine Linux edge package indexes: libabigail from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install abigail-doc
```

  证据: Debian stable package indexes: abigail-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install libabigail
```

  证据: Fedora Rawhide package metadata: libabigail from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libabigail
```

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

- pacman (92%):

```sh
sudo pacman -S libabigail
```

  证据: Arch Linux sync databases: libabigail from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libabigail-devel
```

  证据: openSUSE Tumbleweed package metadata: libabigail-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## 软件包事实

- **软件包键:** brew:libabigail
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/libabigail>
- **版本:** 2.10
- **来源摘要:** ABI Generic Analysis and Instrumentation Library
- **主页:** <https://sourceware.org/libabigail/>
- **仓库:** <https://sourceware.org/git/libabigail.git>
- **上游文档:** <https://sourceware.org/libabigail>
- **许可证:** Apache-2.0 WITH LLVM-exception
- **源码归档:** <https://mirrors.kernel.org/sourceware/libabigail/libabigail-2.10.tar.xz>
- **最后更新:** 2026-04-30T15:43:24Z
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- abicompat (cli)
- abidiff (cli)
- abidw (cli)
- abilint (cli)
- abipkgdiff (cli)
- kmidiff (cli)
- abicompat (别名)
- abidiff (别名)
- abidw (别名)
- abilint (别名)
- abipkgdiff (别名)
- kmidiff (别名)

## 依赖

- elfutils
- libxml2
- xxhash
- xz

## 构建依赖

- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.10
- 管理器更新时间: 2026-04-30
- 本地数据: OK
- 上游仓库: https://sourceware.org/libabigail/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

libabigail, the ABI Generic Analysis and Instrumentation Library, is a Sourceware project for building, serializing, comparing, and reporting on ABI corpora. Its command-line tools make ABI compatibility checks scriptable for C and C++ shared-library ecosystems.

### 项目历史

The project grew around the idea that ABI-relevant artifacts - types, variables, functions, declarations, and their binary/debug-information representations - should be modeled explicitly and compared mechanically. Sourceware hosts the project page, Git repository, mailing list, bug tracker, tarballs, and generated manuals.

### 采用历史

libabigail became important in distribution and platform engineering because ABI breaks are expensive when shared libraries are consumed by many separately built packages. Red Hat engineering articles describe it as a tool for long-term ABI maintenance, and Android carried an external libabigail tree for ABI-related tooling before replacing that tree with a tombstone in 2024.

### 使用方式

The package exposes tools such as abidiff, abidw, abicompat, abipkgdiff, abilint, and kmidiff. They are used to compare binaries, inspect ABI XML, compare packages, and check kernel module interface differences.

### 为什么软件包爱好者会关心

For package maintainers, libabigail is one of the canonical tools for turning ABI compatibility from tribal knowledge into CI output. It matters when sonames, distro updates, and rebuild policies meet real binary compatibility.

### 时间线

- 2010s: libabigail developed on Sourceware as a library and tool suite for ABI corpus analysis.
- 2018: Red Hat documented major work across libabigail 1.2, 1.3, 1.4, and 1.5.
- 2024-05-20: Red Hat described libabigail-based ABI compatibility testing workflows for binaries across distributions and versions.

### Related projects

- Related projects include elfutils, DWARF tooling, Linux distribution package QA, Android ABI tooling, and CI systems that gate shared-library compatibility.

### 来源

- <https://developers.redhat.com/articles/2024/05/20/application-binary-interface-compatibility-testing-libabigail>
- <https://developers.redhat.com/blog/2019/03/06/changes-made-to-the-libabigail-abi-change-analysis-framework-in-2018>
- <https://sourceware.org/libabigail>
- <https://sourceware.org/libabigail/manual>
- <https://sourceware.org/libabigail/manual/libabigail-tools.html>


## 安全说明

library-like package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- library-like package without higher-risk signals

## 源数据库详情

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

## 其他软件包管理器记录

- Debian apt - abigail-doc - 2.6-2: normalized package name match | Debian stable package indexes: abigail-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ABI Generic Analysis and Instrumentation Library (documentation) | https://sourceware.org/libabigail/
- Debian apt - abigail-tools - 2.6-2: normalized package name match | Debian stable package indexes: abigail-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ABI Generic Analysis and Instrumentation Library (tools) | https://sourceware.org/libabigail/
- Debian apt - libabigail-dev - 2.6-2: normalized package name match | Debian stable package indexes: libabigail-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ABI Generic Analysis and Instrumentation Library (development files) | https://sourceware.org/libabigail/
- Debian apt - libabigail5 - 2.6-2: normalized package name match | Debian stable package indexes: libabigail5 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ABI Generic Analysis and Instrumentation Library (runtime) | https://sourceware.org/libabigail/
- Nix - libabigail: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libabigail/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - abigail-doc - 2.4-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: abigail-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ABI Generic Analysis and Instrumentation Library (documentation) | https://sourceware.org/libabigail/
- Ubuntu apt - abigail-tools - 2.4-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: abigail-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ABI Generic Analysis and Instrumentation Library (tools) | https://sourceware.org/libabigail/
- Ubuntu apt - libabigail-dev - 2.4-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libabigail-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ABI Generic Analysis and Instrumentation Library (development files) | https://sourceware.org/libabigail/
- Ubuntu apt - libabigail0t64 - 2.4-3build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libabigail0t64 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ABI Generic Analysis and Instrumentation Library (runtime) | https://sourceware.org/libabigail/
- apk - libabigail - 2.8-r0: normalized package name match | Alpine Linux edge package indexes: libabigail from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | The ABI Generic Analysis and Instrumentation Library | https://sourceware.org/libabigail/
- apk - libabigail-bash-completion - 2.8-r0: normalized package name match | Alpine Linux edge package indexes: libabigail-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for libabigail | https://sourceware.org/libabigail/
- apk - libabigail-dev - 2.8-r0: normalized package name match | Alpine Linux edge package indexes: libabigail-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | The ABI Generic Analysis and Instrumentation Library (development files) | https://sourceware.org/libabigail/
- apk - libabigail-doc - 2.8-r0: normalized package name match | Alpine Linux edge package indexes: libabigail-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | The ABI Generic Analysis and Instrumentation Library (documentation) | https://sourceware.org/libabigail/
- apk - libabigail-tools - 2.8-r0: normalized package name match | Alpine Linux edge package indexes: libabigail-tools from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | The ABI Generic Analysis and Instrumentation Library (CLI tools) | https://sourceware.org/libabigail/
- dnf - libabigail - 2.9-2.fc44: normalized package name match | Fedora Rawhide package metadata: libabigail from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Set of ABI analysis tools | https://sourceware.org/libabigail/
- dnf - libabigail-devel - 2.9-2.fc44: normalized package name match | Fedora Rawhide package metadata: libabigail-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Shared library and header files to write ABI analysis tools | https://sourceware.org/libabigail/


## 相关链接

- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [elfutils](https://www.automicvault.com/zh-hans/pkg/brew/elfutils/) - Runtime dependency declared by Homebrew.
- [libxml2](https://www.automicvault.com/zh-hans/pkg/brew/libxml2/) - Runtime dependency declared by Homebrew.
- [xxhash](https://www.automicvault.com/zh-hans/pkg/brew/xxhash/) - Runtime dependency declared by Homebrew.
- [xz](https://www.automicvault.com/zh-hans/pkg/brew/xz/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [abi-dumper](https://www.automicvault.com/zh-hans/pkg/brew/abi-dumper/) - Shares av.db curated category or tags: abi, binary-analysis, cli, developer-tools, elf.
- [dwarf](https://www.automicvault.com/zh-hans/pkg/brew/dwarf/) - Shares av.db curated category or tags: binary-analysis, cli, developer-tools, elf.
- [vtable-dumper](https://www.automicvault.com/zh-hans/pkg/brew/vtable-dumper/) - Shares av.db curated category or tags: abi, binary-analysis, cli, developer-tools.
- [go-size-analyzer](https://www.automicvault.com/zh-hans/pkg/brew/go-size-analyzer/) - Shares av.db curated category or tags: binary-analysis, cli, developer-tools.
- [readpe](https://www.automicvault.com/zh-hans/pkg/brew/readpe/) - Shares av.db curated category or tags: binary-analysis, cli, developer-tools.
- [swift-section](https://www.automicvault.com/zh-hans/pkg/brew/swift-section/) - Shares av.db curated category or tags: binary-analysis, cli, developer-tools.
- [binsider](https://www.automicvault.com/zh-hans/pkg/brew/binsider/) - Shares av.db curated category or tags: binary-analysis, cli, developer-tools, elf.

## Combined YAML source

View the package source record on GitHub. [combined/libabigail.yml](https://github.com/automic-vault/db/blob/main/combined/libabigail.yml)


## 来源

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