# deja-gnu を Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper でインストール

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

## インストール

```sh
sudo av install brew:deja-gnu
```

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

### macOS

- Homebrew (100%):

```sh
brew install deja-gnu
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install dejagnu
```

  証拠: MacPorts ports tree: devel/dejagnu/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add dejagnu
```

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

- Debian apt (92%):

```sh
sudo apt install dejagnu
```

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

- dnf (92%):

```sh
sudo dnf install dejagnu
```

  証拠: Fedora Rawhide package metadata: dejagnu 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#dejagnu
```

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

- pacman (92%):

```sh
sudo pacman -S dejagnu
```

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

- zypper (92%):

```sh
sudo zypper install dejagnu
```

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

## パッケージ情報

- **パッケージキー:** brew:deja-gnu
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.6.3
- **ソース概要:** Framework for testing other programs
- **ホームページ:** <https://www.gnu.org/software/dejagnu/>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- dejagnu (エイリアス)
- runtest (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

DejaGnu is GNU's test framework for exercising command-line programs through Expect and Tcl. It is best known in toolchain circles because it lets a single testsuite drive local, remote, embedded, and simulator targets with the same runtest interface.

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

DejaGnu became a GNU package to solve a very GNU problem: testing compilers, debuggers, binutils, and other portable development tools across many hosts and targets. Its Savannah project page identifies the official GNU project and source repository, while the GNU manual documents the runtest harness, board files, site configuration, and per-user startup file used by the framework.

The GNU FTP archive shows DejaGnu releases dating back to the 1.3 series in 1996, followed by long-lived 1.4, 1.5, and 1.6 release lines. That release pattern mirrors its role as infrastructure: the tool changes slowly, but it remains important wherever old and new toolchains need repeatable test results.

### 採用の歴史

DejaGnu's adoption is tied to the GNU toolchain rather than to application development fashion. Projects that need to run the same tests against native binaries, cross targets, simulators, or remote boards use DejaGnu because its abstraction is old, boring, and understood by compiler and embedded developers.

The package is widely shipped by Unix-like package managers because it is a build and test dependency for other low-level software. Homebrew packages it as deja-gnu, while GNU distributes canonical source tarballs through ftp.gnu.org.

### 使われ方

Users normally invoke the runtest command from a package testsuite. Site-wide and user-specific configuration can tune board definitions, tool paths, and target behavior through site.exp and ~/.dejagnurc.

DejaGnu matters most when tests must be portable across machines rather than just run locally. The same test description can talk to a native program, a remote target, or a simulator through Expect-driven interactions.

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

For package maintainers, DejaGnu is one of the classic pieces of GNU release machinery: not glamorous, but deeply embedded in the way compilers and binary tools prove they still work.

Its presence in dependency graphs often signals that a formula or distribution package is running upstream's real tests instead of a smoke test. That makes it an important clue when auditing build quality for toolchain packages.

### タイムライン

- 1996: DejaGnu 1.3 appears in the GNU FTP archive.
- 2001: The 1.4 release line is distributed through GNU FTP.
- 2011: DejaGnu 1.5 is released after a long 1.4 maintenance period.
- 2016: DejaGnu 1.6 is released.
- 2021: DejaGnu 1.6.3 is published in the GNU FTP archive.

### Related projects

- Expect and Tcl provide the interaction layer DejaGnu uses to drive programs under test.
- GCC, GDB, and Binutils are representative GNU toolchain projects whose testing culture overlaps with DejaGnu.
- Autotest and Automake are adjacent GNU testing and build tools, but DejaGnu specializes in target-oriented test execution.

### ソース

- <https://savannah.gnu.org/projects/dejagnu>
- <https://git.savannah.gnu.org/cgit/dejagnu.git>
- <https://ftp.gnu.org/gnu/dejagnu/>
- <https://www.gnu.org/software/dejagnu/manual>


## セキュリティノート

narrow executable package without higher-risk signals.

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


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.dejagnurc, site.exp
## 他のパッケージマネージャ記録

- MacPorts - dejagnu: installed executable or alias match | MacPorts ports tree: devel/dejagnu/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - dejagnu - 1.6.3-1.1: installed executable or alias match | Debian stable package indexes: dejagnu from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | framework for running test suites on software tools
- Nix - dejagnu: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/de/dejagnu/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - dejagnu - 1.6.3-1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: dejagnu from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | framework for running test suites on software tools
- apk - dejagnu - 1.6.3-r1: installed executable or alias match | Alpine Linux edge package indexes: dejagnu from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A framework for testing other programs | https://www.gnu.org/software/dejagnu/
- apk - dejagnu-dev - 1.6.3-r1: installed executable or alias match | Alpine Linux edge package indexes: dejagnu-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A framework for testing other programs (development files) | https://www.gnu.org/software/dejagnu/
- apk - dejagnu-doc - 1.6.3-r1: installed executable or alias match | Alpine Linux edge package indexes: dejagnu-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A framework for testing other programs (documentation) | https://www.gnu.org/software/dejagnu/
- dnf - dejagnu - 1.6.3-19.fc45: installed executable or alias match | Fedora Rawhide package metadata: dejagnu from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A front end for testing other programs | http://www.gnu.org/software/dejagnu/
- pacman - dejagnu - 1.6.3-19: installed executable or alias match | Arch Linux sync databases: dejagnu from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Framework for testing other programs | https://www.gnu.org/software/dejagnu/
- zypper - dejagnu - 1.6.3-2.5: installed executable or alias match | openSUSE Tumbleweed package metadata: dejagnu from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Framework for Running Test Suites on Software Tools | https://www.gnu.org/software/dejagnu/


## Combined YAML source

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


## ソース

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