How To Install ocaml-hivex on Fedora 36
Introduction
In this tutorial we learn how to install ocaml-hivex
on Fedora 36.
What is ocaml-hivex
ocaml-hivex contains OCaml bindings for hivex. This is for toplevel and scripting access only. To compile OCaml programs which use hivex you will also need ocaml-hivex-devel.
We can use yum
or dnf
to install ocaml-hivex
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-hivex.
Install ocaml-hivex 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-hivex
using dnf
by running the following command:
sudo dnf -y install ocaml-hivex
Install ocaml-hivex 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-hivex
using yum
by running the following command:
sudo yum -y install ocaml-hivex
How To Uninstall ocaml-hivex on Fedora 36
To uninstall only the ocaml-hivex
package we can use the following command:
sudo dnf remove ocaml-hivex
ocaml-hivex Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/d486a812d14150a0a70c8076729ac00d2f11ca
/usr/lib64/ocaml/hivex
/usr/lib64/ocaml/hivex/META
/usr/lib64/ocaml/hivex/hivex.cmi
/usr/lib64/ocaml/hivex/mlhivex.cma
/usr/lib64/ocaml/stublibs/dllmlhivex.so
/usr/lib64/ocaml/stublibs/dllmlhivex.so.owner
/usr/share/doc/ocaml-hivex
/usr/share/doc/ocaml-hivex/README
References
Summary
In this tutorial we learn how to install ocaml-hivex
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).