Installing Scapy
Mercurial
Scapy is now managed under a Mercurial repository. You can browse it using trac or using the hgweb interface at http://hg.secdev.org/scapy/.
To get the repository, use the following command
hg clone http://hg.secdev.org/scapy my-scapy
You can then update it with
hg pull
Easy Install
Using the setuptools easy_install package you can also install Scapy. Just run the following command from the terminal:
sudo easy_install scapy
From Trac
You can download the source file right from this Trac project page. Just go to the Browse Source tab and download the scapy.py file.