How to install python-scapy centos?

11,137

Solution 1

From the docs:

$ cd /tmp
$ wget --trust-server-names https://github.com/secdev/scapy/archive/master.zip
$ unzip master.zip
$ cd master
$ sudo python setup.py install

Alternatively, you can execute the zip file:

$ chmod +x scapy-latest.zip
$ sudo ./scapy-latest.zip

or:

$ sudo sh scapy-latest.zip

or:

$ mv scapy-latest.zip /usr/local/bin/scapy
$ sudo scapy

Solution 2

$ easy_install pip
$ pip install scapy

This usually works just fine for me. You might need a sudo in there depending on your setup.

Share:
11,137

Related videos on Youtube

user3728587
Author by

user3728587

Updated on June 04, 2022

Comments

  • user3728587
    user3728587 almost 2 years

    How can I install python-scapy on a centos server? yum install python-scapy does not seem to work. Do I have to download something or install a repo? Thanks