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

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

Introduction

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

What is ocaml-result-devel

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

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

Install ocaml-result-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-result-devel using dnf by running the following command:

sudo dnf -y install ocaml-result-devel

Install ocaml-result-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-result-devel using yum by running the following command:

sudo yum -y install ocaml-result-devel

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

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

sudo dnf remove ocaml-result-devel

ocaml-result-devel Package Contents on Rocky Linux 8

/usr/lib64/ocaml/result/result.a
/usr/lib64/ocaml/result/result.cmx
/usr/lib64/ocaml/result/result.cmxa
/usr/lib64/ocaml/result/result.ml
/usr/share/licenses/ocaml-result-devel
/usr/share/licenses/ocaml-result-devel/LICENSE

References

Summary

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