How To Install ocaml-postgresql-devel on Fedora 36

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

Introduction

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

What is ocaml-postgresql-devel

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

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

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

sudo dnf -y install ocaml-postgresql-devel

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

sudo yum -y install ocaml-postgresql-devel

How To Uninstall ocaml-postgresql-devel on Fedora 36

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

sudo dnf remove ocaml-postgresql-devel

ocaml-postgresql-devel Package Contents on Fedora 36

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

## Introduction

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

### What is `ocaml-postgresql-devel`

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

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

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

sudo dnf -y install ocaml-postgresql-devel

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

sudo yum -y install ocaml-postgresql-devel

How To Uninstall ocaml-postgresql-devel on Fedora 36

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

sudo dnf remove ocaml-postgresql-devel

ocaml-postgresql-devel Package Contents on Fedora 36

/usr/lib64/ocaml/postgresql/libpostgresql_stubs.a
/usr/lib64/ocaml/postgresql/postgresql.a
/usr/lib64/ocaml/postgresql/postgresql.cmxa
/usr/lib64/ocaml/postgresql/postgresql.mli
/usr/share/doc/ocaml-postgresql-devel
/usr/share/doc/ocaml-postgresql-devel/AUTHORS.txt
/usr/share/doc/ocaml-postgresql-devel/CHANGES.txt
/usr/share/doc/ocaml-postgresql-devel/COPYING.txt
/usr/share/doc/ocaml-postgresql-devel/README.md
/usr/share/doc/ocaml-postgresql-devel/examples
/usr/share/doc/ocaml-postgresql-devel/examples/async.ml
/usr/share/doc/ocaml-postgresql-devel/examples/cursor.ml
/usr/share/doc/ocaml-postgresql-devel/examples/dump.ml
/usr/share/doc/ocaml-postgresql-devel/examples/populate.ml
/usr/share/doc/ocaml-postgresql-devel/examples/prompt.ml
/usr/share/doc/ocaml-postgresql-devel/examples/prompt_gtk.ml
/usr/share/doc/ocaml-postgresql-devel/examples/test_lo.ml

References

Summary

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

/usr/lib/ocaml/postgresql/libpostgresql_stubs.a /usr/lib/ocaml/postgresql/postgresql.a /usr/lib/ocaml/postgresql/postgresql.cmxa /usr/lib/ocaml/postgresql/postgresql.mli /usr/share/doc/ocaml-postgresql-devel /usr/share/doc/ocaml-postgresql-devel/AUTHORS.txt /usr/share/doc/ocaml-postgresql-devel/CHANGES.txt /usr/share/doc/ocaml-postgresql-devel/COPYING.txt /usr/share/doc/ocaml-postgresql-devel/README.md /usr/share/doc/ocaml-postgresql-devel/examples /usr/share/doc/ocaml-postgresql-devel/examples/async.ml /usr/share/doc/ocaml-postgresql-devel/examples/cursor.ml /usr/share/doc/ocaml-postgresql-devel/examples/dump.ml /usr/share/doc/ocaml-postgresql-devel/examples/populate.ml /usr/share/doc/ocaml-postgresql-devel/examples/prompt.ml /usr/share/doc/ocaml-postgresql-devel/examples/prompt_gtk.ml /usr/share/doc/ocaml-postgresql-devel/examples/test_lo.ml


## References

* [ocaml-postgresql-devel website](https://github.com/mmottl/postgresql-ocaml)

## Summary

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