How to Install and Uninstall python-scapy Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: November 07,2024

1. Install "python-scapy" package

In this section, we are going to explain the necessary steps to install python-scapy on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-scapy

2. Uninstall "python-scapy" package

Please follow the guidelines below to uninstall python-scapy on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the python-scapy package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-scapy
Priority: optional
Section: universe/net
Installed-Size: 1096
Maintainer: Ubuntu Developers
Original-Maintainer: David Villa Alises
Architecture: all
Source: scapy
Version: 2.2.0-1
Replaces: scapy (<< 1.0.5-1)
Provides: scapy
Depends: python2.7, python (>= 2.7.1-0ubuntu2), python (<< 2.8)
Suggests: tcpdump, tcpreplay, wireshark, graphviz, imagemagick, python-gnuplot, python-crypto, python-pyx, ebtables, python-visual, sox, xpdf, gv, hexer, librsvg2-bin, python-pcapy
Conflicts: scapy (<< 1.0.5-1)
Filename: pool/universe/s/scapy/python-scapy_2.2.0-1_all.deb
Size: 235668
MD5sum: bd18987fc62e9fc1a3698d1c99afe0dd
SHA1: 36d2df95f3822ac6f00a74f6d5c9c33560afccca
SHA256: 4cd65698cf297b711d6974224740da7a83c3f5cdcda08e13afc00a5995a661ff
Description-en: Packet generator/sniffer and network scanner/discovery
Scapy is a powerful interactive packet manipulation tool, packet
generator, network scanner, network discovery, packet sniffer, etc. It
can for the moment replace hping, 85% of nmap, arpspoof, arp-sk, arping,
tcpdump, tethereal, p0f, ....
.
In scapy you define a set of packets, then it sends them, receives
answers, matches requests with answers and returns a list of packet couples
(request, answer) and a list of unmatched packets. This has the big advantage
over tools like nmap or hping that an answer is not reduced to
(open/closed/filtered), but is the whole packet.
Description-md5: 334bcd73980505f098e0c20d85bcda85
Homepage: http://www.secdev.org/projects/scapy/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu