Automic VaultAutomic Vault

brew

使用 Homebrew, apt, Nix, pacman, dnf 安装 agda

查看 agda 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install agda

local Homebrew formula metadata

概览

软件包摘要

Dependently typed functional programming language

命令和别名

  • agda
  • agda-mode
  • agda2hs

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

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

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:programming language

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 3 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

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

Config paths the tool may read or write during local use.

Unix
.agda-lib~/.config/agda/libraries~/.config/agda/libraries-VERSION~/.config/agda/defaults~/.config/agda/defaults-VERSION~/.agda
Windows
.agda-libC:\Users\USERNAME\AppData\Roaming\agda\librariesC:\Users\USERNAME\AppData\Roaming\agda\libraries-VERSIONC:\Users\USERNAME\AppData\Roaming\agda\defaultsC:\Users\USERNAME\AppData\Roaming\agda\defaults-VERSION

可执行文件

已安装的可执行文件

命令类型暴露范围备注
agdacli全局可执行文件
agda-modecli全局可执行文件
agda2hscli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本2.8.0-r3
管理器更新时间2026-06-22
本地数据OK
上游当前
检测到的最新版本v2.8.0-r3

https://github.com/agda/agda

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:agda
版本2.8.0-r3
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/agda
主页https://wiki.portal.chalmers.se/agda/
仓库https://github.com/agda/agda
上游文档https://agda.readthedocs.io/en/latest
许可证MIT AND BSD-3-Clause
源码归档https://github.com/agda/agda/archive/refs/tags/v2.8.0-r3.tar.gz
最后更新2026-06-22T14:02:41-07:00
Pulseupdated
依赖ghc@9.12, gmp, icu4c@78
构建依赖cabal-install, emacs, pkgconf
macOS 提供的库libffi, ncurses
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明
注意事项To use the installed Agda libraries, execute the following commands: mkdir -p $HOME/.config/agda cp $HOMEBREW_PREFIX/opt/agda/share/agda/example-libraries $HOME/.config/agda/libraries cp $HOMEBREW_PREFIX/opt/agda/share/agda/example-defaults $HOME/.config/agda/defaults You can then inspect the copied files and customize them as needed. If you have upgraded your Agda installation from a previous version, you may need to redo this.

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameagda
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

agda 2.6.4.3-1

dependently typed functional programming language

https://wiki.portal.chalmers.se/agda/

sudo apt install agda
  • Section: misc
  • Architecture: all
  • 5 依赖
  • normalized package name match
  • 匹配方式:Agda
Debian stable package indexes · deb.debian.org · Debian stable package indexes: agda from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

agda-bin 2.6.4.3-1+b2

commandline interface to Agda

https://wiki.portal.chalmers.se/agda/

sudo apt install agda-bin
  • Section: haskell
  • Architecture: amd64
  • Source Package: agda
  • 7 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Agda
Debian stable package indexes · deb.debian.org · Debian stable package indexes: agda-bin from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

elpa-agda2-mode 2.6.4.3-1

dependently typed functional programming language — emacs mode

https://wiki.portal.chalmers.se/agda/

sudo apt install elpa-agda2-mode
  • Section: editors
  • Architecture: all
  • Source Package: agda
  • 4 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Agda
Debian stable package indexes · deb.debian.org · Debian stable package indexes: elpa-agda2-mode from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libghc-agda-dev 2.6.4.3-1+b2

dependently typed functional programming language

https://wiki.portal.chalmers.se/agda/

sudo apt install libghc-agda-dev
  • Section: haskell
  • Architecture: amd64
  • Source Package: agda
  • 32 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Agda
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libghc-agda-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libghc-agda-doc 2.6.4.3-1

dependently typed functional programming language; documentation

https://wiki.portal.chalmers.se/agda/

sudo apt install libghc-agda-doc
  • Section: doc
  • Architecture: all
  • Source Package: agda
  • 1 依赖
  • 1 提供
  • 29 可选依赖
  • normalized package name match
  • 匹配方式:Agda
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libghc-agda-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

agda

nix profile install nixpkgs#agda
  • normalized package name match
  • 匹配方式:Agda
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: agda from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

agda 2.6.3-1build1

dependently typed functional programming language

https://wiki.portal.chalmers.se/agda/

sudo apt install agda
  • Section: universe/misc
  • Architecture: all
  • 5 依赖
  • normalized package name match
  • 匹配方式:Agda
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: agda from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

agda-bin 2.6.3-1build1

commandline interface to Agda

https://wiki.portal.chalmers.se/agda/

sudo apt install agda-bin
  • Section: universe/haskell
  • Architecture: amd64
  • Source Package: agda
  • 6 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Agda
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: agda-bin from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

elpa-agda2-mode 2.6.3-1build1

dependently typed functional programming language — emacs mode

https://wiki.portal.chalmers.se/agda/

sudo apt install elpa-agda2-mode
  • Section: universe/editors
  • Architecture: all
  • Source Package: agda
  • 4 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Agda
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: elpa-agda2-mode from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libghc-agda-dev 2.6.3-1build1

dependently typed functional programming language

https://wiki.portal.chalmers.se/agda/

sudo apt install libghc-agda-dev
  • Section: universe/haskell
  • Architecture: amd64
  • Source Package: agda
  • 32 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Agda
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libghc-agda-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libghc-agda-doc 2.6.3-1build1

dependently typed functional programming language; documentation

https://wiki.portal.chalmers.se/agda/

sudo apt install libghc-agda-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: agda
  • 1 依赖
  • 1 提供
  • 27 可选依赖
  • normalized package name match
  • 匹配方式:Agda
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libghc-agda-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

Agda 2.8.0-59.fc44

A dependently typed functional programming language and proof assistant

https://hackage.haskell.org/package/Agda

sudo dnf install Agda
  • License: MIT AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: Agda
  • 9 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Agda
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: Agda from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

Agda-common 2.8.0-59.fc44

Agda common files

https://hackage.haskell.org/package/Agda

sudo dnf install Agda-common
  • License: MIT AND BSD-3-Clause AND BSD-2-Clause
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: Agda
  • 1 提供
  • normalized package name match
  • 匹配方式:Agda
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: Agda-common from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ghc-Agda 2.8.0-59.fc44

Haskell Agda library

https://hackage.haskell.org/package/Agda

sudo dnf install ghc-Agda
  • License: MIT AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: Agda
  • 32 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Agda
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ghc-Agda from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ghc-Agda-devel 2.8.0-59.fc44

Haskell Agda library development files

https://hackage.haskell.org/package/Agda

sudo dnf install ghc-Agda-devel
  • License: MIT AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: Agda
  • 3 依赖
  • 3 提供
  • normalized package name match
  • 匹配方式:Agda
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ghc-Agda-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

ghc-Agda-doc 2.8.0-59.fc44

Haskell Agda library documentation

https://hackage.haskell.org/package/Agda

sudo dnf install ghc-Agda-doc
  • License: MIT AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: Agda
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Agda
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: ghc-Agda-doc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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