How To Install libopenmpt on Rocky Linux 8

In this tutorial we learn how to install libopenmpt on Rocky Linux 8. libopenmpt is C/C++ library to decode tracker music module (MOD) files

Introduction

In this tutorial we learn how to install libopenmpt on Rocky Linux 8.

What is libopenmpt

libopenmpt is a cross-platform C++ and C library to decode tracked music files (modules) into a raw PCM audio stream. libopenmpt is based on the player code of the OpenMPT project (Open ModPlug Tracker). In order to avoid code base fragmentation, libopenmpt is developed in the same source code repository as OpenMPT.

We can use yum or dnf to install libopenmpt on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libopenmpt.

Install libopenmpt on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libopenmpt using dnf by running the following command:

sudo dnf -y install libopenmpt

Install libopenmpt on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libopenmpt using yum by running the following command:

sudo yum -y install libopenmpt

How To Uninstall libopenmpt on Rocky Linux 8

To uninstall only the libopenmpt package we can use the following command:

sudo dnf remove libopenmpt

libopenmpt Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/7d
/usr/lib/.build-id/7d/be2ee2f6b8ec9cc4b58ee388e677c5d6245767
/usr/lib64/libopenmpt.so.0
/usr/lib64/libopenmpt.so.0.2.2
/usr/share/doc/libopenmpt
/usr/share/doc/libopenmpt/LICENSE
/usr/share/doc/libopenmpt/README.md
/usr/share/licenses/libopenmpt
/usr/share/licenses/libopenmpt/LICENSE

References

Summary

In this tutorial we learn how to install libopenmpt on Rocky Linux 8 using yum and dnf.