How To Install totpcgi-selinux on Fedora 36

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

Introduction

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

What is totpcgi-selinux

This package includes SELinux policy for totpcgi and totpcgi-provisioning.

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

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

sudo dnf -y install totpcgi-selinux

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

sudo yum -y install totpcgi-selinux

How To Uninstall totpcgi-selinux on Fedora 36

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

sudo dnf remove totpcgi-selinux

totpcgi-selinux Package Contents on Fedora 36

/usr/share/doc/totpcgi-selinux
/usr/share/doc/totpcgi-selinux/totpcgi.fc
/usr/share/doc/totpcgi-selinux/totpcgi.if
/usr/share/doc/totpcgi-selinux/totpcgi.sh
/usr/share/doc/totpcgi-selinux/totpcgi.te
/usr/share/selinux/mls/totpcgi.pp
/usr/share/selinux/strict/totpcgi.pp
/usr/share/selinux/targeted/totpcgi.pp

References

Summary

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