How To Install python3-pyqt5-sip on Rocky Linux 8

In this tutorial we learn how to install python3-pyqt5-sip on Rocky Linux 8. python3-pyqt5-sip is SIP - Python 3/C++ Bindings Generator for pyqt5

Introduction

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

What is python3-pyqt5-sip

This is the Python 3 build of pyqt5-SIP.

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

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

sudo dnf -y install python3-pyqt5-sip

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

sudo yum -y install python3-pyqt5-sip

How To Uninstall python3-pyqt5-sip on Rocky Linux 8

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

sudo dnf remove python3-pyqt5-sip

python3-pyqt5-sip Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/a1ff19ebca64ea1c5d80b33a0b7c525b566f32
/usr/lib64/python3.6/site-packages/PyQt5
/usr/lib64/python3.6/site-packages/PyQt5/sip.pyi
/usr/lib64/python3.6/site-packages/PyQt5/sip.so
/usr/lib64/python3.6/site-packages/PyQt5_sip-4.19.19.dist-info
/usr/lib64/python3.6/site-packages/PyQt5_sip-4.19.19.dist-info/INSTALLER
/usr/lib64/python3.6/site-packages/PyQt5_sip-4.19.19.dist-info/METADATA
/usr/lib64/python3.6/site-packages/PyQt5_sip-4.19.19.dist-info/RECORD
/usr/share/doc/python3-pyqt5-sip
/usr/share/doc/python3-pyqt5-sip/NEWS
/usr/share/doc/python3-pyqt5-sip/README
/usr/share/licenses/python3-pyqt5-sip
/usr/share/licenses/python3-pyqt5-sip/LICENSE
/usr/share/licenses/python3-pyqt5-sip/LICENSE-GPL2
/usr/share/licenses/python3-pyqt5-sip/LICENSE-GPL3

References

Summary

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