pkg.soopen package index

brew / rank 20171

Install lief-patchelf with Homebrew, winget

Robust, modern reimplementation of patchelf based on the LIEF. Version 1.0.0 via Homebrew; verified 2026-07-27. Also installable with winget: winget install --id lief-project.lief-patchelf -e.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install lief-patchelf

local Homebrew formula metadata

Windows

Windows Package Managerverified · 92%
winget install --id lief-project.lief-patchelf -e

Windows Package Manager source index · lief-project.lief-patchelf · source: cdn.winget.microsoft.com

overview

Package summary

Robust, modern reimplementation of patchelf based on the LIEF

Commands and aliases

  • lief-patchelf

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

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

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for lief-patchelf. Package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
lief-patchelfcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-04
manager version1.0.0
manager updated2026-07-27
local dataok
upstreamcurrent
latest detected1.0.0

https://github.com/lief-project/LIEF

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:lief-patchelf
Version1.0.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/lief-patchelf
Homepagehttps://lief.re/doc/latest/tools/lief-patchelf/index.html
Repositoryhttps://github.com/lief-project/LIEF
Upstream docshttps://lief.re/doc/latest/tools/lief-patchelf/index.html
LicenseApache-2.0
Source archivehttps://github.com/lief-project/LIEF/archive/refs/tags/1.0.0.tar.gz
Last updated2026-07-27T02:32:46Z
Pulseupdated
Build dependenciesrust
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelief-patchelf
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

winget95%

lief-project.lief-patchelf

winget install --id lief-project.lief-patchelf -e
  • normalized package name match
  • Matched by: Lief Patchelf
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: lief-project.lief-patchelf from https://cdn.winget.microsoft.com/cache/source.msix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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