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

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

Introduction

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

What is polkit-qt.i686

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.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install polkit-qt.i686.

Install polkit-qt.i686 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.i686 using yum by running the following command:

sudo yum -y install polkit-qt.i686

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

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

sudo yum remove polkit-qt.i686

polkit-qt.i686 Package Contents on Amazon Linux 2

/usr/lib/libpolkit-qt-agent-1.so.1
/usr/lib/libpolkit-qt-agent-1.so.1.103.0
/usr/lib/libpolkit-qt-core-1.so.1
/usr/lib/libpolkit-qt-core-1.so.1.103.0
/usr/lib/libpolkit-qt-gui-1.so.1
/usr/lib/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.i686 on Amazon Linux 2 using yum.