How To Install classification-banner on Fedora 36

In this tutorial we learn how to install classification-banner in Fedora 36. classification-banner is Displays Classification Banner for a Graphical Session

Introduction

In this tutorial we learn how to install classification-banner on Fedora 36.

What is classification-banner

Classification Banner is a python script that will display the classification level banner of a session with a variety of configuration options on the primary screen. This script can help government and possibly private customers display a notification that sensitive material is being displayed - for example PII or SECRET Material being processed in a graphical session. The script has been tested on a variety of graphical environments such as GNOME2, GNOME3, KDE, twm, icewm, and Cinnamon.

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

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

sudo dnf -y install classification-banner

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

sudo yum -y install classification-banner

How To Uninstall classification-banner on Fedora 36

To uninstall only the classification-banner package we can use the following command:

sudo dnf remove classification-banner

classification-banner Package Contents on Fedora 36

/etc/classification-banner/banner.conf
/etc/xdg/autostart/classification-banner.desktop
/usr/bin/classification-banner
/usr/lib/python3.10/site-packages/classification_banner
/usr/lib/python3.10/site-packages/classification_banner-1.7.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/classification_banner-1.7.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/classification_banner-1.7.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/classification_banner-1.7.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/classification_banner-1.7.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/classification_banner/__init__.py
/usr/lib/python3.10/site-packages/classification_banner/__pycache__
/usr/lib/python3.10/site-packages/classification_banner/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/classification_banner/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/classification_banner/__pycache__/banner.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/classification_banner/__pycache__/banner.cpython-310.pyc
/usr/lib/python3.10/site-packages/classification_banner/banner.py
/usr/share/classification-banner/classification-banner-screenshot.png
/usr/share/doc/classification-banner
/usr/share/doc/classification-banner/AUTHOR
/usr/share/doc/classification-banner/Contributors.md
/usr/share/doc/classification-banner/README.md
/usr/share/licenses/classification-banner
/usr/share/licenses/classification-banner/LICENSE

References

Summary

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