How To Install Agda on CentOS 7
Introduction
In this tutorial we learn how to install Agda on CentOS 7.
What is Agda
Agda is a dependently typed functional programming language has 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 writing and 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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install Agda.
Install Agda on CentOS 7 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install Agda using yum by running the following command:
sudo yum -y install Agda
Install Agda on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install Agda using dnf by running the following command:
sudo dnf -y install Agda
How To Uninstall Agda on CentOS 7
To uninstall only the Agda package we can use the following command:
sudo dnf remove Agda
References
Summary
In this tutorial we learn how to install Agda on CentOS 7 using yum and dnf.