How To Install ejabberd-selinux on Fedora 36

In this tutorial we learn how to install ejabberd-selinux in Fedora 36. ejabberd-selinux is SELinux policy for ejabberd

Introduction

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

What is ejabberd-selinux

This is the SELinux policy for ejabberd.

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

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

sudo dnf -y install ejabberd-selinux

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

sudo yum -y install ejabberd-selinux

How To Uninstall ejabberd-selinux on Fedora 36

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

sudo dnf remove ejabberd-selinux

ejabberd-selinux Package Contents on Fedora 36

/usr/share/selinux/devel/include/contrib/ejabberd.if
/usr/share/selinux/packages/ejabberd.pp.bz2

References

Summary

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