Skip to content
Kaian edited this page Mar 7, 2015 · 12 revisions

Installing dependencies

Debian/Ubuntu

Install required packages from repository:

# apt-get update
# apt-get install git autoconf automake gcc make \
  libncurses5-dev libpcap-dev libssl-dev libpcre3-dev

CentOS/Fedora

Install required packages from repository:

# yum install ncurses-devel make libpcap-devel pcre-devel \
    openssl-devel git gcc autoconf automake

ArchLinux

Install required packages from repository:

# pacman -Sy ncurses libpcap openssl git gcc sed make

Compiling the sources

Clone the github repository and check that all prerequisites are fulfilled.

$ git clone https://github.com/irontec/sngrep
$ cd sngrep
$ ./bootstrap.sh
$ ./configure
$ make
# make install    # (as root)