How To Install python3-qt5 on Rocky Linux 8

In this tutorial we learn how to install python3-qt5 on Rocky Linux 8. python3-qt5 is Python 3 bindings for Qt5

Introduction

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

What is python3-qt5

Python 3 bindings for Qt5.

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

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

sudo dnf -y install python3-qt5

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

sudo yum -y install python3-qt5

How To Uninstall python3-qt5 on Rocky Linux 8

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

sudo dnf remove python3-qt5

python3-qt5 Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/dbb6cfebdf2f643d45ea877c1f2bcc7146f06f
/usr/lib/.build-id/12
/usr/lib/.build-id/12/f7772ae8683e59f71cbb14ffbe1e3d1ee29a37
/usr/lib/.build-id/13
/usr/lib/.build-id/13/0cdda924beb980e20449d4c4320266d88cea59
/usr/lib/.build-id/18
/usr/lib/.build-id/18/776e193358d0f84afc9545519b19eac3facaae
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/69b2c68ed379e1fe1c521c143ceef17834aa23
/usr/lib/.build-id/38
/usr/lib/.build-id/38/a0d0e58088a31ad60551d26b2ce9deccc7efa1
/usr/lib/.build-id/42
/usr/lib/.build-id/42/38e82203e53a92dec40576a7b757e521f56a51
/usr/lib/.build-id/42/83f08526f019a7781569c01d1b5a1378e08e94
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/f0062adbc2104095227cac70295b874e751b2e
/usr/lib/.build-id/61
/usr/lib/.build-id/61/6561c1d02d36060042e612ea40b2c3ad94ef4b
/usr/lib/.build-id/69
/usr/lib/.build-id/69/3f997e5b37669e3daeb90085bff8dac56118f7
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/cd6eb4b74cdeca7fb94f1010a598d5c765e0e5
/usr/lib/.build-id/83
/usr/lib/.build-id/83/9018fa846ad051e0e2fc7490557b43938a6e13
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/5741fc795c8f867bc1b85d894986a901bb3fac
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/b48a65a092be81d8f05439f08de47f64a2adae
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/d05e34f00dcd5b4d25a3c02f2cd9e9beacebb6
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/e118ee2a69ecaecc217cdd0b2459ab0b2700e7
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/438d18f7cb358552380d633641ab6721346cf1
/usr/lib/python3.6/site-packages/PyQt5/QtBluetooth.pyi
/usr/lib/python3.6/site-packages/PyQt5/QtBluetooth.so
/usr/lib/python3.6/site-packages/PyQt5/QtDesigner.pyi
/usr/lib/python3.6/site-packages/PyQt5/QtDesigner.so
/usr/lib/python3.6/site-packages/PyQt5/QtHelp.pyi
/usr/lib/python3.6/site-packages/PyQt5/QtHelp.so
/usr/lib/python3.6/site-packages/PyQt5/QtLocation.pyi
/usr/lib/python3.6/site-packages/PyQt5/QtLocation.so
/usr/lib/python3.6/site-packages/PyQt5/QtMultimedia.pyi
/usr/lib/python3.6/site-packages/PyQt5/QtMultimedia.so
/usr/lib/python3.6/site-packages/PyQt5/QtMultimediaWidgets.pyi
/usr/lib/python3.6/site-packages/PyQt5/QtMultimediaWidgets.so
/usr/lib/python3.6/site-packages/PyQt5/QtNfc.pyi
/usr/lib/python3.6/site-packages/PyQt5/QtNfc.so
/usr/lib/python3.6/site-packages/PyQt5/QtPositioning.pyi
/usr/lib/python3.6/site-packages/PyQt5/QtPositioning.so
/usr/lib/python3.6/site-packages/PyQt5/QtQml.pyi
/usr/lib/python3.6/site-packages/PyQt5/QtQml.so
/usr/lib/python3.6/site-packages/PyQt5/QtQuick.pyi
/usr/lib/python3.6/site-packages/PyQt5/QtQuick.so
/usr/lib/python3.6/site-packages/PyQt5/QtQuickWidgets.pyi
/usr/lib/python3.6/site-packages/PyQt5/QtQuickWidgets.so
/usr/lib/python3.6/site-packages/PyQt5/QtSensors.pyi
/usr/lib/python3.6/site-packages/PyQt5/QtSensors.so
/usr/lib/python3.6/site-packages/PyQt5/QtSerialPort.pyi
/usr/lib/python3.6/site-packages/PyQt5/QtSerialPort.so
/usr/lib/python3.6/site-packages/PyQt5/QtSvg.pyi
/usr/lib/python3.6/site-packages/PyQt5/QtSvg.so
/usr/lib/python3.6/site-packages/PyQt5/QtWebChannel.pyi
/usr/lib/python3.6/site-packages/PyQt5/QtWebChannel.so
/usr/lib/python3.6/site-packages/PyQt5/QtWebSockets.pyi
/usr/lib/python3.6/site-packages/PyQt5/QtWebSockets.so
/usr/lib/python3.6/site-packages/PyQt5/QtX11Extras.pyi
/usr/lib/python3.6/site-packages/PyQt5/QtX11Extras.so
/usr/lib/python3.6/site-packages/PyQt5/QtXmlPatterns.pyi
/usr/lib/python3.6/site-packages/PyQt5/QtXmlPatterns.so
/usr/lib/.build-id
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/bde862ba9b9667186a0452ecf3e949ce32be8c
/usr/lib/.build-id/40
/usr/lib/.build-id/40/05074f92a1ac2dfa2f433f39845e3bcf4e930e
/usr/lib/.build-id/40/2c34712593dc552fbd56c65464067804ff7e9f
/usr/lib/.build-id/44
/usr/lib/.build-id/44/c97d3fb4f523463cd2393a7ef3fb7e7b443459
/usr/lib/.build-id/48
/usr/lib/.build-id/48/160f52dde2d043f4b8dbeff2528a1db8cebb22
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/d3c04db4d735f188b7b440bfcb507ff7562a7a
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/b866d8130a42f42c3211e9bb137d4ac5941d76
/usr/lib/.build-id/64
/usr/lib/.build-id/64/2bdff7357dbededcccf590d9bb7e63910c4a47
/usr/lib/.build-id/76
/usr/lib/.build-id/76/56de2d0904db8d656fd5d57b9fcaff0322e29a
/usr/lib/.build-id/77
/usr/lib/.build-id/77/ffb078f1016ecceabf9a7605dd453a515cc540
/usr/lib/.build-id/90
/usr/lib/.build-id/90/800aa302741829c2c2266be493a9dbd81231b2
/usr/lib/.build-id/93
/usr/lib/.build-id/93/1e016947e9cd4f66fbc9e98a6ad9d5b23d480a
/usr/lib/.build-id/96
/usr/lib/.build-id/96/f5f7f3b1e667828fd59e459267e24d3ee08f07
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/78a592844b9f793c169b2b6f8701091fc6c7cd
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/17dede626c891705c59cd306c16725060e4c77
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/b6855e4a0eeba3394e4640bd81e209bbf5866a
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/b121375abc3a0bfcdd0f4c4cd3b621282fc0e9
/usr/lib/.build-id/df
/usr/lib/.build-id/df/ac1980f71c388c0b645c22f23907127f8d0388
/usr/lib64/python3.6/site-packages/PyQt5/QtBluetooth.pyi
/usr/lib64/python3.6/site-packages/PyQt5/QtBluetooth.so
/usr/lib64/python3.6/site-packages/PyQt5/QtDesigner.pyi
/usr/lib64/python3.6/site-packages/PyQt5/QtDesigner.so
/usr/lib64/python3.6/site-packages/PyQt5/QtHelp.pyi
/usr/lib64/python3.6/site-packages/PyQt5/QtHelp.so
/usr/lib64/python3.6/site-packages/PyQt5/QtLocation.pyi
/usr/lib64/python3.6/site-packages/PyQt5/QtLocation.so
/usr/lib64/python3.6/site-packages/PyQt5/QtMultimedia.pyi
/usr/lib64/python3.6/site-packages/PyQt5/QtMultimedia.so
/usr/lib64/python3.6/site-packages/PyQt5/QtMultimediaWidgets.pyi
/usr/lib64/python3.6/site-packages/PyQt5/QtMultimediaWidgets.so
/usr/lib64/python3.6/site-packages/PyQt5/QtNfc.pyi
/usr/lib64/python3.6/site-packages/PyQt5/QtNfc.so
/usr/lib64/python3.6/site-packages/PyQt5/QtPositioning.pyi
/usr/lib64/python3.6/site-packages/PyQt5/QtPositioning.so
/usr/lib64/python3.6/site-packages/PyQt5/QtQml.pyi
/usr/lib64/python3.6/site-packages/PyQt5/QtQml.so
/usr/lib64/python3.6/site-packages/PyQt5/QtQuick.pyi
/usr/lib64/python3.6/site-packages/PyQt5/QtQuick.so
/usr/lib64/python3.6/site-packages/PyQt5/QtQuickWidgets.pyi
/usr/lib64/python3.6/site-packages/PyQt5/QtQuickWidgets.so
/usr/lib64/python3.6/site-packages/PyQt5/QtSensors.pyi
/usr/lib64/python3.6/site-packages/PyQt5/QtSensors.so
/usr/lib64/python3.6/site-packages/PyQt5/QtSerialPort.pyi
/usr/lib64/python3.6/site-packages/PyQt5/QtSerialPort.so
/usr/lib64/python3.6/site-packages/PyQt5/QtSvg.pyi
/usr/lib64/python3.6/site-packages/PyQt5/QtSvg.so
/usr/lib64/python3.6/site-packages/PyQt5/QtWebChannel.pyi
/usr/lib64/python3.6/site-packages/PyQt5/QtWebChannel.so
/usr/lib64/python3.6/site-packages/PyQt5/QtWebSockets.pyi
/usr/lib64/python3.6/site-packages/PyQt5/QtWebSockets.so
/usr/lib64/python3.6/site-packages/PyQt5/QtX11Extras.pyi
/usr/lib64/python3.6/site-packages/PyQt5/QtX11Extras.so
/usr/lib64/python3.6/site-packages/PyQt5/QtXmlPatterns.pyi
/usr/lib64/python3.6/site-packages/PyQt5/QtXmlPatterns.so

References

Summary

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