How To Install netlabel_tools on Fedora 36

In this tutorial we learn how to install netlabel_tools in Fedora 36. netlabel_tools is Tools to manage the Linux NetLabel subsystem

Introduction

In this tutorial we learn how to install netlabel_tools on Fedora 36.

What is netlabel_tools

NetLabel is a kernel subsystem which implements explicit packet labeling protocols such as CIPSO for Linux. Packet labeling is used in secure networks to mark packets with the security attributes of the data they contain. This package provides the necessary user space tools to query and configure the kernel subsystem.

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

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

sudo dnf -y install netlabel_tools

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

sudo yum -y install netlabel_tools

How To Uninstall netlabel_tools on Fedora 36

To uninstall only the netlabel_tools package we can use the following command:

sudo dnf remove netlabel_tools

netlabel_tools Package Contents on Fedora 36

/etc/netlabel.rules
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/a82b8cf66af29de14331799643ab44926f1336
/usr/lib/systemd/system/netlabel.service
/usr/sbin/netlabel-config
/usr/sbin/netlabelctl
/usr/share/doc/netlabel_tools
/usr/share/doc/netlabel_tools/CHANGELOG
/usr/share/doc/netlabel_tools/README
/usr/share/doc/netlabel_tools/SUBMITTING_PATCHES
/usr/share/licenses/netlabel_tools
/usr/share/licenses/netlabel_tools/LICENSE
/usr/share/man/man8/netlabel-config.8.gz
/usr/share/man/man8/netlabelctl.8.gz

References

Summary

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