How To Install ocaml-sqlite on Fedora 36

In this tutorial we learn how to install ocaml-sqlite in Fedora 36. ocaml-sqlite is OCaml library for accessing SQLite3 databases

Introduction

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

What is ocaml-sqlite

SQLite 3 database library wrapper for OCaml.

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

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

sudo dnf -y install ocaml-sqlite

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

sudo yum -y install ocaml-sqlite

How To Uninstall ocaml-sqlite on Fedora 36

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

sudo dnf remove ocaml-sqlite

ocaml-sqlite Package Contents on Fedora 36

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

## Introduction

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

### What is `ocaml-sqlite`

> SQLite 3 database library wrapper for OCaml.  

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

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

sudo dnf -y install ocaml-sqlite

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

sudo yum -y install ocaml-sqlite

How To Uninstall ocaml-sqlite on Fedora 36

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

sudo dnf remove ocaml-sqlite

ocaml-sqlite Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/8522edf9915eb54f8ac930af33f5c9c2cf6348
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/e1b018baecb83fc6626139b070429b0de6b4f3
/usr/lib/ocaml/sqlite3
/usr/lib/ocaml/sqlite3/META
/usr/lib/ocaml/sqlite3/sqlite3.annot
/usr/lib/ocaml/sqlite3/sqlite3.cma
/usr/lib/ocaml/sqlite3/sqlite3.cmi
/usr/lib/ocaml/sqlite3/sqlite3.cmt
/usr/lib/ocaml/sqlite3/sqlite3.cmti
/usr/lib/ocaml/sqlite3/sqlite3.cmxs
/usr/lib/ocaml/stublibs/dllsqlite3_stubs.so
/usr/lib/ocaml/stublibs/dllsqlite3_stubs.so.owner
/usr/share/doc/ocaml-sqlite
/usr/share/doc/ocaml-sqlite/COPYING.txt
/usr/lib/.build-id
/usr/lib/.build-id/40
/usr/lib/.build-id/40/1218fffc8b668701f783e0493ad8c61b0295d8
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/4c6f3b1ad41d98e15ad724201849d19905ae62
/usr/lib64/ocaml/sqlite3
/usr/lib64/ocaml/sqlite3/META
/usr/lib64/ocaml/sqlite3/sqlite3.annot
/usr/lib64/ocaml/sqlite3/sqlite3.cma
/usr/lib64/ocaml/sqlite3/sqlite3.cmi
/usr/lib64/ocaml/sqlite3/sqlite3.cmt
/usr/lib64/ocaml/sqlite3/sqlite3.cmti
/usr/lib64/ocaml/sqlite3/sqlite3.cmxs
/usr/lib64/ocaml/stublibs/dllsqlite3_stubs.so
/usr/lib64/ocaml/stublibs/dllsqlite3_stubs.so.owner
/usr/share/doc/ocaml-sqlite
/usr/share/doc/ocaml-sqlite/COPYING.txt

References

Summary

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


## References

* [ocaml-sqlite website](https://github.com/mmottl/sqlite3-ocaml)

## Summary

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