How To Install ocamlify on Fedora 36

In this tutorial we learn how to install ocamlify in Fedora 36. ocamlify is Include files in OCaml code

Introduction

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

What is ocamlify

OCamlify allows to create OCaml source code by including whole files into OCaml string or string list. The code generated can be compiled as a standard OCaml file. It allows embedding external resources as OCaml code.

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

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

sudo dnf -y install ocamlify

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

sudo yum -y install ocamlify

How To Uninstall ocamlify on Fedora 36

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

sudo dnf remove ocamlify

ocamlify Package Contents on Fedora 36

/usr/bin/ocamlify
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/b640e36d6ad0492f4848b4293a2b8b15e7e118
/usr/share/doc/ocamlify
/usr/share/doc/ocamlify/README.txt
/usr/share/licenses/ocamlify
/usr/share/licenses/ocamlify/COPYING.txt
/usr/share/man/man1/ocamlify.1.gz

References

Summary

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