How to Install and Uninstall python-scapy Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: December 25,2024

1. Install "python-scapy" package

This guide let you learn how to install python-scapy on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-scapy

2. Uninstall "python-scapy" package

This tutorial shows how to uninstall python-scapy on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove python-scapy $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-scapy package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python-scapy
Architecture: all
Version: 2.3.3-3
Priority: optional
Section: universe/net
Source: scapy
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Internet Measurement Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2464
Provides: scapy
Depends: python:any (<< 2.8), python:any (>= 2.7.5-5~)
Suggests: tcpdump, tcpreplay, wireshark, graphviz, imagemagick, python-gnuplot, python-crypto, python-pyx, ebtables, python-visual, sox, xpdf, gv, hexer, librsvg2-bin, python-pcapy
Breaks: scapy (<< 1.0.5-1)
Replaces: scapy (<< 1.0.5-1)
Filename: pool/universe/s/scapy/python-scapy_2.3.3-3_all.deb
Size: 359472
MD5sum: c941dccbbab30fe52e1de3003971d233
SHA1: 07f899fd09f00613ed97434dace498c304b13672
SHA256: 03a90d1b2465c88fb82624f433d51b819f91ee0f4191089424115f6567e238cb
Homepage: http://www.secdev.org/projects/scapy/
Description: Packet generator/sniffer and network scanner/discovery
Description-md5: 334bcd73980505f098e0c20d85bcda85