How To Install ocaml-result on Fedora 36

In this tutorial we learn how to install ocaml-result in Fedora 36. ocaml-result is Compat result type

Introduction

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

What is ocaml-result

Projects that want to use the new result type defined in OCaml >= 4.03 while staying compatible with older versions of OCaml should use the Result module defined in this library.

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

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

sudo dnf -y install ocaml-result

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

sudo yum -y install ocaml-result

How To Uninstall ocaml-result on Fedora 36

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

sudo dnf remove ocaml-result

ocaml-result Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/2e
/usr/lib/.build-id/2e/7548904462296c139b915c23a0cd753fb031f0
/usr/lib64/ocaml/result
/usr/lib64/ocaml/result/META
/usr/lib64/ocaml/result/result.cma
/usr/lib64/ocaml/result/result.cmi
/usr/lib64/ocaml/result/result.cmxs
/usr/share/doc/ocaml-result
/usr/share/doc/ocaml-result/CHANGES.md
/usr/share/doc/ocaml-result/README.md
/usr/share/licenses/ocaml-result
/usr/share/licenses/ocaml-result/LICENSE.md

References

Summary

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


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

Introduction

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

What is ocaml-result

Projects that want to use the new result type defined in OCaml >= 4.03 while staying compatible with older versions of OCaml should use the Result module defined in this library.

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

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

sudo dnf -y install ocaml-result

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

sudo yum -y install ocaml-result

How To Uninstall ocaml-result on Fedora 36

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

sudo dnf remove ocaml-result

ocaml-result Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/9c
/usr/lib/.build-id/9c/5a9223d298f8fd76786a73bac7a687f965b01a
/usr/lib/ocaml/result
/usr/lib/ocaml/result/META
/usr/lib/ocaml/result/result.cma
/usr/lib/ocaml/result/result.cmi
/usr/lib/ocaml/result/result.cmxs
/usr/share/doc/ocaml-result
/usr/share/doc/ocaml-result/CHANGES.md
/usr/share/doc/ocaml-result/README.md
/usr/share/licenses/ocaml-result
/usr/share/licenses/ocaml-result/LICENSE.md

References

Summary

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