How To Install polkit-pkla-compat.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install polkit-pkla-compat.x86_64 on Amazon Linux 2.
What is polkit-pkla-compat.x86_64
A polkit JavaScript rule and associated helpers that mostly provide compatibility with the .pkla file format supported in polkit <= 0.105 for users of later polkit releases.
We can use yum to install polkit-pkla-compat.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-pkla-compat.x86_64.
Install polkit-pkla-compat.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-pkla-compat.x86_64 using yum by running the following command:
sudo yum -y install polkit-pkla-compat.x86_64
How To Uninstall polkit-pkla-compat.x86_64 on Amazon Linux 2
To uninstall only the polkit-pkla-compat.x86_64 package we can use the following command:
sudo yum remove polkit-pkla-compat.x86_64
polkit-pkla-compat.x86_64 Package Contents on Amazon Linux 2
/etc/polkit-1/localauthority
/etc/polkit-1/localauthority.conf.d
/etc/polkit-1/localauthority/10-vendor.d
/etc/polkit-1/localauthority/20-org.d
/etc/polkit-1/localauthority/30-site.d
/etc/polkit-1/localauthority/50-local.d
/etc/polkit-1/localauthority/90-mandatory.d
/etc/polkit-1/rules.d/49-polkit-pkla-compat.rules
/usr/bin/pkla-admin-identities
/usr/bin/pkla-check-authorization
/usr/share/doc/polkit-pkla-compat-0.1
/usr/share/doc/polkit-pkla-compat-0.1/AUTHORS
/usr/share/doc/polkit-pkla-compat-0.1/COPYING
/usr/share/doc/polkit-pkla-compat-0.1/NEWS
/usr/share/doc/polkit-pkla-compat-0.1/README
/usr/share/man/man8/pkla-admin-identities.8.gz
/usr/share/man/man8/pkla-check-authorization.8.gz
/usr/share/man/man8/pklocalauthority.8.gz
/var/lib/polkit-1
/var/lib/polkit-1/localauthority
/var/lib/polkit-1/localauthority/10-vendor.d
/var/lib/polkit-1/localauthority/20-org.d
/var/lib/polkit-1/localauthority/30-site.d
/var/lib/polkit-1/localauthority/50-local.d
/var/lib/polkit-1/localauthority/90-mandatory.d
References
Summary
In this tutorial we learn how to install polkit-pkla-compat.x86_64 on Amazon Linux 2 using yum.