How To Install python3-rtmidi on Rocky Linux 8

In this tutorial we learn how to install python3-rtmidi on Rocky Linux 8. python3-rtmidi is Python binding for the RtMidi C++ library

Introduction

In this tutorial we learn how to install python3-rtmidi on Rocky Linux 8.

What is python3-rtmidi

python-rtmidi is a Python binding for RtMidi implemented using Cython and provides a thin wrapper around the RtMidi C++ interface. The API is basically the same as the C++ one but with the naming scheme of classes, methods and parameters adapted to the Python PEP-8 conventions and requirements of the Python package naming structure.

We can use yum or dnf to install python3-rtmidi on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-rtmidi.

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

sudo dnf -y install python3-rtmidi

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

sudo yum -y install python3-rtmidi

How To Uninstall python3-rtmidi on Rocky Linux 8

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

sudo dnf remove python3-rtmidi

python3-rtmidi Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/e992fc06091a81652779032ae3db4fe5899b3a
/usr/lib64/python3.6/site-packages/python_rtmidi-1.3.1-py3.6.egg-info
/usr/lib64/python3.6/site-packages/python_rtmidi-1.3.1-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/python_rtmidi-1.3.1-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/python_rtmidi-1.3.1-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/python_rtmidi-1.3.1-py3.6.egg-info/not-zip-safe
/usr/lib64/python3.6/site-packages/python_rtmidi-1.3.1-py3.6.egg-info/top_level.txt
/usr/lib64/python3.6/site-packages/rtmidi
/usr/lib64/python3.6/site-packages/rtmidi/__init__.py
/usr/lib64/python3.6/site-packages/rtmidi/__pycache__
/usr/lib64/python3.6/site-packages/rtmidi/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/rtmidi/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/rtmidi/__pycache__/midiconstants.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/rtmidi/__pycache__/midiconstants.cpython-36.pyc
/usr/lib64/python3.6/site-packages/rtmidi/__pycache__/midiutil.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/rtmidi/__pycache__/midiutil.cpython-36.pyc
/usr/lib64/python3.6/site-packages/rtmidi/__pycache__/release.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/rtmidi/__pycache__/release.cpython-36.pyc
/usr/lib64/python3.6/site-packages/rtmidi/_rtmidi.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/rtmidi/midiconstants.py
/usr/lib64/python3.6/site-packages/rtmidi/midiutil.py
/usr/lib64/python3.6/site-packages/rtmidi/release.py
/usr/share/doc/python3-rtmidi
/usr/share/doc/python3-rtmidi/README.rst
/usr/share/licenses/python3-rtmidi
/usr/share/licenses/python3-rtmidi/LICENSE.txt
/usr/share/licenses/python3-rtmidi/license.rst

References

Summary

In this tutorial we learn how to install python3-rtmidi on Rocky Linux 8 using yum and dnf.