patchelf

modify properties of ELF executables

Install

All systems
curl cmd.cat/patchelf.sh
Debian Debian
apt-get install patchelf
Ubuntu
apt-get install patchelf
Alpine
apk add patchelf
Arch Arch Linux
pacman -S patchelf
image/svg+xml Kali Linux
apt-get install patchelf
Fedora
dnf install patchelf
Windows (WSL2)
sudo apt-get update sudo apt-get install patchelf
OS X
brew install patchelf
Raspbian
apt-get install patchelf
Docker
docker run cmd.cat/patchelf patchelf powered by Commando

patchelf

modify properties of ELF executables

PatchELF is a simple utility for modifying existing ELF executables and libraries. In particular, it can do the following: * Change the dynamic loader ("ELF interpreter") of executables * Change the RPATH of executables and libraries * Remove declared dependencies on dynamic libraries (DT_NEEDED entries)