Install mitmproxy from source on Ubuntu

If you want to live on the dangerous side, you can install mitmproxy from its master branch. If you encounter any bugs, please do us the favor and report them on the Github issue tracker briefly.

Install from source using PIP

pip uninstall mitmproxy netlib
pip install git+[email protected]
pip install git+[email protected]

Install from source on Ubuntu

Installing mitmproxy master from sources on stock Ubuntu – first uninstall using:

pip uninstall mitmproxy netlib

Now install the required tools:

$ sudo apt-get install -y build-essential libssl-dev libffi-dev python-dev python-pip libxml2-dev libxslt-dev git

Now install with sudo:

$ sudo pip install git+[email protected]
$ sudo pip install git+[email protected]

Now start up a python console and paste in these two commands – this is a workaround for issue 32 :

$ sudo python  # 
>>> from netlib import certffi
>>> exit()

Source: github gist

Related Posts:

This entry was posted in Linux and tagged , , . Bookmark the permalink.

One Response to Install mitmproxy from source on Ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *