How To Install netlabel_tools.x86_64 on Amazon Linux 2

In this tutorial we learn how to install netlabel_tools.x86_64 in Amazon Linux 2. netlabel_tools.x86_64 is Tools to manage the Linux NetLabel subsystem

Introduction

In this tutorial we learn how to install netlabel_tools.x86_64 on Amazon Linux 2.

What is netlabel_tools.x86_64

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 to install netlabel_tools.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install netlabel_tools.x86_64.

Install netlabel_tools.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install netlabel_tools.x86_64 using yum by running the following command:

sudo yum -y install netlabel_tools.x86_64

How To Uninstall netlabel_tools.x86_64 on Amazon Linux 2

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

sudo yum remove netlabel_tools.x86_64

netlabel_tools.x86_64 Package Contents on Amazon Linux 2

/etc/netlabel.rules
/usr/lib/systemd/system/netlabel.service
/usr/sbin/netlabel-config
/usr/sbin/netlabelctl
/usr/share/doc/netlabel_tools-0.20
/usr/share/doc/netlabel_tools-0.20/CHANGELOG
/usr/share/doc/netlabel_tools-0.20/LICENSE
/usr/share/doc/netlabel_tools-0.20/README
/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.x86_64 on Amazon Linux 2 using yum.