How To Install polkit.i686 on Amazon Linux 2
In this tutorial we learn how to install polkit.i686 in Amazon Linux 2. polkit.i686 is An authorization framework
Introduction
In this tutorial we learn how to install polkit.i686 on Amazon Linux 2.
What is polkit.i686
polkit is a toolkit for defining and handling authorizations. It is used for allowing unprivileged processes to speak to privileged processes.
We can use yum to install polkit.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install polkit.i686.
Install polkit.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.i686 using yum by running the following command:
sudo yum -y install polkit.i686
How To Uninstall polkit.i686 on Amazon Linux 2
To uninstall only the polkit.i686 package we can use the following command:
sudo yum remove polkit.i686
polkit.i686 Package Contents on Amazon Linux 2
/etc/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
/etc/pam.d/polkit-1
/etc/polkit-1
/etc/polkit-1/rules.d
/etc/polkit-1/rules.d/50-default.rules
/usr/bin/pkaction
/usr/bin/pkcheck
/usr/bin/pkexec
/usr/bin/pkttyagent
/usr/lib/girepository-1.0/Polkit-1.0.typelib
/usr/lib/girepository-1.0/PolkitAgent-1.0.typelib
/usr/lib/libpolkit-agent-1.so.0
/usr/lib/libpolkit-agent-1.so.0.0.0
/usr/lib/libpolkit-gobject-1.so.0
/usr/lib/libpolkit-gobject-1.so.0.0.0
/usr/lib/polkit-1
/usr/lib/polkit-1/polkit-agent-helper-1
/usr/lib/polkit-1/polkitd
/usr/lib/systemd/system/polkit.service
/usr/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service
/usr/share/doc/polkit-0.112
/usr/share/doc/polkit-0.112/COPYING
/usr/share/doc/polkit-0.112/NEWS
/usr/share/doc/polkit-0.112/README
/usr/share/locale/cs/LC_MESSAGES/polkit-1.mo
/usr/share/locale/da/LC_MESSAGES/polkit-1.mo
/usr/share/man/man1/pkaction.1.gz
/usr/share/man/man1/pkcheck.1.gz
/usr/share/man/man1/pkexec.1.gz
/usr/share/man/man1/pkttyagent.1.gz
/usr/share/man/man8/polkit.8.gz
/usr/share/man/man8/polkitd.8.gz
/usr/share/polkit-1
/usr/share/polkit-1/actions
/usr/share/polkit-1/actions/org.freedesktop.policykit.policy
/usr/share/polkit-1/rules.d
References
Summary
In this tutorial we learn how to install polkit.i686 on Amazon Linux 2 using yum.