How To Install ocaml-mlmpfr on Fedora 36

In this tutorial we learn how to install ocaml-mlmpfr in Fedora 36. ocaml-mlmpfr is OCaml bindings for MPFR

Introduction

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

What is ocaml-mlmpfr

This library provides OCaml bindings for MPFR.

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

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

sudo dnf -y install ocaml-mlmpfr

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

sudo yum -y install ocaml-mlmpfr

How To Uninstall ocaml-mlmpfr on Fedora 36

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

sudo dnf remove ocaml-mlmpfr

ocaml-mlmpfr Package Contents on Fedora 36

---
title: "How To Install ocaml-mlmpfr on Fedora 36"
linkTitle: "ocaml-mlmpfr"
type: "docs"
description: "In this tutorial we learn how to install ocaml-mlmpfr in Fedora 36. ocaml-mlmpfr is OCaml bindings for MPFR"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/ocaml-mlmpfr-featured.png
---

## Introduction

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

### What is `ocaml-mlmpfr`

> This library provides OCaml bindings for MPFR.  

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

## Install ocaml-mlmpfr on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

After updating yum database, We can install ocaml-mlmpfr using dnf by running the following command:

sudo dnf -y install ocaml-mlmpfr

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

sudo yum -y install ocaml-mlmpfr

How To Uninstall ocaml-mlmpfr on Fedora 36

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

sudo dnf remove ocaml-mlmpfr

ocaml-mlmpfr Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/68
/usr/lib/.build-id/68/bef78be926efb92dba8abfbf93a6a26706fafc
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/b76dfab1507b98d3ba415706300a0c09540ea0
/usr/lib/ocaml/mlmpfr
/usr/lib/ocaml/mlmpfr/META
/usr/lib/ocaml/mlmpfr/mlmpfr.cma
/usr/lib/ocaml/mlmpfr/mlmpfr.cmxs
/usr/lib/ocaml/mlmpfr/mpfr.cmi
/usr/lib/ocaml/stublibs/dllmlmpfr_stubs.so
/usr/share/doc/ocaml-mlmpfr
/usr/share/doc/ocaml-mlmpfr/Changes
/usr/share/doc/ocaml-mlmpfr/README.md
/usr/share/licenses/ocaml-mlmpfr
/usr/share/licenses/ocaml-mlmpfr/LICENSE

References

Summary

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

/usr/lib/.build-id /usr/lib/.build-id/3d /usr/lib/.build-id/3d/228e1f9d33042a8741df13844e9e9b034b990c /usr/lib/.build-id/ec /usr/lib/.build-id/ec/28574fa1c1acd3a047f08422ef98f2bffd1b1d /usr/lib64/ocaml/mlmpfr /usr/lib64/ocaml/mlmpfr/META /usr/lib64/ocaml/mlmpfr/mlmpfr.cma /usr/lib64/ocaml/mlmpfr/mlmpfr.cmxs /usr/lib64/ocaml/mlmpfr/mpfr.cmi /usr/lib64/ocaml/stublibs/dllmlmpfr_stubs.so /usr/share/doc/ocaml-mlmpfr /usr/share/doc/ocaml-mlmpfr/Changes /usr/share/doc/ocaml-mlmpfr/README.md /usr/share/licenses/ocaml-mlmpfr /usr/share/licenses/ocaml-mlmpfr/LICENSE


## References

* [ocaml-mlmpfr website](https://github.com/thvnx/mlmpfr)

## Summary

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