How to Install and Uninstall ngrep Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 10,2024

1. Install "ngrep" package

Please follow the guidelines below to install ngrep on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install ngrep

2. Uninstall "ngrep" package

In this section, we are going to explain the necessary steps to uninstall ngrep on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove ngrep $ sudo apt autoclean && sudo apt autoremove

3. Information about the ngrep package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: ngrep
Priority: optional
Section: universe/net
Installed-Size: 90
Maintainer: Ubuntu Developers
Original-Maintainer: Romain Francoise
Architecture: amd64
Version: 1.45.ds2-13
Depends: libc6 (>= 2.7), libnet1 (>= 1.1.2.1), libpcap0.8 (>= 0.9.8), libpcre3
Filename: pool/universe/n/ngrep/ngrep_1.45.ds2-13_amd64.deb
Size: 26002
MD5sum: b59d2fbd6906ce2d9bd4b6a9bbbdfec5
SHA1: 930b23009710cd50a2d6aad60a8c5fc0b743793a
SHA256: db3d3e4fc19b6fdfa957a19d37e1a6ada3202b863d9bc09cc1e3d5c3d54dc80d
Description-en: grep for network traffic
ngrep strives to provide most of GNU grep's common features,
applying them to the network layer. ngrep is a pcap-aware tool that
will allow you to specify extended regular expressions to match
against data payloads of packets. It currently recognizes TCP, UDP
and ICMP across Ethernet, PPP, SLIP and null interfaces, and
understands bpf filter logic in the same fashion as more common
packet sniffing tools, such as tcpdump and snoop.
Description-md5: 8a3f8312388527a9d518e8ed9294e2ba
Homepage: http://ngrep.sf.net/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu