How do I install Socks / SocksIPy on Ubuntu? How do I install Socks / SocksIPy on Ubuntu? python python

How do I install Socks / SocksIPy on Ubuntu?


The simplest way to install it - provided the VM has working Internect connectivity - would likely be to let apt-get do it for you. From a terminal:

sudo apt-get install python-socksipy

It's in the universe repository, which should be enabled by default. If not, you can enable it yourself.


PySocks is yet another SocksiPy fork:

$ pip install PySocks

It works on Python 2/3.


For Python3

$ sudo apt-get install python3-socks