# lief-patchelf を Homebrew, winget でインストール

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

## インストール

```sh
sudo av install brew:lief-patchelf
```

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

### macOS

- Homebrew (100%):

```sh
brew install lief-patchelf
```

  証拠: local Homebrew formula metadata

### Windows

- winget (92%):

```sh
winget install --id lief-project.lief-patchelf -e
```

  証拠: Windows Package Manager source index: lief-project.lief-patchelf from https://cdn.winget.microsoft.com/cache/source.msix

## パッケージ情報

- **パッケージキー:** brew:lief-patchelf
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/lief-patchelf>
- **バージョン:** 1.0.0
- **ソース概要:** Robust, modern reimplementation of patchelf based on the LIEF
- **ホームページ:** <https://lief.re/doc/latest/tools/lief-patchelf/index.html>
- **リポジトリ:** <https://github.com/lief-project/LIEF>
- **上流ドキュメント:** <https://lief.re/doc/latest/tools/lief-patchelf/index.html>
- **ライセンス:** Apache-2.0
- **ソースアーカイブ:** <https://github.com/lief-project/LIEF/archive/refs/tags/1.0.0.tar.gz>
- **最終更新:** 2026-07-27T02:32:46Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- lief-patchelf (cli)
- lief-patchelf (エイリアス)

## ビルド依存関係

- rust

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.0.0
- マネージャ更新日: 2026-07-27
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/lief-project/LIEF
- 検出された最新: 1.0.0 (最新)
## プロジェクトの歴史と使われ方

lief-patchelf is LIEF's Rust-based reimplementation of NixOS patchelf, a command-line utility for modifying properties of ELF executables and shared libraries. It intentionally preserves the original tool's command-line interface.

### プロジェクトの歴史

The LIEF project introduced lief-patchelf in July 2025 as a more robust, modern, and maintainable implementation built on LIEF's binary-parsing and rewriting facilities. The tool lives inside the broader LIEF repository rather than as a separate upstream project.

### 採用の歴史

Compatibility with the original NixOS patchelf command line is intended to make substitution straightforward. The supplied package record shows lief-patchelf as a standalone Homebrew formula, while the official documentation also supports building it directly with Cargo.

### 使われ方

Users employ lief-patchelf through the familiar patchelf-style CLI to alter ELF metadata. The binary can also generate its own man page and completion scripts for bash, elvish, fish, PowerShell, and zsh.

### パッケージ好きにとっての重要性

patchelf is a foundational packaging utility for repairing interpreter and runtime-library paths in prebuilt ELF software. lief-patchelf is significant because it offers a compatible implementation based on a cross-platform binary-instrumentation library and a Rust CLI, while remaining installable as its own package.

### タイムライン

- 2025: LIEF added lief-patchelf on July 12 as a LIEF-based implementation of NixOS patchelf.
- 2026: LIEF 1.0.0 was released on July 12 with lief-patchelf included in the official tool documentation.

### Related projects

- NixOS/patchelf is the original implementation whose command-line interface lief-patchelf preserves.
- LIEF provides the executable-format parsing and modification foundation used by lief-patchelf.

### ソース

- <https://github.com/lief-project/LIEF/commit/7fce27408ad8ccef9ab10c3b324c556a018b349d>
- <https://github.com/lief-project/LIEF/releases/tag/1.0.0>
- <https://lief.re/doc/latest/tools/lief-patchelf/index.html>
- source_facts.package-manager


## セキュリティノート

lief-patchelf に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、パッケージメタデータはここに公開されています。


## ソースデータベース詳細

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

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

- winget - lief-project.lief-patchelf: normalized package name match | Windows Package Manager source index: lief-project.lief-patchelf from https://cdn.winget.microsoft.com/cache/source.msix


## 関連リンク

- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Documentation packages](https://pkg.so/ja/documentation-tools/) - Matched documentation, manual, or publishing metadata.
- [Web development packages](https://pkg.so/ja/web-dev-tools/) - Matched web development metadata.
- [Homebrew utility packages](https://pkg.so/ja/brew-utility-packages/) - Matched curated package taxonomy and local package facts.
- [rust](https://pkg.so/ja/brew/rust/) - Build dependency declared by Homebrew.
- [micro](https://pkg.so/ja/brew/micro/) - Local package facts share a topical domain. Shared terms: based, modern.
- [micronaut](https://pkg.so/ja/brew/micronaut/) - Local package facts share a topical domain. Shared terms: based, modern.
- [nbsdgames](https://pkg.so/ja/brew/nbsdgames/) - Local package facts share a topical domain. Shared terms: based, modern.

## Combined YAML source

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


## ソース

- pkg.so package database
- package-page enrichment
- curated package history
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
