aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-06-23 15:44:29 -0700
committerGitHub <noreply@github.com>2016-06-23 15:44:29 -0700
commited05d3f858fb6b7c93b2353c947d88b3aefcd1ae (patch)
tree5f812f418dccf14d007f29da433c50777b8b0455 /docs
parent5d0de16f57e8af971fd282660e3c32d08e7e1317 (diff)
parent514d75cedde8a8b704c3ae2d729a5f17d5d9daef (diff)
downloadmitmproxy-ed05d3f858fb6b7c93b2353c947d88b3aefcd1ae.tar.gz
mitmproxy-ed05d3f858fb6b7c93b2353c947d88b3aefcd1ae.tar.bz2
mitmproxy-ed05d3f858fb6b7c93b2353c947d88b3aefcd1ae.zip
Merge pull request #1285 from westurner/patch-1
DOC: install.rst: Installation on Fedora, Ubuntu
Diffstat (limited to 'docs')
-rw-r--r--docs/install.rst20
1 files changed, 18 insertions, 2 deletions
diff --git a/docs/install.rst b/docs/install.rst
index 08d4b528..6d82f81f 100644
--- a/docs/install.rst
+++ b/docs/install.rst
@@ -11,8 +11,10 @@ Installation On Ubuntu
Ubuntu comes with Python but we need to install pip, python-dev and several libraries.
This was tested on a fully patched installation of Ubuntu 14.04.
->>> sudo apt-get install python-pip python-dev libffi-dev libssl-dev libxml2-dev libxslt1-dev libjpeg8-dev zlib1g-dev
->>> sudo pip install mitmproxy
+.. code:: bash
+
+ sudo apt-get install python-pip python-dev libffi-dev libssl-dev libxml2-dev libxslt1-dev libjpeg8-dev zlib1g-dev
+ sudo pip install mitmproxy # or pip install --user mitmproxy
Once installation is complete you can run :ref:`mitmproxy` or :ref:`mitmdump` from a terminal.
@@ -27,6 +29,20 @@ get set up to contribute to the project, install the dependencies as you would f
mitmproxy installation (see :ref:`install-ubuntu`).
Then see the Hacking_ section of the README on GitHub.
+.. _install-fedora:
+
+Installation On Fedora
+----------------------
+
+Fedora comes with Python but we need to install pip, python-dev and several libraries.
+This was tested on a fully patched installation of Fedora 23.
+
+.. code:: bash
+
+ sudo dnf install -y python-pip python-devel libffi-devel openssl-devel libxml2-devel libxslt-devel libpng-devel libjpeg-devel
+ sudo pip install mitmproxy # or pip install --user mitmproxy
+
+Once installation is complete you can run :ref:`mitmproxy` or :ref:`mitmdump` from a terminal.
.. _install-arch: