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

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

Introduction

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

What is ocaml-sedlex-devel

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

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

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

sudo dnf -y install ocaml-sedlex-devel

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

sudo yum -y install ocaml-sedlex-devel

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

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

sudo dnf remove ocaml-sedlex-devel

ocaml-sedlex-devel Package Contents on Rocky Linux 8

/usr/lib64/ocaml/sedlex/sedlex.a
/usr/lib64/ocaml/sedlex/sedlex.cmxa
/usr/lib64/ocaml/sedlex/sedlexing.cmx
/usr/share/doc/ocaml-sedlex-devel
/usr/share/doc/ocaml-sedlex-devel/CHANGES
/usr/share/doc/ocaml-sedlex-devel/README.md
/usr/share/licenses/ocaml-sedlex-devel
/usr/share/licenses/ocaml-sedlex-devel/LICENSE

References

Summary

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