How To Install ocaml-autoconf on Fedora 36

In this tutorial we learn how to install ocaml-autoconf in Fedora 36. ocaml-autoconf is Autoconf macros for OCaml

Introduction

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

What is ocaml-autoconf

Autoconf macros for OCaml projects.

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

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

sudo dnf -y install ocaml-autoconf

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

sudo yum -y install ocaml-autoconf

How To Uninstall ocaml-autoconf on Fedora 36

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

sudo dnf remove ocaml-autoconf

ocaml-autoconf Package Contents on Fedora 36

/usr/share/aclocal/ocaml.m4
/usr/share/doc/ocaml-autoconf
/usr/share/doc/ocaml-autoconf/LICENSE
/usr/share/doc/ocaml-autoconf/README
/usr/share/man/man1/ocaml.m4.1.gz

References

Summary

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