How To Install ocaml-cppo-ocamlbuild on Fedora 36

In this tutorial we learn how to install ocaml-cppo-ocamlbuild in Fedora 36. ocaml-cppo-ocamlbuild is Preprocessing plugin for ocamlbuild

Introduction

In this tutorial we learn how to install ocaml-cppo-ocamlbuild on Fedora 36.

What is ocaml-cppo-ocamlbuild

This package contains a plugin for ocamlbuild that enables calling cppo at build time. To use it, call ocamlbuild with the argument -plugin-tag package(cppo_ocamlbuild).

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

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

sudo dnf -y install ocaml-cppo-ocamlbuild

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

sudo yum -y install ocaml-cppo-ocamlbuild

How To Uninstall ocaml-cppo-ocamlbuild on Fedora 36

To uninstall only the ocaml-cppo-ocamlbuild package we can use the following command:

sudo dnf remove ocaml-cppo-ocamlbuild

ocaml-cppo-ocamlbuild Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/431b31fe9efcb735df370962cd5f14d8f49573
/usr/lib64/ocaml/cppo_ocamlbuild
/usr/lib64/ocaml/cppo_ocamlbuild/META
/usr/lib64/ocaml/cppo_ocamlbuild/cppo_ocamlbuild.a
/usr/lib64/ocaml/cppo_ocamlbuild/cppo_ocamlbuild.cma
/usr/lib64/ocaml/cppo_ocamlbuild/cppo_ocamlbuild.cmxa
/usr/lib64/ocaml/cppo_ocamlbuild/cppo_ocamlbuild.cmxs
/usr/lib64/ocaml/cppo_ocamlbuild/dune-package
/usr/lib64/ocaml/cppo_ocamlbuild/ocamlbuild_cppo.cmi
/usr/lib64/ocaml/cppo_ocamlbuild/ocamlbuild_cppo.cmt
/usr/lib64/ocaml/cppo_ocamlbuild/ocamlbuild_cppo.cmti
/usr/lib64/ocaml/cppo_ocamlbuild/ocamlbuild_cppo.cmx
/usr/lib64/ocaml/cppo_ocamlbuild/ocamlbuild_cppo.mli
/usr/lib64/ocaml/cppo_ocamlbuild/opam

References

Summary

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