ngrep on Cent OS 7

Tried to install ngrep on Cent OS 7 with yum install ngrep on Cent OS 7 and it returned “No package ngrep available.
Error: Nothing to do
” then tried to install ngrep rpm directly rpm -ivh http://pkgs.repoforge.org/ngrep/ngrep-1.45-1.el6.rf.x86_64.rpm which is meant for el6 and it returned error like
error: Failed dependencies:
libpcre.so.0()(64bit) is needed by ngrep-1.45-1.el6.rf.x86_64

Then installed latest epel package

rpm -ivh http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

and then yum install ngrep was happy with that

Installed:
ngrep.x86_64 0:1.45-17.git20131221.16ba99a.el7

Complete!