macOS
brew install patchelflocal Homebrew formula metadata
sudo port install patchelfMacPorts ports tree · devel/patchelf/Portfile · 来源: api.github.com
安装
brew install patchelflocal Homebrew formula metadata
sudo port install patchelfMacPorts ports tree · devel/patchelf/Portfile · 来源: api.github.com
sudo apk add patchelfAlpine Linux edge package indexes · patchelf · 来源: dl-cdn.alpinelinux.org
sudo apt install patchelfDebian stable package indexes · patchelf · 来源: deb.debian.org
sudo dnf install patchelfFedora Rawhide package metadata · patchelf · 来源: dl.fedoraproject.org
nix profile install nixpkgs#patchelfnixpkgs package indexes · patchelf · 来源: raw.githubusercontent.com
sudo pacman -S patchelfArch Linux sync databases · patchelf · 来源: geo.mirror.pkgbuild.com
sudo zypper install patchelfopenSUSE Tumbleweed package metadata · patchelf · 来源: download.opensuse.org
概览
Modify dynamic ELF executables
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
patchelf | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/NixOS/patchelf
安装元数据
| 软件包键 | brew:patchelf |
|---|---|
| 版本 | 0.19.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/patchelf |
| 主页 | https://github.com/NixOS/patchelf |
| 仓库 | https://github.com/NixOS/patchelf |
| 许可证 | GPL-3.0-or-later |
| 源码归档 | https://github.com/NixOS/patchelf/releases/download/0.19.1/patchelf-0.19.1.tar.bz2 |
| 最后更新 | 2026-09-11T18:33:10Z |
| Pulse | updated |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 patchelf来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.