macOS
brew install patchelflocal Homebrew formula metadata
sudo port install patchelfMacPorts ports tree · devel/patchelf/Portfile · source: api.github.com
brew / rank 2059
Modify dynamic ELF executables. Version 0.19.1 via Homebrew; verified 2026-09-11. Also installable with debian: sudo apt install patchelf.
install
brew install patchelflocal Homebrew formula metadata
sudo port install patchelfMacPorts ports tree · devel/patchelf/Portfile · source: api.github.com
sudo apk add patchelfAlpine Linux edge package indexes · patchelf · source: dl-cdn.alpinelinux.org
sudo apt install patchelfDebian stable package indexes · patchelf · source: deb.debian.org
sudo dnf install patchelfFedora Rawhide package metadata · patchelf · source: dl.fedoraproject.org
nix profile install nixpkgs#patchelfnixpkgs package indexes · patchelf · source: raw.githubusercontent.com
sudo pacman -S patchelfArch Linux sync databases · patchelf · source: geo.mirror.pkgbuild.com
sudo zypper install patchelfopenSUSE Tumbleweed package metadata · patchelf · source: download.opensuse.org
overview
Modify dynamic ELF executables
history
PatchELF modifies the dynamic linker and runtime search-path metadata of ELF executables and shared libraries.
Eelco Dolstra authored PatchELF in the context of Nix packaging. The project dates to at least 2004, based on its official copyright notice, and is now maintained in the NixOS organization. It has continued to add ELF-rewriting operations, broader architecture handling, build-system support, tests, and reproducibility-oriented behavior.
PatchELF is packaged across major Linux distribution families and in cross-platform package collections including Homebrew, MacPorts, Nix, and pkgsrc-style ecosystems. Its placement under the NixOS organization reflects its longstanding importance to Nix-style binary relocation and packaging workflows.
Packagers use patchelf to inspect or set an ELF object's interpreter and RPATH, replace declared shared-library dependencies, alter SONAME metadata, and perform related post-build binary adjustments. Because these changes affect runtime linking, outputs normally require validation in the target environment.
PatchELF is a foundational packaging utility because ELF interpreter and RPATH metadata often encode assumptions about a build environment. Rewriting that metadata allows binary artifacts to be adapted to controlled package-store layouts, relocated installations, containers, and other deployment environments without recompilation.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
patchelf | cli | global executable |
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.
https://github.com/NixOS/patchelf
install metadata
| Package key | brew:patchelf |
|---|---|
| Version | 0.19.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/patchelf |
| Homepage | https://github.com/NixOS/patchelf |
| Repository | https://github.com/NixOS/patchelf |
| License | GPL-3.0-or-later |
| Source archive | https://github.com/NixOS/patchelf/releases/download/0.19.1/patchelf-0.19.1.tar.bz2 |
| Last updated | 2026-09-11T18:33:10Z |
| Pulse | updated |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | patchelf |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
patchelf 0.18.0-1.4
modify properties of ELF executables
https://nixos.org/patchelf.html
sudo apt install patchelfpatchelf
nix profile install nixpkgs#patchelfpatchelf 0.18.0-1.1build1
modify properties of ELF executables
https://nixos.org/patchelf.html
sudo apt install patchelfpatchelf 0.18.0-r3
Small utility to modify the dynamic linker and RPATH of ELF executables
https://nixos.org/patchelf.html
sudo apk add patchelfpatchelf-doc 0.18.0-r3
Small utility to modify the dynamic linker and RPATH of ELF executables (documentation)
https://nixos.org/patchelf.html
sudo apk add patchelf-docpatchelf-zsh-completion 0.18.0-r3
Zsh completions for patchelf
https://nixos.org/patchelf.html
sudo apk add patchelf-zsh-completionpatchelf 0.19.1-2.fc45
A utility for patching ELF binaries
http://nixos.org/patchelf.html
sudo dnf install patchelfpatchelf 0.19.1-1
Small utility to modify the dynamic linker and RPATH of ELF executables
https://nixos.org/patchelf.html
sudo pacman -S patchelfpatchelf 0.19.1-1.1
A utility for patching ELF binaries
https://nixos.org/patchelf.html
sudo zypper install patchelfpatchelf
sudo port install patchelfsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.