# agda mit Homebrew, apt, Nix, pacman, dnf installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für agda in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:agda
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install agda
```

  Evidenz: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install agda
```

  Evidenz: Debian stable package indexes: agda from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#agda
```

  Evidenz: nixpkgs package indexes: agda from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- pacman (92%):

```sh
sudo pacman -S agda
```

  Evidenz: Arch Linux sync databases: agda from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- dnf (92%):

```sh
sudo dnf install Agda
```

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

## Paketfakten

- **Paketschlüssel:** brew:agda
- **Paketmanager:** Homebrew
- **Version:** 2.8.0-r3
- **Quellzusammenfassung:** Dependently typed functional programming language
- **Homepage:** <https://wiki.portal.chalmers.se/agda/>
- **Repository:** <https://github.com/agda/agda>
- **Zuletzt aktualisiert:** 2026-07-10T11:09:14-04:00
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- agda (Alias)
- agda-mode (Alias)
- agda2hs (Alias)
- als (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 2.8.0-r3
## Projektgeschichte und Nutzung

Agda is a dependently typed programming language and interactive theorem prover rooted in the Gothenburg tradition of Martin-Lof type theory systems. It is both a language-runtime package and a proof-assistant package, with an interactive editor workflow and a library system based on .agda-lib files.

### Projektgeschichte

The official history page traces the lineage back to proof assistants based on Martin-Lof type theory developed in Gothenburg since 1983, followed by intensional dependent type theory systems around 1990 such as ALF. In the mid-1990s, prototypes and redesigns explored theory mechanisms, proof editors, and type checking with metavariable constraints.

The original Agda, now often called Agda 1, was implemented in Haskell by Catarina Coquand. In 2004 the Programming Logic Group began collaborating with AIST in Japan, and the Agda Implementors Meetings started as biannual meetings alternating between Sweden and Japan.

Work on the current Agda system began after the 2005 AgdaLight prototype by Ulf Norell and Andreas Abel. Ulf Norell's 2007 thesis, 'Towards a practical programming language based on dependent type theory', is named by the official history page as a main reference for Agda 2.

### Adoptionsgeschichte

Agda's adoption has grown through academic type theory, dependently typed programming, proof engineering, and formalized mathematics communities. The official wiki says the center of development is the Logic and Types group at Chalmers and Gothenburg University, while GitHub metadata shows a broad open-source contributor base.

As a package, Agda is visible across Haskell and OS package ecosystems. The README links Hackage and Stackage badges, the official installation docs describe binary releases, source builds with cabal and Nix, and a Python installer, and the supplied batch facts list Homebrew, Debian, Fedora, Nix, Arch, and Ubuntu.

### Wie es verwendet wird

Users run agda to type-check files, use agda-mode or another editor integration for interactive development, and manage libraries through .agda-lib files plus AGDA_DIR/libraries and AGDA_DIR/defaults files. On Unix-like systems AGDA_DIR defaults to ~/.config/agda, with fallback behavior for ~/.agda; on Windows it defaults under AppData/Roaming/agda.

Agda code often depends on the standard library but the official installation page notes that the standard library is not necessarily bundled with every Agda distribution. The package-system documentation therefore matters to packagers and users because it defines how installed libraries become visible to the type checker.

### Warum Paket-Nerds sich dafür interessieren

Agda is one of those packages where the executable is only half the story: editor integration, Unicode input, library metadata, GHC compatibility, data files, standard-library versioning, and release notes all affect whether users can actually type-check projects.

The 2.8.0 release notes are especially package-relevant because they say Agda became a self-contained single binary and mention behavior around data files and library builds. That kind of upstream packaging change directly affects formulae, distro packages, and reproducible development environments.

### Zeitleiste

- 1983: Gothenburg work on Martin-Lof type theory proof assistants begins.
- 1990: ALF lineage of intensional dependent type theory systems begins around Gothenburg.
- 2004: Agda collaboration with AIST begins and Agda Implementors Meetings start.
- 2005: AgdaLight prototype work begins, leading toward Agda 2.
- 2007: Ulf Norell thesis on a practical dependently typed programming language published.
- 2025: Agda 2.8.0 released.

### Related projects

- ALF is the earlier Gothenburg logical framework named in the official history.
- AgdaLight is the 2005 prototype named as a direct precursor to Agda 2.
- The Agda standard library is a separately versioned library package used by many Agda projects.
- Rocq, Epigram, Matita, and NuPRL are listed by the official wiki as related dependent-type proof assistants.

### Quellen

- <https://agda.readthedocs.io/en/latest/getting-started/what-is-agda.html>
- <https://agda.readthedocs.io/en/latest/tools/package-system.html>
- <https://github.com/agda/agda/releases/tag/v2.8.0>
- <https://wiki.portal.chalmers.se/agda>
- <https://wiki.portal.chalmers.se/agda/Main/History>
- source_facts.package-manager


## Sicherheitshinweise

generalized runtime or code generation signal.

- **Geiger-Risiko:** yellow / mittel
- generalized runtime or code generation signal


## 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: .agda-lib, ~/.config/agda/libraries, ~/.config/agda/libraries-VERSION, ~/.config/agda/defaults, ~/.config/agda/defaults-VERSION, ~/.agda
- Windows: .agda-lib, C:\Users\USERNAME\AppData\Roaming\agda\libraries, C:\Users\USERNAME\AppData\Roaming\agda\libraries-VERSION, C:\Users\USERNAME\AppData\Roaming\agda\defaults, C:\Users\USERNAME\AppData\Roaming\agda\defaults-VERSION
## Andere Paketmanager-Einträge

- Debian apt - agda - 2.6.4.3-1: normalized package name match | Debian stable package indexes: agda from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | dependently typed functional programming language | https://wiki.portal.chalmers.se/agda/
- Debian apt - agda-bin - 2.6.4.3-1+b2: normalized package name match | Debian stable package indexes: agda-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | commandline interface to Agda | https://wiki.portal.chalmers.se/agda/
- Debian apt - elpa-agda2-mode - 2.6.4.3-1: normalized package name match | Debian stable package indexes: elpa-agda2-mode from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | dependently typed functional programming language — emacs mode | https://wiki.portal.chalmers.se/agda/
- Debian apt - libghc-agda-dev - 2.6.4.3-1+b2: normalized package name match | Debian stable package indexes: libghc-agda-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | dependently typed functional programming language | https://wiki.portal.chalmers.se/agda/
- Debian apt - libghc-agda-doc - 2.6.4.3-1: normalized package name match | Debian stable package indexes: libghc-agda-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | dependently typed functional programming language; documentation | https://wiki.portal.chalmers.se/agda/
- Nix - agda: normalized package name match | nixpkgs package indexes: agda from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Ubuntu apt - agda - 2.6.3-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: agda from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | dependently typed functional programming language | https://wiki.portal.chalmers.se/agda/
- Ubuntu apt - agda-bin - 2.6.3-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: agda-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | commandline interface to Agda | https://wiki.portal.chalmers.se/agda/
- Ubuntu apt - elpa-agda2-mode - 2.6.3-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: elpa-agda2-mode from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | dependently typed functional programming language — emacs mode | https://wiki.portal.chalmers.se/agda/
- Ubuntu apt - libghc-agda-dev - 2.6.3-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libghc-agda-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | dependently typed functional programming language | https://wiki.portal.chalmers.se/agda/
- Ubuntu apt - libghc-agda-doc - 2.6.3-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libghc-agda-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | dependently typed functional programming language; documentation | https://wiki.portal.chalmers.se/agda/
- dnf - Agda - 2.8.0-60.fc45: normalized package name match | Fedora Rawhide package metadata: Agda from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A dependently typed functional programming language and proof assistant | https://hackage.haskell.org/package/Agda
- dnf - Agda-common - 2.8.0-60.fc45: normalized package name match | Fedora Rawhide package metadata: Agda-common from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Agda common files | https://hackage.haskell.org/package/Agda
- dnf - ghc-Agda - 2.8.0-60.fc45: normalized package name match | Fedora Rawhide package metadata: ghc-Agda from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Haskell Agda library | https://hackage.haskell.org/package/Agda
- dnf - ghc-Agda-devel - 2.8.0-60.fc45: normalized package name match | Fedora Rawhide package metadata: ghc-Agda-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Haskell Agda library development files | https://hackage.haskell.org/package/Agda
- dnf - ghc-Agda-doc - 2.8.0-60.fc45: normalized package name match | Fedora Rawhide package metadata: ghc-Agda-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Haskell Agda library documentation | https://hackage.haskell.org/package/Agda


## Combined YAML source

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


## Quellen

- 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
