How To Install nicstat on Fedora 36

In this tutorial we learn how to install nicstat in Fedora 36. nicstat is CLI utility that prints out network statistics for all network interface

Introduction

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

What is nicstat

nicstat is a Solaris and Linux command-line that prints out network statistics for all network interface cards (NICs), including packets, kilobytes per second, average packet sizes and more.

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

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

sudo dnf -y install nicstat

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

sudo yum -y install nicstat

How To Uninstall nicstat on Fedora 36

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

sudo dnf remove nicstat

nicstat Package Contents on Fedora 36

/usr/bin/nicstat
/usr/lib/.build-id
/usr/lib/.build-id/8e
/usr/lib/.build-id/8e/443cdc9032bce26fc371e5b647eedb37a268e8
/usr/share/doc/nicstat
/usr/share/doc/nicstat/ChangeLog.txt
/usr/share/doc/nicstat/LICENSE.txt
/usr/share/doc/nicstat/README.txt
/usr/share/man/man1/nicstat.1.gz

References

Summary

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