How To Install ocamlmod on Fedora 36

In this tutorial we learn how to install ocamlmod in Fedora 36. ocamlmod is Generate OCaml modules from source files

Introduction

In this tutorial we learn how to install ocamlmod on Fedora 36.

What is ocamlmod

ocamlmod allows to create OCaml modules from source files.

We can use yum or dnf to install ocamlmod on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocamlmod.

Install ocamlmod on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install ocamlmod using dnf by running the following command:

sudo dnf -y install ocamlmod

Install ocamlmod on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install ocamlmod using yum by running the following command:

sudo yum -y install ocamlmod

How To Uninstall ocamlmod on Fedora 36

To uninstall only the ocamlmod package we can use the following command:

sudo dnf remove ocamlmod

ocamlmod Package Contents on Fedora 36

/usr/bin/ocamlmod
/usr/lib/.build-id
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/a792d84819dfb4e5ff1a7b7947d7a92fb41be1
/usr/share/doc/ocamlmod
/usr/share/doc/ocamlmod/README.txt
/usr/share/man/man1/ocamlmod.1.gz

References

Summary

In this tutorial we learn how to install ocamlmod on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).