How To Install libtimidity on Fedora 34

libtimidity is MIDI to WAVE converter library MIDI to WAVE converter library

Introduction

In this tutorial we learn how to install libtimidity on Fedora 34.

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. libtimidity 0.2.6 6.fc34 x86_64 51 k libtimidity-0.2.6-6.fc34.src.rpm fedora MIDI to WAVE converter library http LGPLv2+ or Artistic 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libtimidity.

Install libtimidity on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install libtimidity

Install libtimidity on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove libtimidity

libtimidity Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/42
/usr/lib/.build-id/42/46772067550e8fea391f6f9902ec69e13bde0e
/usr/lib/libtimidity.so.2
/usr/lib/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
/usr/lib/.build-id
/usr/lib/.build-id/75
/usr/lib/.build-id/75/2c754b5af3dc71be54f04f9b8bc31e74d2cb83
/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 Fedora 34 using yum and dnf.