How To Install ocaml-sha on AlmaLinux 8
Introduction
In this tutorial we learn how to install ocaml-sha on AlmaLinux 8.
What is ocaml-sha
A binding for SHA interface code in OCaml. Offering the same interface than the MD5 digest included in the OCaml standard library. It’s currently providing SHA1, SHA256 and SHA512 hash functions.
We can use yum or dnf to install ocaml-sha on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-sha.
Install ocaml-sha 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-sha using dnf by running the following command:
sudo dnf -y install ocaml-sha
Install ocaml-sha 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-sha using yum by running the following command:
sudo yum -y install ocaml-sha
How To Uninstall ocaml-sha on AlmaLinux 8
To uninstall only the ocaml-sha package we can use the following command:
sudo dnf remove ocaml-sha
References
Summary
In this tutorial we learn how to install ocaml-sha on AlmaLinux 8 using yum and dnf.