Skip to content
Snippets Groups Projects
Commit 156b90bc authored by Pierre Lalet's avatar Pierre Lalet Committed by GitHub
Browse files

Merge pull request #617 from phil777/master

Updated/fixed install doc
parents 3238df95 879a67f7
No related branches found
No related tags found
No related merge requests found
...@@ -48,28 +48,42 @@ Latest release ...@@ -48,28 +48,42 @@ Latest release
.. note:: .. note::
To get the latest versions, with bugsfixes and new features, but maybe not as stable, see the `development version <#current-development-version>`_. To get the latest versions, with bugsfixes and new features, but maybe not as stable, see the `development version <#current-development-version>`_.
Download the `latest version <http://scapy.net>`_ to a temporary directory and install it in the standard `distutils <http://docs.python.org/inst/inst.html>`_ way:: Use pip::
$ pip install scapy
You can also download the `latest version <http://scapy.net>`_ to a temporary directory and install it in the standard `distutils <http://docs.python.org/inst/inst.html>`_ way::
$ cd /tmp $ cd /tmp
$ wget scapy.net $ wget --trust-server-names scapy.net # or wget -O scapy.zip scapy.net
$ unzip scapy-latest.zip $ unzip scapy-x.x.x.zip
$ cd scapy $ cd scapy
$ sudo python setup.py install $ sudo python setup.py install
Alternatively, you can execute the zip file:: Alternatively, you can execute the zip file::
$ chmod +x scapy-latest.zip $ chmod +x scapy-x.x.x.zip
$ sudo ./scapy-latest.zip $ sudo ./scapy-x.x.x.zip
or:: or::
$ sudo sh scapy-latest.zip $ sudo sh scapy-x.x.x.zip
or:: or::
$ mv scapy-latest.zip /usr/local/bin/scapy $ mv scapy-x.x.x.zip /usr/local/bin/scapy
$ sudo scapy $ sudo scapy
or::
$ chmod +x scapy-x.x.x.zip
$ ./scapy-x.x.x.zip
or download and run in one command::
$ sh <(curl -sL scapy.net)
.. note:: .. note::
To make a zip executable, some bytes have been added before the zip header. To make a zip executable, some bytes have been added before the zip header.
...@@ -107,7 +121,10 @@ Then you can always update to the latest version:: ...@@ -107,7 +121,10 @@ Then you can always update to the latest version::
$ git pull $ git pull
$ sudo python setup.py install $ sudo python setup.py install
.. note::
You can run scapy without installing it using the ``run_scapy`` (unix) or ``run_scapy.bat`` (Windows) script or running it directly from the executable zip file (see previous section).
Installing Scapy v1.2 (Deprecated) Installing Scapy v1.2 (Deprecated)
================================== ==================================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment