How To Install rtmidi on Fedora 34

rtmidi is Library for realtime MIDI input/output (ALSA support) Library for realtime MIDI input/output (ALSA support)

Introduction

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

What is rtmidi

RtMidi is a set of C++ classes (RtMidiIn and RtMidiOut) that provides a common API (Application Programming Interface) for realtime MIDI input/output across Linux (ALSA & Jack), Macintosh OS X, Windows (Multimedia Library), and SGI operating systems. RtMidi significantly simplifies the process of interacting with computer MIDI hardware and software. It was designed with the following goals * object oriented C++ design * simple, common API across all supported platforms * only two header files and one source file for easy inclusion in programming projects * MIDI device enumeration rtmidi 3.0.0 10.fc34 x86_64 46 k rtmidi-3.0.0-10.fc34.src.rpm fedora Library for realtime MIDI input/output (ALSA support) http MIT RtMidi is a set of C++ classes (RtMidiIn and RtMidiOut) that provides a common API (Application Programming Interface) for realtime MIDI input/output across Linux (ALSA & Jack), Macintosh OS X, Windows (Multimedia Library), and SGI operating systems. RtMidi significantly simplifies the process of interacting with computer MIDI hardware and software. It was designed with the following goals * object oriented C++ design * simple, common API across all supported platforms * only two header files and one source file for easy inclusion in programming projects * MIDI device enumeration

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

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

sudo dnf -y install rtmidi

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

sudo yum -y install rtmidi

How To Uninstall rtmidi on Fedora 34

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

sudo dnf remove rtmidi

rtmidi Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/3edcb964bac401769344f41c8a122404e4e851
/usr/lib64/librtmidi.so.4
/usr/lib64/librtmidi.so.4.0.0
/usr/share/doc/rtmidi
/usr/share/doc/rtmidi/README.md
/usr/lib/.build-id
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/9dc9adaa55ce1e231ebe9fe4be61a41ac981b4
/usr/lib/librtmidi.so.4
/usr/lib/librtmidi.so.4.0.0
/usr/share/doc/rtmidi
/usr/share/doc/rtmidi/README.md

References

Summary

In this tutorial we learn how to install rtmidi on Fedora 34 using yum and dnf.