How To Install Agda on Fedora 36

In this tutorial we learn how to install Agda in Fedora 36. Agda is A dependently typed functional programming language and proof assistant

Introduction

In this tutorial we learn how to install Agda on Fedora 36.

What is Agda

Agda is a dependently typed functional programming language inductive families, which are similar to Haskell’s GADTs, but they can be indexed by values and not just types. It also has parameterized modules, mixfix operators, Unicode characters, and an interactive Emacs interface (the type checker can assist in the development of your code). Agda is also a proof assistant checking proofs. Agda is based on intuitionistic type theory, a foundational system for constructive mathematics developed by the Swedish logician Per Martin-Löf. It has many similarities with other proof assistants based on dependent types, such as Coq, Epigram and NuPRL.

We can use yum or dnf to install Agda on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install Agda.

Install Agda on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install Agda using dnf by running the following command:

sudo dnf -y install Agda

Install Agda on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install Agda using yum by running the following command:

sudo yum -y install Agda

How To Uninstall Agda on Fedora 36

To uninstall only the Agda package we can use the following command:

sudo dnf remove Agda

Agda Package Contents on Fedora 36

/usr/bin/agda
/usr/lib/.build-id
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/be5969ed76ff53a2bc620c637efb99ac6cbabf
/usr/share/emacs/site-lisp/agda
/usr/share/emacs/site-lisp/agda/agda-input.el
/usr/share/emacs/site-lisp/agda/agda-input.elc
/usr/share/emacs/site-lisp/agda/agda2-abbrevs.el
/usr/share/emacs/site-lisp/agda/agda2-abbrevs.elc
/usr/share/emacs/site-lisp/agda/agda2-highlight.el
/usr/share/emacs/site-lisp/agda/agda2-highlight.elc
/usr/share/emacs/site-lisp/agda/agda2-mode-pkg.el
/usr/share/emacs/site-lisp/agda/agda2-mode-pkg.elc
/usr/share/emacs/site-lisp/agda/agda2-mode.el
/usr/share/emacs/site-lisp/agda/agda2-mode.elc
/usr/share/emacs/site-lisp/agda/agda2-queue.el
/usr/share/emacs/site-lisp/agda/agda2-queue.elc
/usr/share/emacs/site-lisp/agda/agda2.el
/usr/share/emacs/site-lisp/agda/agda2.elc
/usr/share/emacs/site-lisp/agda/annotation.el
/usr/share/emacs/site-lisp/agda/annotation.elc
/usr/share/emacs/site-lisp/agda/eri.el
/usr/share/emacs/site-lisp/agda/eri.elc
/usr/share/emacs/site-lisp/site-start.d/agda-mode-init.el

References

Summary

In this tutorial we learn how to install Agda on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).