How To Install libopenmpt-devel on Rocky Linux 8

In this tutorial we learn how to install libopenmpt-devel on Rocky Linux 8. libopenmpt-devel is Development files for the libopenmpt library

Introduction

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

What is libopenmpt-devel

Files needed when building software which uses libopenmpt.

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

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

sudo dnf -y install libopenmpt-devel

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

sudo yum -y install libopenmpt-devel

How To Uninstall libopenmpt-devel on Rocky Linux 8

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

sudo dnf remove libopenmpt-devel

libopenmpt-devel Package Contents on Rocky Linux 8

/usr/include/libopenmpt
/usr/include/libopenmpt/libopenmpt.h
/usr/include/libopenmpt/libopenmpt.hpp
/usr/include/libopenmpt/libopenmpt_config.h
/usr/include/libopenmpt/libopenmpt_ext.h
/usr/include/libopenmpt/libopenmpt_ext.hpp
/usr/include/libopenmpt/libopenmpt_stream_callbacks_buffer.h
/usr/include/libopenmpt/libopenmpt_stream_callbacks_fd.h
/usr/include/libopenmpt/libopenmpt_stream_callbacks_file.h
/usr/include/libopenmpt/libopenmpt_version.h
/usr/lib64/libopenmpt.so
/usr/lib64/pkgconfig/libopenmpt.pc
/usr/share/doc/libopenmpt/examples
/usr/share/doc/libopenmpt/examples/libopenmpt_example_c.c
/usr/share/doc/libopenmpt/examples/libopenmpt_example_c_mem.c
/usr/share/doc/libopenmpt/examples/libopenmpt_example_c_probe.c
/usr/share/doc/libopenmpt/examples/libopenmpt_example_c_stdout.c
/usr/share/doc/libopenmpt/examples/libopenmpt_example_c_unsafe.c
/usr/share/doc/libopenmpt/examples/libopenmpt_example_cxx.cpp

References

Summary

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