How To Install PolicyKit-olpc on Fedora 36

In this tutorial we learn how to install PolicyKit-olpc in Fedora 36. PolicyKit-olpc is OLPC-specific PolicyKit overrides

Introduction

In this tutorial we learn how to install PolicyKit-olpc on Fedora 36.

What is PolicyKit-olpc

Software for the XO laptop requires some modification to the default policies installed by certain applications. This package provides OLPC-specific policy overrides. You probably do not want to install this on non-XO systems.

We can use yum or dnf to install PolicyKit-olpc on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install PolicyKit-olpc.

Install PolicyKit-olpc 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 PolicyKit-olpc using dnf by running the following command:

sudo dnf -y install PolicyKit-olpc

Install PolicyKit-olpc 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 PolicyKit-olpc using yum by running the following command:

sudo yum -y install PolicyKit-olpc

How To Uninstall PolicyKit-olpc on Fedora 36

To uninstall only the PolicyKit-olpc package we can use the following command:

sudo dnf remove PolicyKit-olpc

PolicyKit-olpc Package Contents on Fedora 36

/usr/share/doc/PolicyKit-olpc
/usr/share/doc/PolicyKit-olpc/ChangeLog
/usr/share/doc/PolicyKit-olpc/README
/usr/share/polkit-1/rules.d/10-olpc.rules

References

Summary

In this tutorial we learn how to install PolicyKit-olpc on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).