How to download and install pcapy package using pip?

I know that to install the package I need to do:

sudo pip install package_name 

But how can I find out what a package name is - I have to give as an argument. I found in pypi the package I want to install - pcapy:

https://pypi.python.org/pypi/pcapy/0.10.3

I tried:

 sudo pip install pcapy 

This did not work ... What is the correct way to install this package?

Thank you very much!

+4
source share
1 answer

This package is not in PyPI. There is a page there, but the source code for some reason is somewhere else (this is the first time I saw it):

Ubuntu has a (possibly old) package:

 $ sudo apt-get install python-pcapy 

You can also create it from the source:

 $ sudo pip install "http://corelabs.coresecurity.com/index.php?module=Wiki&action=attachment&type=tool&page=Pcapy&file=pcapy-0.10.8.tar.gz" 
+1
source

All Articles