How To Install libcap-ng-utils on Fedora 36

In this tutorial we learn how to install libcap-ng-utils in Fedora 36. libcap-ng-utils is Utilities for analyzing and setting file capabilities

Introduction

In this tutorial we learn how to install libcap-ng-utils on Fedora 36.

What is libcap-ng-utils

The libcap-ng-utils package contains applications to analyze the posix capabilities of all the program running on a system. It also lets you set the file system based capabilities.

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

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

sudo dnf -y install libcap-ng-utils

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

sudo yum -y install libcap-ng-utils

How To Uninstall libcap-ng-utils on Fedora 36

To uninstall only the libcap-ng-utils package we can use the following command:

sudo dnf remove libcap-ng-utils

libcap-ng-utils Package Contents on Fedora 36

/usr/bin/captest
/usr/bin/filecap
/usr/bin/netcap
/usr/bin/pscap
/usr/lib/.build-id
/usr/lib/.build-id/85
/usr/lib/.build-id/85/030e6b79904fb2f1a3cc8760c9c100ffb5ef4a
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/305e97663f342a172123627fc59204b0cf290f
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/e0b0b588c93b1c2c4e3f4c50bd00478b86c8b1
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/0934faa3a82996b9c7d2a80d9927f839e3c2e9
/usr/share/licenses/libcap-ng-utils
/usr/share/licenses/libcap-ng-utils/COPYING
/usr/share/man/man8/captest.8.gz
/usr/share/man/man8/filecap.8.gz
/usr/share/man/man8/netcap.8.gz
/usr/share/man/man8/pscap.8.gz

References

Summary

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