How To Install ocaml-camlp5 on AlmaLinux 8
Introduction
In this tutorial we learn how to install ocaml-camlp5
on AlmaLinux 8.
What is ocaml-camlp5
Camlp5 is a preprocessor-pretty-printer of OCaml. It is the continuation of the classical camlp4 with new features. OCaml 3.10 and above have an official camlp4 which is incompatible with classical (<= 3.09) versions. You can find that in the ocaml-camlp4 package.
We can use yum
or dnf
to install ocaml-camlp5
on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-camlp5.
Install ocaml-camlp5 on AlmaLinux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install ocaml-camlp5
using dnf
by running the following command:
sudo dnf -y install ocaml-camlp5
Install ocaml-camlp5 on AlmaLinux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install ocaml-camlp5
using yum
by running the following command:
sudo yum -y install ocaml-camlp5
How To Uninstall ocaml-camlp5 on AlmaLinux 8
To uninstall only the ocaml-camlp5
package we can use the following command:
sudo dnf remove ocaml-camlp5
References
Summary
In this tutorial we learn how to install ocaml-camlp5
on AlmaLinux 8 using yum and dnf.