How To Install nsntrace on Fedora 36

In this tutorial we learn how to install nsntrace in Fedora 36. nsntrace is Perform network trace of a program by using network namespaces

Introduction

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

What is nsntrace

The nsntrace program uses Linux network namespaces to perform network traces of a single application. The traces are saved as pcap files. And can later be analyzed by for instance Wireshark.

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

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

sudo dnf -y install nsntrace

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

sudo yum -y install nsntrace

How To Uninstall nsntrace on Fedora 36

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

sudo dnf remove nsntrace

nsntrace Package Contents on Fedora 36

/usr/bin/nsntrace
/usr/lib/.build-id
/usr/lib/.build-id/c5
/usr/lib/.build-id/c5/c2b52b7cdf954a200ff46f11ab438b041f2822
/usr/share/licenses/nsntrace
/usr/share/licenses/nsntrace/LICENSE
/usr/share/man/man1/nsntrace.1.gz

References

Summary

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