How To Install tcpreen on CentOS 7

In this tutorial we learn how to install tcpreen on CentOS 7. tcpreen is A TCP/IP re-engineering and monitoring program

Introduction

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

What is tcpreen

TCPreen is a simple tool to monitor and analyze data transmitted between clients and servers through connection-oriented streams data such as a TCP sessions; it supports TCP over either IPv4 or IPv6. This tool focuses on the data stream (software/socket layer), not on the lower level transmission protocol as packet sniffers do.

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

Install tcpreen on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install tcpreen

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

sudo dnf -y install tcpreen

How To Uninstall tcpreen on CentOS 7

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

sudo dnf remove tcpreen

References

Summary

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