How To Install rtmidi on Fedora 36

In this tutorial we learn how to install rtmidi in Fedora 36. rtmidi is Library for realtime MIDI input/output (ALSA support)

Introduction

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

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

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

Install rtmidi on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install rtmidi

Install rtmidi on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 36

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

sudo dnf remove rtmidi

rtmidi Package Contents on Fedora 36

---
title: "How To Install rtmidi on Fedora 36"
linkTitle: "rtmidi"
type: "docs"
description: "In this tutorial we learn how to install rtmidi in Fedora 36. rtmidi is Library for realtime MIDI input/output (ALSA support)"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/rtmidi-featured.png
---

## Introduction

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

### What is `rtmidi`

/usr/lib/.build-id
/usr/lib/.build-id/8d
/usr/lib/.build-id/8d/d19b805777e4f0e8772e95f7cea7770d974eaf
/usr/lib64/librtmidi.so.5
/usr/lib64/librtmidi.so.5.0.0
/usr/share/doc/rtmidi
/usr/share/doc/rtmidi/README.md
> 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 36. In this tutorial we discuss both methods but you only need to choose one of method to install rtmidi.

## Install rtmidi on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh


## References

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

* [rtmidi website](https://www.music.mcgill.ca/~gary/rtmidi/index.html)
```bash

sudo dnf -y install rtmidi
## Summary

Install rtmidi on Fedora 36 Using yum

In this tutorial we learn how to install rtmidi on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 36

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

sudo dnf remove rtmidi

rtmidi Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/77b7b21ab32c4a9f6c8c61a4d6f64c6944e4e5
/usr/lib/librtmidi.so.5
/usr/lib/librtmidi.so.5.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 36 using yum and [dnf]((/fedora/36/dnf/).