Installing SNGREP in centos 7 :
First of all, add the irontec repository to centos Repos. Create file named sngrep.repo in /etc/yum.repos.d folder and add the following repository.
1 | vim/etc/yum.repos.d/sngrep.repo |
Now add the following repository.
1 2 3 |
[irontec] name=Irontec RPMs repository baseurl=http://packages.irontec.com/centos/$releasever/$basearch/ |
Then Import the Irontec repositories public key using the following command.
1 | rpm–import http://packages.irontec.com/public.key |
Now update the yum cache and install the sngrep using the following command.
1 2 |
yum update yum install sngrep |
Sample output :
Dependencies Resolved
=============================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================
Installing:
sngrep x86_64 1.4.7-0.el7 irontec 98 k
Transaction Summary
=============================================================================================================================================================
Install 1 Package
Total download size: 98 k
Installed size: 293 k
Is this ok [y/d/N]: y
Downloading packages:
sngrep-1.4.7-0.el7.x86_64.rpm | 98 kB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : sngrep-1.4.7-0.el7.x86_64 1/1
Verifying : sngrep-1.4.7-0.el7.x86_64 1/1
Installed:
sngrep.x86_64 0:1.4.7-0.el7
Complete!
Leave a comment