How To Install nfs-ganesha-selinux on Fedora 36

In this tutorial we learn how to install nfs-ganesha-selinux in Fedora 36. nfs-ganesha-selinux is The NFS-GANESHA SELINUX targeted policy

Introduction

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

What is nfs-ganesha-selinux

This package contains an selinux policy for running ganesha.nfsd

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

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

sudo dnf -y install nfs-ganesha-selinux

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

sudo yum -y install nfs-ganesha-selinux

How To Uninstall nfs-ganesha-selinux on Fedora 36

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

sudo dnf remove nfs-ganesha-selinux

nfs-ganesha-selinux Package Contents on Fedora 36

/var/lib/selinux/devel/include/contrib/ganesha.if
/var/lib/selinux/packages/ganesha.pp.bz2

References

Summary

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