How To Install ocaml-ssl on Fedora 36

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

Introduction

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

What is ocaml-ssl

SSL bindings for OCaml.

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

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

sudo dnf -y install ocaml-ssl

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

sudo yum -y install ocaml-ssl

How To Uninstall ocaml-ssl on Fedora 36

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

sudo dnf remove ocaml-ssl

ocaml-ssl Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/51
/usr/lib/.build-id/51/fd0da635ea9cf75de66d21dd6674893218c1af
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/03e83b7d77b2356071a3b4ef726d7e5ee3e89d
/usr/lib64/ocaml/ssl
/usr/lib64/ocaml/ssl/META
/usr/lib64/ocaml/ssl/dune-package
/usr/lib64/ocaml/ssl/opam
/usr/lib64/ocaml/ssl/ssl.cma
/usr/lib64/ocaml/ssl/ssl.cmi
/usr/lib64/ocaml/ssl/ssl.cmt
/usr/lib64/ocaml/ssl/ssl.cmti
/usr/lib64/ocaml/ssl/ssl.cmx
/usr/lib64/ocaml/ssl/ssl.cmxs
/usr/lib64/ocaml/ssl/ssl.ml
/usr/lib64/ocaml/ssl/ssl_threads.cmi
/usr/lib64/ocaml/ssl/ssl_threads.cmt
/usr/lib64/ocaml/ssl/ssl_threads.cmti
/usr/lib64/ocaml/ssl/ssl_threads.cmx
/usr/lib64/ocaml/ssl/ssl_threads.ml
/usr/lib64/ocaml/stublibs/dllssl_stubs.so
/usr/share/doc/ocaml-ssl
/usr/share/doc/ocaml-ssl/CHANGES
/usr/share/doc/ocaml-ssl/COPYING
/usr/share/doc/ocaml-ssl/README.md

References

Summary

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