How To Install ocaml-opam-file-format on Fedora 36

In this tutorial we learn how to install ocaml-opam-file-format in Fedora 36. ocaml-opam-file-format is Parser and printer for the opam file syntax

Introduction

In this tutorial we learn how to install ocaml-opam-file-format on Fedora 36.

What is ocaml-opam-file-format

Parser and printer for the opam file syntax.

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

Install ocaml-opam-file-format 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-opam-file-format using dnf by running the following command:

sudo dnf -y install ocaml-opam-file-format

Install ocaml-opam-file-format 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-opam-file-format using yum by running the following command:

sudo yum -y install ocaml-opam-file-format

How To Uninstall ocaml-opam-file-format on Fedora 36

To uninstall only the ocaml-opam-file-format package we can use the following command:

sudo dnf remove ocaml-opam-file-format

ocaml-opam-file-format Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/7f
/usr/lib/.build-id/7f/d5ece87ed92aa0126f8773e7bd688e5ad37e1d
/usr/lib64/ocaml/opam-file-format
/usr/lib64/ocaml/opam-file-format/META
/usr/lib64/ocaml/opam-file-format/opamBaseParser.cmi
/usr/lib64/ocaml/opam-file-format/opamBaseParser.cmt
/usr/lib64/ocaml/opam-file-format/opamBaseParser.cmti
/usr/lib64/ocaml/opam-file-format/opamLexer.cmi
/usr/lib64/ocaml/opam-file-format/opamLexer.cmt
/usr/lib64/ocaml/opam-file-format/opamLexer.cmti
/usr/lib64/ocaml/opam-file-format/opamParser.cmi
/usr/lib64/ocaml/opam-file-format/opamParser.cmt
/usr/lib64/ocaml/opam-file-format/opamParser.cmti
/usr/lib64/ocaml/opam-file-format/opamParserTypes.cmi
/usr/lib64/ocaml/opam-file-format/opamParserTypes.cmt
/usr/lib64/ocaml/opam-file-format/opamPrinter.cmi
/usr/lib64/ocaml/opam-file-format/opamPrinter.cmt
/usr/lib64/ocaml/opam-file-format/opamPrinter.cmti
/usr/lib64/ocaml/opam-file-format/opam_file_format.cma
/usr/lib64/ocaml/opam-file-format/opam_file_format.cmxs
/usr/share/licenses/ocaml-opam-file-format
/usr/share/licenses/ocaml-opam-file-format/LICENSE

References

Summary

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