How To Install polkit-qt5-1-devel on Rocky Linux 8

In this tutorial we learn how to install polkit-qt5-1-devel on Rocky Linux 8. polkit-qt5-1-devel is Development files for PolicyKit Qt5 bindings

Introduction

In this tutorial we learn how to install polkit-qt5-1-devel on Rocky Linux 8.

What is polkit-qt5-1-devel

Development files for PolicyKit Qt5 bindings.

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

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

sudo dnf -y install polkit-qt5-1-devel

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

sudo yum -y install polkit-qt5-1-devel

How To Uninstall polkit-qt5-1-devel on Rocky Linux 8

To uninstall only the polkit-qt5-1-devel package we can use the following command:

sudo dnf remove polkit-qt5-1-devel

polkit-qt5-1-devel Package Contents on Rocky Linux 8

/usr/include/polkit-qt5-1
/usr/include/polkit-qt5-1/PolkitQt1
/usr/include/polkit-qt5-1/PolkitQt1/ActionDescription
/usr/include/polkit-qt5-1/PolkitQt1/Agent
/usr/include/polkit-qt5-1/PolkitQt1/Agent/Listener
/usr/include/polkit-qt5-1/PolkitQt1/Agent/Session
/usr/include/polkit-qt5-1/PolkitQt1/Authority
/usr/include/polkit-qt5-1/PolkitQt1/Details
/usr/include/polkit-qt5-1/PolkitQt1/Gui
/usr/include/polkit-qt5-1/PolkitQt1/Gui/Action
/usr/include/polkit-qt5-1/PolkitQt1/Gui/ActionButton
/usr/include/polkit-qt5-1/PolkitQt1/Gui/ActionButtons
/usr/include/polkit-qt5-1/PolkitQt1/Identity
/usr/include/polkit-qt5-1/PolkitQt1/Subject
/usr/include/polkit-qt5-1/PolkitQt1/TemporaryAuthorization
/usr/include/polkit-qt5-1/polkitqt1-actiondescription.h
/usr/include/polkit-qt5-1/polkitqt1-agent-listener.h
/usr/include/polkit-qt5-1/polkitqt1-agent-session.h
/usr/include/polkit-qt5-1/polkitqt1-authority.h
/usr/include/polkit-qt5-1/polkitqt1-details.h
/usr/include/polkit-qt5-1/polkitqt1-export.h
/usr/include/polkit-qt5-1/polkitqt1-gui-action.h
/usr/include/polkit-qt5-1/polkitqt1-gui-actionbutton.h
/usr/include/polkit-qt5-1/polkitqt1-gui-actionbuttons.h
/usr/include/polkit-qt5-1/polkitqt1-identity.h
/usr/include/polkit-qt5-1/polkitqt1-subject.h
/usr/include/polkit-qt5-1/polkitqt1-temporaryauthorization.h
/usr/include/polkit-qt5-1/polkitqt1-version.h
/usr/lib/rpm/macros.d/macros.polkit-qt
/usr/lib64/cmake/PolkitQt5-1
/usr/lib64/cmake/PolkitQt5-1/PolkitQt5-1Config.cmake
/usr/lib64/cmake/PolkitQt5-1/PolkitQt5-1ConfigVersion.cmake
/usr/lib64/cmake/PolkitQt5-1/PolkitQt5-1Targets-noconfig.cmake
/usr/lib64/cmake/PolkitQt5-1/PolkitQt5-1Targets.cmake
/usr/lib64/libpolkit-qt5-agent-1.so
/usr/lib64/libpolkit-qt5-core-1.so
/usr/lib64/libpolkit-qt5-gui-1.so
/usr/lib64/pkgconfig/polkit-qt5-1.pc
/usr/lib64/pkgconfig/polkit-qt5-agent-1.pc
/usr/lib64/pkgconfig/polkit-qt5-core-1.pc
/usr/lib64/pkgconfig/polkit-qt5-gui-1.pc
/usr/share/cmake/Modules/FindPolkitQt-1.cmake

References

Summary

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