How To Install libtimidity on Rocky Linux 8
Introduction
In this tutorial we learn how to install libtimidity
on Rocky Linux 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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libtimidity.
Install libtimidity 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 libtimidity
using dnf
by running the following command:
sudo dnf -y install libtimidity
Install libtimidity 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 libtimidity
using yum
by running the following command:
sudo yum -y install libtimidity
How To Uninstall libtimidity on Rocky Linux 8
To uninstall only the libtimidity
package we can use the following command:
sudo dnf remove libtimidity
libtimidity Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/5216a12d9e404490ef9a0004e14f9060e30877
/usr/lib64/libtimidity.so.2
/usr/lib64/libtimidity.so.2.0.1
/usr/share/doc/libtimidity
/usr/share/doc/libtimidity/AUTHORS
/usr/share/doc/libtimidity/CHANGES
/usr/share/doc/libtimidity/README
/usr/share/doc/libtimidity/README.timidity
/usr/share/doc/libtimidity/TODO
/usr/share/licenses/libtimidity
/usr/share/licenses/libtimidity/COPYING
/usr/share/licenses/libtimidity/COPYING.artistic
References
Summary
In this tutorial we learn how to install libtimidity
on Rocky Linux 8 using yum and dnf.