How To Install python3-pycdio on Rocky Linux 8

In this tutorial we learn how to install python3-pycdio on Rocky Linux 8. python3-pycdio is A Python interface to the CD Input and Control library

Introduction

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

What is python3-pycdio

The pycdio (and libcdio) libraries encapsulate CD-ROM reading and control. Python programs wishing to be oblivious of the OS- and device-dependent properties of a CD-ROM can use this library.

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

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

sudo dnf -y install python3-pycdio

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

sudo yum -y install python3-pycdio

How To Uninstall python3-pycdio on Rocky Linux 8

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

sudo dnf remove python3-pycdio

python3-pycdio Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/7a280a876ddda5e3be696b7a82a6739668289f
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/cb856639f1fff52136b2a78c6feb4fdcafdfb4
/usr/lib64/python3.6/site-packages/__pycache__/cdio.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/cdio.cpython-36.pyc
/usr/lib64/python3.6/site-packages/__pycache__/iso9660.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/iso9660.cpython-36.pyc
/usr/lib64/python3.6/site-packages/__pycache__/pycdio.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/pycdio.cpython-36.pyc
/usr/lib64/python3.6/site-packages/__pycache__/pyiso9660.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/__pycache__/pyiso9660.cpython-36.pyc
/usr/lib64/python3.6/site-packages/_pycdio.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/_pyiso9660.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/cdio.py
/usr/lib64/python3.6/site-packages/iso9660.py
/usr/lib64/python3.6/site-packages/pycdio-2.0.0-py3.6.egg-info
/usr/lib64/python3.6/site-packages/pycdio-2.0.0-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/pycdio-2.0.0-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/pycdio-2.0.0-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/pycdio-2.0.0-py3.6.egg-info/top_level.txt
/usr/lib64/python3.6/site-packages/pycdio.py
/usr/lib64/python3.6/site-packages/pyiso9660.py
/usr/share/doc/python3-pycdio
/usr/share/doc/python3-pycdio/AUTHORS
/usr/share/doc/python3-pycdio/ChangeLog
/usr/share/doc/python3-pycdio/NEWS
/usr/share/doc/python3-pycdio/README.rst
/usr/share/doc/python3-pycdio/THANKS
/usr/share/licenses/python3-pycdio
/usr/share/licenses/python3-pycdio/COPYING

References

Summary

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