How To Install sudo-python-plugin on Fedora 36

In this tutorial we learn how to install sudo-python-plugin in Fedora 36. sudo-python-plugin is Python plugin for sudo

Introduction

In this tutorial we learn how to install sudo-python-plugin on Fedora 36.

What is sudo-python-plugin

sudo-python-plugin allows using sudo plugins written in Python.

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

Install sudo-python-plugin 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 sudo-python-plugin using dnf by running the following command:

sudo dnf -y install sudo-python-plugin

Install sudo-python-plugin 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 sudo-python-plugin using yum by running the following command:

sudo yum -y install sudo-python-plugin

How To Uninstall sudo-python-plugin on Fedora 36

To uninstall only the sudo-python-plugin package we can use the following command:

sudo dnf remove sudo-python-plugin

sudo-python-plugin Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/95aed73ebe78f2c7edc047a15e0bb7609e2b42
/usr/libexec/sudo/python_plugin.so
/usr/share/man/man8/sudo_plugin_python.8.gz

References

Summary

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