How To Install trafshow on CentOS 7

In this tutorial we learn how to install trafshow on CentOS 7. trafshow is A tool for real-time network traffic visualization

Introduction

In this tutorial we learn how to install trafshow on CentOS 7.

What is trafshow

TrafShow continuously display the information regarding packet traffic on the configured network interface that match the boolean expression. It periodically sorts and updates this information. This funny program may be useful for locating suspicious network traffic on the net or to evaluate current utilization of the network interface. %description(ru) TrafShow продолжительно отображает информацию о сетевом трафике на выбранном интерфейсе в соответствии с булевым выражением. Программа периодически сортирует и обновляет эту информацию. TrafShow может быть очень полезна для распознавания паразитного сетевого трафика или для оценки текущей утилизации сетевого интерфейса.

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

Install trafshow on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install trafshow using yum by running the following command:

sudo yum -y install trafshow

Install trafshow on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install trafshow using dnf by running the following command:

sudo dnf -y install trafshow

How To Uninstall trafshow on CentOS 7

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

sudo dnf remove trafshow

References

Summary

In this tutorial we learn how to install trafshow on CentOS 7 using yum and dnf.