How To Install polkit-qt.x86_64 on Amazon Linux 2

In this tutorial we learn how to install polkit-qt.x86_64 in Amazon Linux 2. polkit-qt.x86_64 is Qt bindings for PolicyKit

Introduction

In this tutorial we learn how to install polkit-qt.x86_64 on Amazon Linux 2.

What is polkit-qt.x86_64

Polkit-qt is a library that lets developers use the PolicyKit API through a nice Qt-styled API.

We can use yum to install polkit-qt.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install polkit-qt.x86_64.

Install polkit-qt.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install polkit-qt.x86_64 using yum by running the following command:

sudo yum -y install polkit-qt.x86_64

How To Uninstall polkit-qt.x86_64 on Amazon Linux 2

To uninstall only the polkit-qt.x86_64 package we can use the following command:

sudo yum remove polkit-qt.x86_64

polkit-qt.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libpolkit-qt-agent-1.so.1
/usr/lib64/libpolkit-qt-agent-1.so.1.103.0
/usr/lib64/libpolkit-qt-core-1.so.1
/usr/lib64/libpolkit-qt-core-1.so.1.103.0
/usr/lib64/libpolkit-qt-gui-1.so.1
/usr/lib64/libpolkit-qt-gui-1.so.1.103.0
/usr/share/doc/polkit-qt-0.103.0
/usr/share/doc/polkit-qt-0.103.0/AUTHORS
/usr/share/doc/polkit-qt-0.103.0/COPYING
/usr/share/doc/polkit-qt-0.103.0/README

References

Summary

In this tutorial we learn how to install polkit-qt.x86_64 on Amazon Linux 2 using yum.