How To Install netstat-monitor on Fedora 36
Introduction
In this tutorial we learn how to install netstat-monitor on Fedora 36.
What is netstat-monitor
Netstat-monitor is a command line tool for monitoring network connections. Its output is similar to the output from the netstat command with the options “netstat –inet -alp”. Netstat-monitor can be left running, though, and will report new connections as they are made. Also, filters can be used to limit what’s displayed to just what’s unexpected or interesting.
We can use yum or dnf to install netstat-monitor on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install netstat-monitor.
Install netstat-monitor 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 netstat-monitor using dnf by running the following command:
sudo dnf -y install netstat-monitor
Install netstat-monitor 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 netstat-monitor using yum by running the following command:
sudo yum -y install netstat-monitor
How To Uninstall netstat-monitor on Fedora 36
To uninstall only the netstat-monitor package we can use the following command:
sudo dnf remove netstat-monitor
netstat-monitor Package Contents on Fedora 36
/usr/bin/netstat-monitor
/usr/lib/python3.10/site-packages/__pycache__
/usr/lib/python3.10/site-packages/__pycache__/netstat.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/__pycache__/netstat.cpython-310.pyc
/usr/lib/python3.10/site-packages/netstat.py
/usr/lib/python3.10/site-packages/netstat_monitor-v1.1.3-py3.10.egg-info
/usr/share/doc/netstat-monitor
/usr/share/doc/netstat-monitor/README.md
/usr/share/licenses/netstat-monitor
/usr/share/licenses/netstat-monitor/LICENSE
/usr/share/netstat-monitor/sample-filters
References
Summary
In this tutorial we learn how to install netstat-monitor on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).