How To Install tcpick on CentOS 7

In this tutorial we learn how to install tcpick on CentOS 7. tcpick is A tcp stream sniffer, tracker and capturer

Introduction

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

What is tcpick

tcpick is a textmode sniffer that can track tcp streams and saves the data captured in files or displays them in the terminal. Useful for picking files in a passive way. It can store all connections in different files, or it can display all the stream on the terminal. It is useful to keep track of what users of a network are doing, and is usable with textmode tools like grep, sed and awk. It can handle eth and ppp interfaces.

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

Install tcpick on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install tcpick

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

sudo dnf -y install tcpick

How To Uninstall tcpick on CentOS 7

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

sudo dnf remove tcpick

References

Summary

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