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

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

## 安装

```sh
sudo av install brew:elfutils
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install elfutils
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add elfutils
```

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

- Debian apt (92%):

```sh
sudo apt install elfutils
```

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

- dnf (92%):

```sh
sudo dnf install elfutils
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#elfutils
```

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

- pacman (92%):

```sh
sudo pacman -S elfutils
```

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

- zypper (92%):

```sh
sudo zypper install elfutils
```

  证据: openSUSE Tumbleweed package metadata: elfutils from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## 软件包事实

- **软件包键:** brew:elfutils
- **软件包管理器:** Homebrew
- **版本:** 0.195
- **来源摘要:** Libraries and utilities for handling ELF objects
- **主页:** <https://fedorahosted.org/elfutils/>
- **最后更新:** 2026-05-15T12:01:54Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- elfutils-addr2line (别名)
- elfutils-ar (别名)
- elfutils-elfclassify (别名)
- elfutils-elfcmp (别名)
- elfutils-elfcompress (别名)
- elfutils-elflint (别名)
- elfutils-findtextrel (别名)
- elfutils-make-debug-archive (别名)
- elfutils-nm (别名)
- elfutils-objdump (别名)
- elfutils-ranlib (别名)
- elfutils-readelf (别名)
- elfutils-size (别名)
- elfutils-srcfiles (别名)
- elfutils-stack (别名)
- elfutils-strings (别名)
- elfutils-strip (别名)
- elfutils-unstrip (别名)
- eu-addr2line (别名)
- eu-ar (别名)
- eu-elfclassify (别名)
- eu-elfcmp (别名)
- eu-elfcompress (别名)
- eu-elflint (别名)
- eu-findtextrel (别名)
- eu-make-debug-archive (别名)
- eu-nm (别名)
- eu-objdump (别名)
- eu-ranlib (别名)
- eu-readelf (别名)
- eu-size (别名)
- eu-srcfiles (别名)
- eu-stack (别名)
- eu-strings (别名)
- eu-strip (别名)
- eu-unstrip (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.195
## 项目历史与用法

elfutils is a Sourceware-hosted collection of libraries and command-line tools for working with ELF objects and DWARF debug data on GNU/Linux. Its niche is lower-level than a single debugger or compiler: it gives distribution maintainers, toolchain developers, debuggers, profilers, and post-mortem analysis workflows reusable ELF/DWARF libraries plus eu-* inspection utilities.

### 项目历史

The official project page presents elfutils as a toolkit for reading, creating, and modifying ELF binary files and for finding and handling DWARF debug data, symbols, thread state, stack traces, processes, and core files. Sourceware is the upstream home, with source available from the Sourceware git repository and releases published from the Sourceware elfutils area.

A later important extension is debuginfod, documented by Sourceware and GNU Binutils as an elfutils component. debuginfod turns debug-info lookup into an HTTP service indexed by build IDs, with client libraries that debuggers and binary tools can use when local separate debug files are missing.

### 采用历史

elfutils is adopted most visibly through Linux distribution and toolchain plumbing rather than end-user application workflows. The project page emphasizes GNU/Linux process and core-file support, and the debuginfod documentation shows how other Sourceware tools such as GDB and Binutils can use libdebuginfod to retrieve debug information, executables, and source files on demand.

### 使用方式

Typical package usage is command-line inspection and transformation through tools such as eu-readelf, eu-objdump, eu-nm, eu-strip, eu-stack, eu-elflint, and eu-unstrip, or library usage through libelf, libdw, and libdebuginfod. debuginfod usage centers on configuring debug tools to query one or more HTTP servers for artifacts identified by build ID.

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

Package maintainers care about elfutils because it sits in the boring but critical layer between compiler output, stripped binaries, split debug packages, core dumps, and debugger UX. It is the kind of package whose utilities show up in build logs, debug-symbol pipelines, reproducibility investigations, and distribution debug-info services rather than in application feature lists.

### 时间线

- Sourceware era: Upstream source and releases are hosted under the Sourceware elfutils project.
- 0.178: debuginfod began shipping as part of elfutils, according to GNU Binutils documentation.
- Current use: debuginfod client support lets tools query servers for missing ELF, DWARF, executable, and source artifacts by build ID.

### Related projects

- GNU Binutils overlaps with elfutils at the command-line binary-inspection layer and can be built with libdebuginfod support.
- GDB uses the debuginfod client library to retrieve missing debug resources.
- DWARF and ELF are the core data formats that elfutils reads, writes, validates, and exposes to other tools.

### 来源

- <https://sourceware.org/elfutils/>
- <https://sourceware.org/elfutils/Debuginfod.html>
- <https://sourceware.org/binutils/docs/binutils/debuginfod.html>
- <https://sourceware.org/gdb/current/onlinedocs/gdb.html/Debuginfod.html>


## 安全说明

没有找到 elfutils 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


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

- Debian apt - debuginfod - 0.192-4: normalized package name match | Debian stable package indexes: debuginfod from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | debuginfo-related http file-server daemon | https://sourceware.org/elfutils/
- Debian apt - elfutils - 0.192-4: normalized package name match | Debian stable package indexes: elfutils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | collection of utilities to handle ELF objects | https://sourceware.org/elfutils/
- Debian apt - libasm-dev - 0.192-4: normalized package name match | Debian stable package indexes: libasm-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | libasm development libraries and header files | https://sourceware.org/elfutils/
- Debian apt - libasm1t64 - 0.192-4: normalized package name match | Debian stable package indexes: libasm1t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library with a programmable assembler interface | https://sourceware.org/elfutils/
- Debian apt - libdebuginfod-common - 0.192-4: normalized package name match | Debian stable package indexes: libdebuginfod-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | configuration to enable the Debian debug info server | https://sourceware.org/elfutils/
- Debian apt - libdebuginfod-dev - 0.192-4: normalized package name match | Debian stable package indexes: libdebuginfod-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | libdebuginfod development libraries and header files | https://sourceware.org/elfutils/
- Debian apt - libdebuginfod1t64 - 0.192-4: normalized package name match | Debian stable package indexes: libdebuginfod1t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to interact with debuginfod (development files) | https://sourceware.org/elfutils/
- Debian apt - libdw-dev - 0.192-4: normalized package name match | Debian stable package indexes: libdw-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | libdw1t64 development libraries and header files | https://sourceware.org/elfutils/
- Debian apt - libdw1t64 - 0.192-4: normalized package name match | Debian stable package indexes: libdw1t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library that provides access to the DWARF debug information | https://sourceware.org/elfutils/
- Debian apt - libelf-dev - 0.192-4: normalized package name match | Debian stable package indexes: libelf-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | libelf1t64 development libraries and header files | https://sourceware.org/elfutils/
- Debian apt - libelf1t64 - 0.192-4: normalized package name match | Debian stable package indexes: libelf1t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | library to read and write ELF files | https://sourceware.org/elfutils/
- Nix - elfutils: normalized package name match | nixpkgs package indexes: pkgs/by-name/el/elfutils/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - debuginfod - 0.190-1.1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: debuginfod from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | debuginfo-related http file-server daemon | https://sourceware.org/elfutils/
- Ubuntu apt - elfutils - 0.190-1.1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: elfutils from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | collection of utilities to handle ELF objects | https://sourceware.org/elfutils/
- Ubuntu apt - libasm-dev - 0.190-1.1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libasm-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | libasm development libraries and header files | https://sourceware.org/elfutils/
- Ubuntu apt - libasm1t64 - 0.190-1.1build4: normalized package name match | Ubuntu 24.04 LTS package indexes: libasm1t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | library with a programmable assembler interface | https://sourceware.org/elfutils/


## Combined YAML source

View the package source record on GitHub. [combined/elfutils.yml](https://github.com/mxcl/pkgdb/blob/main/combined/elfutils.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
