[root@kam kam]# yum install sngrep
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.iitm.ac.in
* epel: repo.ugm.ac.id
* extras: ftp.iitm.ac.in
* updates: ftp.iitm.ac.in
Resolving Dependencies
--> Running transaction check
---> Package sngrep.x86_64 0:1.4.3-0.el7.centos will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=========================================================================================================================================================
Package Arch Version Repository Size
=========================================================================================================================================================
Installing:
sngrep x86_64 1.4.3-0.el7.centos irontec 94 k
Transaction Summary
=========================================================================================================================================================
Install 1 Package
Total size: 94 k
Installed size: 280 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : sngrep-1.4.3-0.el7.centos.x86_64 1/1
Verifying : sngrep-1.4.3-0.el7.centos.x86_64 1/1
Installed:
sngrep.x86_64 0:1.4.3-0.el7.centos
Complete!
works on CentOS 8 as well