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

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

Introduction

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

What is ocaml-pcre-devel

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

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

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

sudo dnf -y install ocaml-pcre-devel

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

sudo yum -y install ocaml-pcre-devel

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

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

sudo dnf remove ocaml-pcre-devel

ocaml-pcre-devel Package Contents on Rocky Linux 8

/usr/lib64/ocaml/pcre/libpcre_stubs.a
/usr/lib64/ocaml/pcre/pcre.a
/usr/lib64/ocaml/pcre/pcre.cmxa
/usr/lib64/ocaml/pcre/pcre.mli
/usr/share/doc/ocaml-pcre-devel
/usr/share/doc/ocaml-pcre-devel/COPYING.txt
/usr/share/doc/ocaml-pcre-devel/README.md
/usr/share/doc/ocaml-pcre-devel/api
/usr/share/doc/ocaml-pcre-devel/api/Pcre.html
/usr/share/doc/ocaml-pcre-devel/api/index.html
/usr/share/doc/ocaml-pcre-devel/api/index_attributes.html
/usr/share/doc/ocaml-pcre-devel/api/index_class_types.html
/usr/share/doc/ocaml-pcre-devel/api/index_classes.html
/usr/share/doc/ocaml-pcre-devel/api/index_exceptions.html
/usr/share/doc/ocaml-pcre-devel/api/index_extensions.html
/usr/share/doc/ocaml-pcre-devel/api/index_methods.html
/usr/share/doc/ocaml-pcre-devel/api/index_module_types.html
/usr/share/doc/ocaml-pcre-devel/api/index_modules.html
/usr/share/doc/ocaml-pcre-devel/api/index_types.html
/usr/share/doc/ocaml-pcre-devel/api/index_values.html
/usr/share/doc/ocaml-pcre-devel/api/style.css
/usr/share/doc/ocaml-pcre-devel/api/type_Pcre.html

References

Summary

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