How To Install emacs-agda on CentOS 7
Introduction
In this tutorial we learn how to install emacs-agda
on CentOS 7.
What is emacs-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. This is the interactive Emacs mode for Agda.
We can use yum
or dnf
to install emacs-agda
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install emacs-agda.
Install emacs-agda on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install emacs-agda
using yum
by running the following command:
Install emacs-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.
After updating yum database, We can install emacs-agda
using dnf
by running the following command:
How To Uninstall emacs-agda on CentOS 7
To uninstall only the emacs-agda
package we can use the following command:
References
Summary
In this tutorial we learn how to install emacs-agda
on CentOS 7 using yum
and dnf
.