How To Install ocaml-facile on Fedora 36
Introduction
In this tutorial we learn how to install ocaml-facile
on Fedora 36.
What is ocaml-facile
FaCiLe is a constraint programming library on integer and integer set finite domains written in OCaml. It offers all usual facilities to create and manipulate finite domain variables, arithmetic expressions and constraints (possibly non-linear), built-in global constraints (difference, cardinality, sorting etc.) and search and optimization goals. FaCiLe allows as well to build easily user-defined constraints and goals (including recursive ones), making pervasive use of OCaml higher-order functionals to provide a simple and flexible interface for the user. As FaCiLe is an OCaml library and not “yet another language”, the user benefits from type inference and strong typing discipline, high level of abstraction, modules and objects system, as well as native code compilation efficiency, garbage collection and replay debugger, all features of OCaml (among many others) that allow to prototype and experiment quickly modeling, data processing and interface are implemented with the same powerful and efficient language.
We can use yum
or dnf
to install ocaml-facile
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-facile.
Install ocaml-facile 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 ocaml-facile
using dnf
by running the following command:
sudo dnf -y install ocaml-facile
Install ocaml-facile 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 ocaml-facile
using yum
by running the following command:
sudo yum -y install ocaml-facile
How To Uninstall ocaml-facile on Fedora 36
To uninstall only the ocaml-facile
package we can use the following command:
sudo dnf remove ocaml-facile
ocaml-facile Package Contents on Fedora 36
/usr/lib64/ocaml/facile
/usr/lib64/ocaml/facile/facile.cma
/usr/lib64/ocaml/facile/facile.cmi
/usr/share/doc/ocaml-facile
/usr/share/doc/ocaml-facile/LICENSE
/usr/share/doc/ocaml-facile/README
References
Summary
In this tutorial we learn how to install ocaml-facile
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).