How To Install polkit on Fedora 36
Introduction
In this tutorial we learn how to install polkit
on Fedora 36.
What is polkit
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
or dnf
to install polkit
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install polkit.
Install polkit on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install polkit
using dnf
by running the following command:
sudo dnf -y install polkit
Install polkit on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install polkit
using yum
by running the following command:
sudo yum -y install polkit
How To Uninstall polkit on Fedora 36
To uninstall only the polkit
package we can use the following command:
sudo dnf remove polkit
polkit Package Contents on Fedora 36
/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/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/00952533b389bc4763e7a82eef0b8d0b52066a
/usr/lib/.build-id/0f/78b6458e492723c58a5752aafbd01e48d11df9
/usr/lib/.build-id/51
/usr/lib/.build-id/51/4d3e39627867c500923b21b0ae57542ecf2458
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/ba2a1193e103d1a62346610638bb8e6ebf2d34
/usr/lib/.build-id/b9
/usr/lib/.build-id/b9/1a47602e99d8da1c12ec4aef8a5d25f7ee054d
/usr/lib/.build-id/e6
/usr/lib/.build-id/e6/aaa8ca93e5aa481c33bb640fb5bc7d47cd8c1d
/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/dbus-1/system.d/org.freedesktop.PolicyKit1.conf
/usr/share/doc/polkit
/usr/share/doc/polkit/COPYING
/usr/share/doc/polkit/NEWS
/usr/share/doc/polkit/README
/usr/share/locale/cs/LC_MESSAGES/polkit-1.mo
/usr/share/locale/da/LC_MESSAGES/polkit-1.mo
/usr/share/locale/de/LC_MESSAGES/polkit-1.mo
/usr/share/locale/hr/LC_MESSAGES/polkit-1.mo
/usr/share/locale/hu/LC_MESSAGES/polkit-1.mo
/usr/share/locale/id/LC_MESSAGES/polkit-1.mo
/usr/share/locale/it/LC_MESSAGES/polkit-1.mo
/usr/share/locale/nn/LC_MESSAGES/polkit-1.mo
/usr/share/locale/pl/LC_MESSAGES/polkit-1.mo
/usr/share/locale/pt/LC_MESSAGES/polkit-1.mo
/usr/share/locale/pt_BR/LC_MESSAGES/polkit-1.mo
/usr/share/locale/ro/LC_MESSAGES/polkit-1.mo
/usr/share/locale/sk/LC_MESSAGES/polkit-1.mo
/usr/share/locale/sv/LC_MESSAGES/polkit-1.mo
/usr/share/locale/tr/LC_MESSAGES/polkit-1.mo
/usr/share/locale/uk/LC_MESSAGES/polkit-1.mo
/usr/share/locale/zh_CN/LC_MESSAGES/polkit-1.mo
/usr/share/locale/zh_TW/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
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).