How to Install and Uninstall ngrep Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 10,2024

1. Install "ngrep" package

This is a short guide on how to install ngrep on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install ngrep

2. Uninstall "ngrep" package

This is a short guide on how to uninstall ngrep on Ubuntu 21.10 (Impish Indri):

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

3. Information about the ngrep package on Ubuntu 21.10 (Impish Indri)

Package: ngrep
Architecture: amd64
Version: 1.47+ds1-2
Priority: optional
Section: universe/net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Romain Francoise
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 77
Depends: libc6 (>= 2.7), libnet1 (>= 1.1.2.1), libpcap0.8 (>= 0.9.8), libpcre3
Filename: pool/universe/n/ngrep/ngrep_1.47+ds1-2_amd64.deb
Size: 32588
MD5sum: c0ecacc8efffa8acda9fac42bb6ac951
SHA1: da83e230ac09a7072b9f31bfddd1753823500160
SHA256: 16b5fc8b2678ff2458c923761ee5732608237bdec006d7befeb96083f8885d6e
SHA512: 7c047f1dd3f7b3ea5901ffc643430fa94946c13aa48da3b0db3cf35b692bfb75d34d560e1fd0ebf684ca14b8e2602a2703d5c97987aaacc0c11456b654b15aa3
Homepage: https://github.com/jpr5/ngrep
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