How To Install ocaml-rresult on Fedora 36
Introduction
In this tutorial we learn how to install ocaml-rresult
on Fedora 36.
What is ocaml-rresult
Rresult is an OCaml module for handling computation results and errors in an explicit and declarative manner without resorting to exceptions. It defines combinators to operate on the values of the result type available from OCaml 4.03 in the standard library. OCaml 4.08 provides the Stdlib.Result module which you should prefer to Rresult.
We can use yum
or dnf
to install ocaml-rresult
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-rresult.
Install ocaml-rresult 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-rresult
using dnf
by running the following command:
sudo dnf -y install ocaml-rresult
Install ocaml-rresult 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-rresult
using yum
by running the following command:
sudo yum -y install ocaml-rresult
How To Uninstall ocaml-rresult on Fedora 36
To uninstall only the ocaml-rresult
package we can use the following command:
sudo dnf remove ocaml-rresult
ocaml-rresult Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/58
/usr/lib/.build-id/58/1a1992917aec051dd81da5e145b1874df2427a
/usr/lib/.build-id/88
/usr/lib/.build-id/88/1e65f45452950f8b7fa385b26a3f21bb1e8d5b
/usr/lib64/ocaml/rresult
/usr/lib64/ocaml/rresult/META
/usr/lib64/ocaml/rresult/rresult.cma
/usr/lib64/ocaml/rresult/rresult.cmi
/usr/lib64/ocaml/rresult/rresult.cmxs
/usr/lib64/ocaml/rresult/rresult_top.cma
/usr/lib64/ocaml/rresult/rresult_top.cmi
/usr/lib64/ocaml/rresult/rresult_top.cmxs
/usr/share/doc/ocaml-rresult
/usr/share/doc/ocaml-rresult/CHANGES.md
/usr/share/doc/ocaml-rresult/README.md
/usr/share/licenses/ocaml-rresult
/usr/share/licenses/ocaml-rresult/LICENSE.md
References
Summary
In this tutorial we learn how to install ocaml-rresult
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install ocaml-rresult on Fedora 36” linkTitle: “ocaml-rresult” type: “docs” description: “In this tutorial we learn how to install ocaml-rresult in Fedora 36. ocaml-rresult is Result value combinators for OCaml” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/ocaml-rresult-featured.png
Introduction
In this tutorial we learn how to install ocaml-rresult
on Fedora 36.
What is ocaml-rresult
Rresult is an OCaml module for handling computation results and errors in an explicit and declarative manner without resorting to exceptions. It defines combinators to operate on the values of the result type available from OCaml 4.03 in the standard library. OCaml 4.08 provides the Stdlib.Result module which you should prefer to Rresult.
We can use yum
or dnf
to install ocaml-rresult
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ocaml-rresult.
Install ocaml-rresult 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-rresult
using dnf
by running the following command:
sudo dnf -y install ocaml-rresult
Install ocaml-rresult 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-rresult
using yum
by running the following command:
sudo yum -y install ocaml-rresult
How To Uninstall ocaml-rresult on Fedora 36
To uninstall only the ocaml-rresult
package we can use the following command:
sudo dnf remove ocaml-rresult
ocaml-rresult Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/e07617df299f5810fc8dd324f58b8830bda0ce
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/57399b4932ef1ca869ddc8fad35b2dcbdaddb5
/usr/lib/ocaml/rresult
/usr/lib/ocaml/rresult/META
/usr/lib/ocaml/rresult/rresult.cma
/usr/lib/ocaml/rresult/rresult.cmi
/usr/lib/ocaml/rresult/rresult.cmxs
/usr/lib/ocaml/rresult/rresult_top.cma
/usr/lib/ocaml/rresult/rresult_top.cmi
/usr/lib/ocaml/rresult/rresult_top.cmxs
/usr/share/doc/ocaml-rresult
/usr/share/doc/ocaml-rresult/CHANGES.md
/usr/share/doc/ocaml-rresult/README.md
/usr/share/licenses/ocaml-rresult
/usr/share/licenses/ocaml-rresult/LICENSE.md
References
Summary
In this tutorial we learn how to install ocaml-rresult
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).