How To Install ocaml-fmt on Fedora 36

In this tutorial we learn how to install ocaml-fmt in Fedora 36. ocaml-fmt is OCaml Format pretty-printer combinators

Introduction

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

What is ocaml-fmt

Fmt exposes combinators to devise Format pretty-printing functions. Fmt depends only on the OCaml standard library. The optional Fmt_tty library that enables setting up formatters for terminal color output depends on the Unix library. The optional Fmt_cli library that provides command line support for Fmt depends on Cmdliner.

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

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

sudo dnf -y install ocaml-fmt

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

sudo yum -y install ocaml-fmt

How To Uninstall ocaml-fmt on Fedora 36

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

sudo dnf remove ocaml-fmt

ocaml-fmt Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/26
/usr/lib/.build-id/26/96fe8927726910260be1de18fd952145189be7
/usr/lib/.build-id/42
/usr/lib/.build-id/42/4f473ada86340371d7828d9623917cee9b99b6
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/572159e66a0f359708a19266c35f80f7c16fd1
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/e5a2f668f9dd6d13b641768411882ad1798424
/usr/lib64/ocaml/fmt
/usr/lib64/ocaml/fmt/META
/usr/lib64/ocaml/fmt/fmt.cma
/usr/lib64/ocaml/fmt/fmt.cmi
/usr/lib64/ocaml/fmt/fmt.cmxs
/usr/lib64/ocaml/fmt/fmt_cli.cma
/usr/lib64/ocaml/fmt/fmt_cli.cmi
/usr/lib64/ocaml/fmt/fmt_cli.cmxs
/usr/lib64/ocaml/fmt/fmt_top.cma
/usr/lib64/ocaml/fmt/fmt_top.cmi
/usr/lib64/ocaml/fmt/fmt_top.cmxs
/usr/lib64/ocaml/fmt/fmt_tty.cma
/usr/lib64/ocaml/fmt/fmt_tty.cmi
/usr/lib64/ocaml/fmt/fmt_tty.cmxs
/usr/lib64/ocaml/fmt/fmt_tty_top_init.ml
/usr/share/doc/ocaml-fmt
/usr/share/doc/ocaml-fmt/CHANGES.md
/usr/share/doc/ocaml-fmt/README.md
/usr/share/licenses/ocaml-fmt
/usr/share/licenses/ocaml-fmt/LICENSE.md

References

Summary

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


title: “How To Install ocaml-fmt on Fedora 36” linkTitle: “ocaml-fmt” type: “docs” description: “In this tutorial we learn how to install ocaml-fmt in Fedora 36. ocaml-fmt is OCaml Format pretty-printer combinators” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/ocaml-fmt-featured.png

Introduction

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

What is ocaml-fmt

Fmt exposes combinators to devise Format pretty-printing functions. Fmt depends only on the OCaml standard library. The optional Fmt_tty library that enables setting up formatters for terminal color output depends on the Unix library. The optional Fmt_cli library that provides command line support for Fmt depends on Cmdliner.

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

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

sudo dnf -y install ocaml-fmt

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

sudo yum -y install ocaml-fmt

How To Uninstall ocaml-fmt on Fedora 36

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

sudo dnf remove ocaml-fmt

ocaml-fmt Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/b6227e3b0838ff97f663de8c0b6e2b4a6d2225
/usr/lib/.build-id/67
/usr/lib/.build-id/67/44a79b07e8f6a8cbf4d85a405488569a29d021
/usr/lib/.build-id/74
/usr/lib/.build-id/74/60fe63fcff186628e8142276355eba3ec8874e
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/789bfef21efee389c40a058a686dc568d16a17
/usr/lib/ocaml/fmt
/usr/lib/ocaml/fmt/META
/usr/lib/ocaml/fmt/fmt.cma
/usr/lib/ocaml/fmt/fmt.cmi
/usr/lib/ocaml/fmt/fmt.cmxs
/usr/lib/ocaml/fmt/fmt_cli.cma
/usr/lib/ocaml/fmt/fmt_cli.cmi
/usr/lib/ocaml/fmt/fmt_cli.cmxs
/usr/lib/ocaml/fmt/fmt_top.cma
/usr/lib/ocaml/fmt/fmt_top.cmi
/usr/lib/ocaml/fmt/fmt_top.cmxs
/usr/lib/ocaml/fmt/fmt_tty.cma
/usr/lib/ocaml/fmt/fmt_tty.cmi
/usr/lib/ocaml/fmt/fmt_tty.cmxs
/usr/lib/ocaml/fmt/fmt_tty_top_init.ml
/usr/share/doc/ocaml-fmt
/usr/share/doc/ocaml-fmt/CHANGES.md
/usr/share/doc/ocaml-fmt/README.md
/usr/share/licenses/ocaml-fmt
/usr/share/licenses/ocaml-fmt/LICENSE.md

References

Summary

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