How To Install ocaml-curl on Fedora 36

In this tutorial we learn how to install ocaml-curl in Fedora 36. ocaml-curl is OCaml Curl library (ocurl)

Introduction

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

What is ocaml-curl

The Ocaml Curl Library (Ocurl) is an interface library for the programming language Ocaml to the networking library libcurl.

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

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

sudo dnf -y install ocaml-curl

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

sudo yum -y install ocaml-curl

How To Uninstall ocaml-curl on Fedora 36

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

sudo dnf remove ocaml-curl

ocaml-curl Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/49
/usr/lib/.build-id/49/3b37ff84bf0bd22b2958010000b4b3a9841c13
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/30ae70fd41222e63dd507250b1e2d27e844525
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/835c1983831910c82f704fad89e0dad36946ee
/usr/lib64/ocaml/curl
/usr/lib64/ocaml/curl/META
/usr/lib64/ocaml/curl/curl.cma
/usr/lib64/ocaml/curl/curl.cmi
/usr/lib64/ocaml/curl/curl.cmt
/usr/lib64/ocaml/curl/curl.cmti
/usr/lib64/ocaml/curl/curl.cmxs
/usr/lib64/ocaml/curl/curl_lwt.cmi
/usr/lib64/ocaml/curl/curl_lwt.cmo
/usr/lib64/ocaml/curl/curl_lwt.cmt
/usr/lib64/ocaml/curl/curl_lwt.cmti
/usr/lib64/ocaml/curl/curl_lwt.cmxs
/usr/lib64/ocaml/curl/curl_lwt.o
/usr/lib64/ocaml/stublibs/dllcurl-helper.so
/usr/lib64/ocaml/stublibs/dllcurl-helper.so.owner
/usr/share/licenses/ocaml-curl
/usr/share/licenses/ocaml-curl/COPYING

References

Summary

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