How to Install and Uninstall tcpdump Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 16,2024

1. Install "tcpdump" package

Please follow the instructions below to install tcpdump on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install tcpdump

2. Uninstall "tcpdump" package

Here is a brief guide to show you how to uninstall tcpdump on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the tcpdump package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: tcpdump
Architecture: amd64
Version: 4.9.3-0ubuntu0.18.04.2
Multi-Arch: foreign
Priority: standard
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Romain Francoise
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1066
Depends: libc6 (>= 2.14), libpcap0.8 (>= 1.5.1), libssl1.1 (>= 1.1.0)
Suggests: apparmor (>= 2.3)
Breaks: apparmor-profiles-extra (<< 1.12~)
Replaces: apparmor-profiles-extra (<< 1.12~)
Filename: pool/main/t/tcpdump/tcpdump_4.9.3-0ubuntu0.18.04.2_amd64.deb
Size: 363612
MD5sum: 94ec2fd9a4419397387fa6feb481a360
SHA1: fa623067b6d15af746836180b62139f928c466ba
SHA256: c382cac69bd1c9f20e4c73b4dfcec828d367c88e50a4bc9b90f66fa31563773d
SHA512: ad3b098804bc0f2b1e5b1103358a73951632d2e697cf0e4bbc691369b1b5a65c3f1b8054133716a9c9de26acf27658d2d9ba6650d746a0a4e515d1ee065fd083
Homepage: http://www.tcpdump.org/
Description: command-line network traffic analyzer
Description-md5: f01841bfda357d116d7ff7b7a47e8782
Task: standard
Supported: 5y

Package: tcpdump
Architecture: amd64
Version: 4.9.2-3
Multi-Arch: foreign
Priority: standard
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Romain Francoise
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1170
Depends: libc6 (>= 2.14), libpcap0.8 (>= 1.5.1), libssl1.1 (>= 1.1.0)
Suggests: apparmor (>= 2.3)
Breaks: apparmor-profiles-extra (<< 1.12~)
Replaces: apparmor-profiles-extra (<< 1.12~)
Filename: pool/main/t/tcpdump/tcpdump_4.9.2-3_amd64.deb
Size: 387440
MD5sum: dea3f72b3c82ce6e08bab0616235aaaa
SHA1: 8a46ce3c0f4e252d5ec85241fdd6a515067934d2
SHA256: 0a9317c2c8cc71930fd27b2c7827a8be62ba2535eade1d3eae67cbc464b1a90c
Homepage: http://www.tcpdump.org/
Description: command-line network traffic analyzer
Description-md5: f01841bfda357d116d7ff7b7a47e8782
Task: standard
Supported: 5y