How To Install ocaml-easy-format on Fedora 36
Introduction
In this tutorial we learn how to install ocaml-easy-format
on Fedora 36.
What is ocaml-easy-format
This module offers a high-level and functional interface to the Format module of the OCaml standard library. It is a pretty-printing facility, i.e. it takes as input some code represented as a tree and formats this code into the most visually satisfying result, breaking and indenting lines of code where appropriate. Input data must be first modeled and converted into a tree using 3 kinds of nodes atoms lists labeled nodes Atoms represent any text that is guaranteed to be printed as-is. Lists can model any sequence of items such as arrays of data or lists of definitions that are labeled with something like “int main”, “let x =” or “x
We can use yum
or dnf
to install ocaml-easy-format
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-easy-format.
Install ocaml-easy-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-easy-format
using dnf
by running the following command:
sudo dnf -y install ocaml-easy-format
Install ocaml-easy-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-easy-format
using yum
by running the following command:
sudo yum -y install ocaml-easy-format
How To Uninstall ocaml-easy-format on Fedora 36
To uninstall only the ocaml-easy-format
package we can use the following command:
sudo dnf remove ocaml-easy-format
ocaml-easy-format Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/6f
/usr/lib/.build-id/6f/28d2afc21288e1498a54e0751ecc442ab4f537
/usr/lib/ocaml/easy-format
/usr/lib/ocaml/easy-format/META
/usr/lib/ocaml/easy-format/easy_format.cmi
/usr/lib/ocaml/easy-format/easy_format.cmt
/usr/lib/ocaml/easy-format/easy_format.cmti
/usr/lib/ocaml/easy-format/easy_format.cmxs
/usr/share/doc/ocaml-easy-format
/usr/share/doc/ocaml-easy-format/README.md
/usr/share/licenses/ocaml-easy-format
/usr/share/licenses/ocaml-easy-format/LICENSE
References
Summary
In this tutorial we learn how to install ocaml-easy-format
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install ocaml-easy-format on Fedora 36” linkTitle: “ocaml-easy-format” type: “docs” description: “In this tutorial we learn how to install ocaml-easy-format in Fedora 36. ocaml-easy-format is High-level and functional interface to the Format module” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/ocaml-easy-format-featured.png
Introduction
In this tutorial we learn how to install ocaml-easy-format
on Fedora 36.
What is ocaml-easy-format
This module offers a high-level and functional interface to the Format module of the OCaml standard library. It is a pretty-printing facility, i.e. it takes as input some code represented as a tree and formats this code into the most visually satisfying result, breaking and indenting lines of code where appropriate. Input data must be first modeled and converted into a tree using 3 kinds of nodes atoms lists labeled nodes Atoms represent any text that is guaranteed to be printed as-is. Lists can model any sequence of items such as arrays of data or lists of definitions that are labeled with something like “int main”, “let x =” or “x
We can use yum
or dnf
to install ocaml-easy-format
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-easy-format.
Install ocaml-easy-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-easy-format
using dnf
by running the following command:
sudo dnf -y install ocaml-easy-format
Install ocaml-easy-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-easy-format
using yum
by running the following command:
sudo yum -y install ocaml-easy-format
How To Uninstall ocaml-easy-format on Fedora 36
To uninstall only the ocaml-easy-format
package we can use the following command:
sudo dnf remove ocaml-easy-format
ocaml-easy-format Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/ea
/usr/lib/.build-id/ea/d81d5bf041090bb04c5a47eb8a3692483b35f1
/usr/lib64/ocaml/easy-format
/usr/lib64/ocaml/easy-format/META
/usr/lib64/ocaml/easy-format/easy_format.cmi
/usr/lib64/ocaml/easy-format/easy_format.cmt
/usr/lib64/ocaml/easy-format/easy_format.cmti
/usr/lib64/ocaml/easy-format/easy_format.cmxs
/usr/share/doc/ocaml-easy-format
/usr/share/doc/ocaml-easy-format/README.md
/usr/share/licenses/ocaml-easy-format
/usr/share/licenses/ocaml-easy-format/LICENSE
References
Summary
In this tutorial we learn how to install ocaml-easy-format
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).