How To Install ocaml-sha-devel on Rocky Linux 8

In this tutorial we learn how to install ocaml-sha-devel on Rocky Linux 8. ocaml-sha-devel is Development files for ocaml-sha

Introduction

In this tutorial we learn how to install ocaml-sha-devel on Rocky Linux 8.

What is ocaml-sha-devel

The ocaml-sha-devel package contains libraries and signature files for developing applications that use ocaml-sha.

We can use yum or dnf to install ocaml-sha-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-sha-devel.

Install ocaml-sha-devel on Rocky Linux 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-devel using dnf by running the following command:

sudo dnf -y install ocaml-sha-devel

Install ocaml-sha-devel on Rocky Linux 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-devel using yum by running the following command:

sudo yum -y install ocaml-sha-devel

How To Uninstall ocaml-sha-devel on Rocky Linux 8

To uninstall only the ocaml-sha-devel package we can use the following command:

sudo dnf remove ocaml-sha-devel

ocaml-sha-devel Package Contents on Rocky Linux 8

/usr/lib64/ocaml/sha/libsha_stubs.a
/usr/lib64/ocaml/sha/sha.a
/usr/lib64/ocaml/sha/sha.cmxa
/usr/lib64/ocaml/sha/sha1.cmx
/usr/lib64/ocaml/sha/sha1.mli
/usr/lib64/ocaml/sha/sha256.cmx
/usr/lib64/ocaml/sha/sha256.mli
/usr/lib64/ocaml/sha/sha512.cmx
/usr/lib64/ocaml/sha/sha512.mli
/usr/share/doc/ocaml-sha-devel
/usr/share/doc/ocaml-sha-devel/CHANGES.md
/usr/share/doc/ocaml-sha-devel/README
/usr/share/licenses/ocaml-sha-devel
/usr/share/licenses/ocaml-sha-devel/LICENSE.md

References

Summary

In this tutorial we learn how to install ocaml-sha-devel on Rocky Linux 8 using yum and dnf.