How to Install and Uninstall tcpdump Package on Debian 12 (Bookworm)

Last updated: November 21,2024

1. Install "tcpdump" package

Please follow the steps below to install tcpdump on Debian 12 (Bookworm)

$ sudo apt update $ sudo apt install tcpdump

2. Uninstall "tcpdump" package

Here is a brief guide to show you how to uninstall tcpdump on Debian 12 (Bookworm):

$ sudo apt remove tcpdump $ sudo apt autoclean && sudo apt autoremove

3. Information about the tcpdump package on Debian 12 (Bookworm)

Package: tcpdump
Version: 4.99.3-1
Installed-Size: 1332
Maintainer: Romain Francoise
Architecture: amd64
Replaces: apparmor-profiles-extra (<< 1.12~)
Depends: adduser, libc6 (>= 2.34), libpcap0.8 (>= 1.9.0), libssl3 (>= 3.0.0)
Suggests: apparmor (>= 2.3)
Breaks: apparmor-profiles-extra (<< 1.12~)
Description: command-line network traffic analyzer
Description-md5: f01841bfda357d116d7ff7b7a47e8782
Multi-Arch: foreign
Homepage: https://www.tcpdump.org/
Tag: admin::monitoring, implemented-in::c, interface::commandline,
network::scanner, protocol::ip, protocol::ipv6, protocol::ssl,
role::program, scope::utility, use::monitor,
works-with::network-traffic
Section: net
Priority: optional
Filename: pool/main/t/tcpdump/tcpdump_4.99.3-1_amd64.deb
Size: 466880
MD5sum: e8fab55d345a6efc5cc6693d698f2b61
SHA256: 43cedfb738376d263f3f9a29b7d9b2d70c1c12e14e76a20ce7aa0a867b39dfa8