How To Install dnfdaemon-selinux on Fedora 36

In this tutorial we learn how to install dnfdaemon-selinux in Fedora 36. dnfdaemon-selinux is SELinux integration for the dnf-daemon

Introduction

In this tutorial we learn how to install dnfdaemon-selinux on Fedora 36.

What is dnfdaemon-selinux

Metapackage customizing the SELinux policy to make the dnf-daemon work with SELinux enabled in enforcing mode.

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

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

sudo dnf -y install dnfdaemon-selinux

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

sudo yum -y install dnfdaemon-selinux

How To Uninstall dnfdaemon-selinux on Fedora 36

To uninstall only the dnfdaemon-selinux package we can use the following command:

sudo dnf remove dnfdaemon-selinux

dnfdaemon-selinux Package Contents on Fedora 36

References

Summary

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