How To Install opam-installer on Fedora 36

In this tutorial we learn how to install opam-installer in Fedora 36. opam-installer is Standalone script for opam install files

Introduction

In this tutorial we learn how to install opam-installer on Fedora 36.

What is opam-installer

Standalone script for working with opam .install files, see the opam package for more information.

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

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

sudo dnf -y install opam-installer

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

sudo yum -y install opam-installer

How To Uninstall opam-installer on Fedora 36

To uninstall only the opam-installer package we can use the following command:

sudo dnf remove opam-installer

opam-installer Package Contents on Fedora 36

/usr/bin/opam-installer
/usr/lib/.build-id
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/112d4c880d6a4e120030f4207b3033fed6f7c3
/usr/share/doc/opam-installer
/usr/share/doc/opam-installer/AUTHORS
/usr/share/doc/opam-installer/CHANGES
/usr/share/doc/opam-installer/CONTRIBUTING.md
/usr/share/doc/opam-installer/README.md
/usr/share/licenses/opam-installer
/usr/share/licenses/opam-installer/LICENSE
/usr/share/man/man1/opam-installer.1.gz

References

Summary

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