How To Install ocaml-mysql-devel on Fedora 36

In this tutorial we learn how to install ocaml-mysql-devel in Fedora 36. ocaml-mysql-devel is Development files for ocaml-mysql

Introduction

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

What is ocaml-mysql-devel

The ocaml-mysql-devel package contains libraries and signature files for developing applications that use ocaml-mysql.

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

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

sudo dnf -y install ocaml-mysql-devel

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

sudo yum -y install ocaml-mysql-devel

How To Uninstall ocaml-mysql-devel on Fedora 36

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


title: "How To Install ocaml-mysql-devel on Fedora 36"
sudo dnf remove ocaml-mysql-devel

linkTitle: “ocaml-mysql-devel”

type: “docs”

ocaml-mysql-devel Package Contents on Fedora 36

description: "In this tutorial we learn how to install ocaml-mysql-devel in Fedora 36. ocaml-mysql-devel is Development files for ocaml-mysql"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/ocaml-mysql-devel-featured.png
---

## Introduction

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

### What is `ocaml-mysql-devel`

> The ocaml-mysql-devel package contains libraries and signature files for developing applications that use ocaml-mysql.  

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

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

sudo dnf -y install ocaml-mysql-devel

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

sudo yum -y install ocaml-mysql-devel

How To Uninstall ocaml-mysql-devel on Fedora 36

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

sudo dnf remove ocaml-mysql-devel

ocaml-mysql-devel Package Contents on Fedora 36

/usr/lib64/ocaml/mysql/libmysql_stubs.a
/usr/lib64/ocaml/mysql/mysql.a
/usr/lib64/ocaml/mysql/mysql.cmx
/usr/lib64/ocaml/mysql/mysql.cmxa
/usr/lib64/ocaml/mysql/mysql.mli
/usr/share/doc/ocaml-mysql-devel
/usr/share/doc/ocaml-mysql-devel/CHANGES
/usr/share/doc/ocaml-mysql-devel/COPYING
/usr/share/doc/ocaml-mysql-devel/README
/usr/share/doc/ocaml-mysql-devel/VERSION

References

Summary

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

/usr/lib/ocaml/mysql/libmysql_stubs.a /usr/lib/ocaml/mysql/mysql.a /usr/lib/ocaml/mysql/mysql.cmx /usr/lib/ocaml/mysql/mysql.cmxa /usr/lib/ocaml/mysql/mysql.mli /usr/share/doc/ocaml-mysql-devel /usr/share/doc/ocaml-mysql-devel/CHANGES /usr/share/doc/ocaml-mysql-devel/COPYING /usr/share/doc/ocaml-mysql-devel/README /usr/share/doc/ocaml-mysql-devel/VERSION


## References

* [ocaml-mysql-devel website](https://github.com/ygrek/ocaml-mysql)

## Summary

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