Automic VaultAutomic Vault

brew

Install chrpath with Homebrew, apk, apt, dnf, Nix, pacman, zypper

Tool to edit the rpath in ELF binaries. Version 0.18 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install chrpath

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add chrpath

Alpine Linux edge package indexes · chrpath · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install chrpath

Debian stable package indexes · chrpath · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install chrpath

Fedora Rawhide package metadata · chrpath · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#chrpath

nixpkgs package indexes · pkgs/by-name/ch/chrpath/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S chrpath

Arch Linux sync databases · chrpath · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install chrpath

openSUSE Tumbleweed package metadata · chrpath · source: download.opensuse.org

overview

Package summary

Tool to edit the rpath in ELF binaries

Commands and aliases

  • chrpath

history

Project history and usage

chrpath is a small command-line tool for listing, removing, converting, and replacing the RPATH or RUNPATH embedded in ELF binaries.

Project history

The official NEWS file records chrpath 0.1 in March 2001 with support for deleting and modifying rpath information. The README says the tool was based on two small programs found on the GCC mailing list.

The project accumulated portability fixes for Solaris, Irix, 64-bit architectures, Hurd, kFreeBSD, and other ELF edge cases. In 2023, the project moved to Codeberg after Alioth shut down.

Adoption history

The supplied package facts show broad distribution packaging across apk, Homebrew, Debian, dnf, Nix, pacman, Ubuntu, and zypper. The NEWS file also shows Debian packaging work early in the project history.

How it is used

chrpath lists the current rpath or runpath by default, deletes it with -d, converts RPATH to RUNPATH with -c, and replaces an existing value with -r when the replacement is no longer than the current string.

Why package nerds care

chrpath is package-manager plumbing: it fixes build and relocation artifacts after compilation without relinking. Packagers care about it because RPATH and RUNPATH determine whether a binary uses bundled, build-directory, or system libraries at runtime.

Timeline

  • 2001: 0.1 first release with rpath deletion and modification.
  • 2002: 0.6 added a manual page and Debian package scripts.
  • 2011: 0.14 moved the project to Alioth and improved cross-endian ELF handling.
  • 2014: 0.16 fixed Coverity-discovered issues.
  • 2023: 0.17 moved the project to Codeberg.
  • 2024: 0.18 added DT_MIPS_RLD_MAP_REL support and packaging metadata adjustments.

Related projects

  • Related tools include patchelf and elfhack; related concepts include ELF dynamic sections, DT_RPATH, DT_RUNPATH, runtime linkers, and distribution binary patching.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 2 platform targets.
  • Build metadata lists 2 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
chrpathcliglobal 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-07-08
manager version0.18
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://tracker.debian.org/pkg/chrpath

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://tracker.debian.org/pkg/chrpathnone confidence

install metadata

Package metadata

Package keybrew:chrpath
Version0.18
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/chrpath
Homepagehttps://tracker.debian.org/pkg/chrpath
Repositoryhttps://codeberg.org/pere/chrpath
Upstream docshttps://codeberg.org/pere/chrpath/src/branch/master/README.md
LicenseGPL-2.0-or-later
Source archivehttps://deb.debian.org/debian/pool/main/c/chrpath/chrpath_0.18.orig.tar.gz
Build dependenciesautoconf, automake
Bottleavailable (on arm64_linux, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namechrpath
Version Scheme0
Revision0
Requirements
  • linux
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.

Debian apt95%

chrpath 0.18-1

Tool to edit the rpath in ELF binaries

https://codeberg.org/pere/chrpath

sudo apt install chrpath
  • Section: utils
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Chrpath
Debian stable package indexes · deb.debian.org · Debian stable package indexes: chrpath from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

chrpath

nix profile install nixpkgs#chrpath
  • normalized package name match
  • Matched by: Chrpath
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ch/chrpath/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

chrpath 0.16-2build1

Tool to edit the rpath in ELF binaries

https://alioth.debian.org/projects/chrpath/

sudo apt install chrpath
  • Section: universe/utils
  • Architecture: amd64
  • 1 dependencies
  • normalized package name match
  • Matched by: Chrpath
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: chrpath from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

chrpath 0.18-r0

Modify rpath of compiled programs

https://codeberg.org/pere/chrpath

sudo apk add chrpath
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: chrpath
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Chrpath
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: chrpath from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

chrpath-doc 0.18-r0

Modify rpath of compiled programs (documentation)

https://codeberg.org/pere/chrpath

sudo apk add chrpath-doc
  • License: GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: chrpath
  • normalized package name match
  • Matched by: Chrpath
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: chrpath-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

chrpath 0.16-28.fc44

Modify rpath of compiled programs

https://chrpath.alioth.debian.org/

sudo dnf install chrpath
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: chrpath
  • 2 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Chrpath
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: chrpath from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

chrpath 0.18-1

Change or delete the rpath or runpath in ELF files

https://codeberg.org/pere/chrpath

sudo pacman -S chrpath
  • License: GPL2
  • Architecture: x86_64
  • 1 dependencies
  • normalized package name match
  • Matched by: Chrpath
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: chrpath from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

chrpath 0.18-1.3

Modifies the dynamic library load path of compiled programs and libraries

https://codeberg.org/pere/chrpath

sudo zypper install chrpath
  • License: GPL-2.0-or-later
  • Category: Development/Tools/Building
  • Architecture: x86_64
  • Source Package: chrpath
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Chrpath
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: chrpath from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

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

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment