# chrpath を Homebrew, apk, apt, dnf, Nix, pacman, zypper でインストール

chrpath のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:chrpath
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install chrpath
```

  証拠: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add chrpath
```

  証拠: Alpine Linux edge package indexes: chrpath from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install chrpath
```

  証拠: Debian stable package indexes: chrpath from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install chrpath
```

  証拠: Fedora Rawhide package metadata: chrpath from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#chrpath
```

  証拠: nixpkgs package indexes: pkgs/by-name/ch/chrpath/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S chrpath
```

  証拠: Arch Linux sync databases: chrpath from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install chrpath
```

  証拠: openSUSE Tumbleweed package metadata: chrpath from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:chrpath
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.18
- **ソース概要:** Tool to edit the rpath in ELF binaries
- **ホームページ:** <https://tracker.debian.org/pkg/chrpath>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- chrpath (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.18
## プロジェクトの歴史と使われ方

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

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

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

### ソース

- <https://codeberg.org/pere/chrpath/src/branch/master/README>
- <https://codeberg.org/pere/chrpath/src/branch/master/NEWS>
- <https://codeberg.org/pere/chrpath/src/branch/master/chrpath.rst>
- <https://codeberg.org/api/v1/repos/pere/chrpath>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - chrpath - 0.18-1: normalized package name match | Debian stable package indexes: chrpath from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tool to edit the rpath in ELF binaries | https://codeberg.org/pere/chrpath
- Nix - chrpath: normalized package name match | nixpkgs package indexes: pkgs/by-name/ch/chrpath/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - chrpath - 0.16-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: chrpath from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Tool to edit the rpath in ELF binaries | https://alioth.debian.org/projects/chrpath/
- apk - chrpath - 0.18-r0: normalized package name match | Alpine Linux edge package indexes: chrpath from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Modify rpath of compiled programs | https://codeberg.org/pere/chrpath
- apk - chrpath-doc - 0.18-r0: normalized package name match | Alpine Linux edge package indexes: chrpath-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | Modify rpath of compiled programs (documentation) | https://codeberg.org/pere/chrpath
- dnf - chrpath - 0.16-29.fc45: normalized package name match | Fedora Rawhide package metadata: chrpath from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Modify rpath of compiled programs | https://chrpath.alioth.debian.org/
- pacman - chrpath - 0.18-1: normalized package name match | Arch Linux sync databases: chrpath from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Change or delete the rpath or runpath in ELF files | https://codeberg.org/pere/chrpath
- zypper - chrpath - 0.18-1.5: normalized package name match | openSUSE Tumbleweed package metadata: chrpath from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Modifies the dynamic library load path of compiled programs and libraries | https://codeberg.org/pere/chrpath


## Combined YAML source

View the package source record on GitHub. [combined/chrpath.yml](https://github.com/mxcl/pkgdb/blob/main/combined/chrpath.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
