How To Install idris on Fedora 36
Introduction
In this tutorial we learn how to install idris
on Fedora 36.
What is idris
Idris is a general purpose language with full dependent types. It is compiled, with eager evaluation. Dependent types allow types to be predicated on values, meaning that some aspects of a program’s behaviour can be specified precisely in the type. The language is closely related to Epigram and Agda. There is a tutorial at <https Features include * Full, first class, dependent types with dependent pattern matching * where clauses, with rule, case expressions, pattern matching let and lambda bindings * Interfaces (similar to type classes), monad comprehensions * do notation, idiom brackets, syntactic conveniences for lists, tuples, dependent pairs * Totality checking * Coinductive types * Indentation significant syntax, extensible syntax * Cumulative universes * Simple foreign function interface (to C) * Hugs style interactive environment.
We can use yum
or dnf
to install idris
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install idris.
Install idris 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 idris
using dnf
by running the following command:
sudo dnf -y install idris
Install idris 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 idris
using yum
by running the following command:
sudo yum -y install idris
How To Uninstall idris on Fedora 36
To uninstall only the idris
package we can use the following command:
sudo dnf remove idris
idris Package Contents on Fedora 36
/usr/bin/idris
/usr/bin/idris-codegen-c
/usr/bin/idris-codegen-javascript
/usr/bin/idris-codegen-node
/usr/lib/.build-id
/usr/lib/.build-id/18
/usr/lib/.build-id/18/56c916262aa6e8306a5d049bce52ceb64fbfc5
/usr/lib/.build-id/30
/usr/lib/.build-id/30/19b3071e6c2c8bec2b2b48da59ac5edbed3d26
/usr/lib/.build-id/45
/usr/lib/.build-id/45/d28a6aa7d3e48b8c555a66233cda7822eeeb8f
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/e2c576f371fb5d7336c38576a18dbc168b92d3
/usr/share/bash-completion/completions/idris
/usr/share/bash-completion/completions/idris-codegen-c
/usr/share/bash-completion/completions/idris-codegen-javascript
/usr/share/bash-completion/completions/idris-codegen-node
/usr/share/man/man1/idris.1.gz
References
Summary
In this tutorial we learn how to install idris
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).