How To Install libtimidity on AlmaLinux 8

In this tutorial we learn how to install libtimidity in AlmaLinux 8. libtimidity is MIDI to WAVE converter library

Introduction

In this tutorial we learn how to install libtimidity on AlmaLinux 8.

What is libtimidity

This library is based on the TiMidity decoder from SDL_sound library. Purpose to create this library is to avoid unnecessary dependences. SDL_sound requires SDL and some other libraries, that not needed to process MIDI files. In addition libtimidity provides more suitable API to work with MIDI songs, it enables to specify full path to the timidity configuration file, and have function to retrieve meta data from MIDI song.

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

Install libtimidity on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libtimidity

Install libtimidity on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libtimidity

How To Uninstall libtimidity on AlmaLinux 8

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

sudo dnf remove libtimidity

References

Summary

In this tutorial we learn how to install libtimidity on AlmaLinux 8 using yum and dnf.