# 使用 Homebrew 安装 x86_64-linux-gnu-binutils

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

## 安装

```sh
sudo av install brew:x86_64-linux-gnu-binutils
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install x86_64-linux-gnu-binutils
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:x86_64-linux-gnu-binutils
- **软件包管理器:** Homebrew
- **版本:** 2.47
- **来源摘要:** GNU Binutils for x86_64-linux-gnu cross development
- **主页:** <https://www.gnu.org/software/binutils/binutils.html>
- **最后更新:** 2026-07-29T14:10:13Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- x86_64-linux-gnu-addr2line (别名)
- x86_64-linux-gnu-ar (别名)
- x86_64-linux-gnu-as (别名)
- x86_64-linux-gnu-c++filt (别名)
- x86_64-linux-gnu-elfedit (别名)
- x86_64-linux-gnu-gprof (别名)
- x86_64-linux-gnu-ld (别名)
- x86_64-linux-gnu-ld.bfd (别名)
- x86_64-linux-gnu-nm (别名)
- x86_64-linux-gnu-objcopy (别名)
- x86_64-linux-gnu-objdump (别名)
- x86_64-linux-gnu-ranlib (别名)
- x86_64-linux-gnu-readelf (别名)
- x86_64-linux-gnu-size (别名)
- x86_64-linux-gnu-strings (别名)
- x86_64-linux-gnu-strip (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

GNU Binutils is the GNU collection of binary utilities for assembling, linking, inspecting, copying, stripping, and otherwise working with object files and executables. Its headline tools are the GNU assembler as, the GNU linker ld, and the ELF-focused gold linker, with utilities such as ar, nm, objcopy, objdump, readelf, strings, size, and strip around them.

The x86_64-linux-gnu variant provides those tools configured for the GNU/Linux x86-64 target tuple. Package users install it when they need Linux-targeted object, archive, assembler, and linker tools on a host that may not itself be a GNU/Linux x86-64 system.

### 项目历史

The GNU assembler line dates to the early GNU toolchain: GAS first appeared in 1986-1987, written by Dean Elsner for the VAX. The broader binutils suite grew into the GNU system's standard binary tool layer, with BFD providing a common library for many object-file formats.

The project has long been hosted through Sourceware and shares the binutils-gdb git repository with GDB. Its release process uses versioned branches and tags, with public snapshots and release tarballs, and the project maintains public mailing lists for bug reports and development discussion.

### 采用历史

Binutils is central to GNU and GNU/Linux because it supplies the assembler and linker facilities needed to compile and link programs. The GNU project page describes its main reason for existence as giving the GNU system and GNU/Linux the facility to compile and link programs.

The suite's portability and BFD-based format handling made it a standard component of cross-compilers, embedded SDKs, Linux distribution builds, kernel development, and reverse-engineering or binary-inspection workflows. The target-prefixed naming convention is part of the GNU cross-toolchain culture: x86_64-linux-gnu-as, x86_64-linux-gnu-ld, x86_64-linux-gnu-objdump, and peers make the target explicit.

### 使用方式

Developers use the x86_64-linux-gnu tools to assemble Linux x86-64 assembly, link ELF objects, inspect symbols, disassemble code, transform object files, build archives, strip symbols, and read ELF metadata while keeping the target ABI distinct from the host platform.

The package is especially useful in cross-build systems, CI, compiler work, and systems programming where a build host needs to produce or inspect Linux x86-64 binaries without relying on host-default binutils. It complements x86_64-linux-gnu GCC or Clang workflows and can also be used independently for binary analysis.

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

Target-prefixed binutils are the bedrock of cross-compilation. Seeing x86_64-linux-gnu in the executable names tells package nerds that the tools target the Linux GNU ABI for x86-64, not bare-metal x86_64-elf and not the local host's default object format.

### 时间线

- 1986-1987: The first GNU assembler is released for VAX.
- 1990s: BFD and the GNU binary tools become core parts of GNU and Cygnus-era toolchain work.
- 1999: The Sourceware page still points users to older gas2 and bfd mailing-list archives as the pre-May-1999 discussion lists.
- 2000s-2020s: Binutils continues as a regularly released GNU package with support for new CPU extensions, object formats, and toolchain features.

### Related projects

- GCC commonly invokes GNU as and ld during compilation and linking.
- GDB shares the binutils-gdb source repository and uses the surrounding object-file ecosystem.
- elfutils overlaps with some ELF and DWARF inspection use cases but is Linux/ELF-focused rather than the same portable GNU binutils suite.

### 来源

- <https://en.wikipedia.org/wiki/GNU_Assembler>
- <https://en.wikipedia.org/wiki/GNU_Binutils>
- <https://sourceware.org/binutils/>
- <https://sourceware.org/binutils/docs-2.38/ld.html>
- <https://sourceware.org/binutils/docs-2.41/as.html>
- <https://www.gnu.org/software/binutils/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Combined YAML source

View the package source record on GitHub. [combined/x86_64-linux-gnu-binutils.yml](https://github.com/mxcl/pkgdb/blob/main/combined/x86_64-linux-gnu-binutils.yml)


## 来源

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