aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Glass <tribaal@gmail.com>2014-02-13 11:46:49 +0100
committerChris Glass <tribaal@gmail.com>2014-02-13 11:46:49 +0100
commitf82d94f3d1c15e3b71528ba98c7e5ba4b54cc8ad (patch)
treec600228c1e0b84510bb4a4f6d61503338a054235
parent87c4edbda9c838b721546dd9f6b9964b915127b5 (diff)
downloadcryptography-f82d94f3d1c15e3b71528ba98c7e5ba4b54cc8ad.tar.gz
cryptography-f82d94f3d1c15e3b71528ba98c7e5ba4b54cc8ad.tar.bz2
cryptography-f82d94f3d1c15e3b71528ba98c7e5ba4b54cc8ad.zip
Added Debian mention, extra missing packages
One tends to forget than not everyone has python-dev installed :)
-rw-r--r--docs/installation.rst21
1 files changed, 13 insertions, 8 deletions
diff --git a/docs/installation.rst b/docs/installation.rst
index a2fc5b7c..28b311cb 100644
--- a/docs/installation.rst
+++ b/docs/installation.rst
@@ -22,17 +22,22 @@ to include the corresponding locations. For example:
C:\> set INCLUDE=C:\OpenSSL-1.0.1f-64bit\include;%INCLUDE%
C:\> pip install cryptography
-Building cryptography on Linux
-------------------------------
+Building cryptography on GNU/Linux
+----------------------------------
+
+``cryptography`` should build very easily on GNU/Linux provided you have a C
+compiler and headers for Python and the OpenSSL and libffi libraries available
+on your system.
-``cryptography`` should build very easily on linux provided you have headers
-for the OpenSSL and libffi available on your system.
+Debian and Ubuntu systems
+.........................
-For Ubuntu, the following command line will ensure this is the case:
+For Debian and Ubuntu, the following command line will ensure the required
+dependencies are installed:
.. code-block:: console
- sudo apt-get install libssl-dev libffi-dev
+ sudo apt-get install build-essential libssl-dev libffi-dev python-dev
You should now be able to build and install cryptography with the usual
@@ -40,8 +45,8 @@ You should now be able to build and install cryptography with the usual
python setup.py install
-Using your own OpenSSL on Linux
-...............................
+Using your own OpenSSL on GNU/Linux
+...................................
Python links to OpenSSL for its own purposes and this can sometimes cause
problems when you wish to use a different version of OpenSSL with cryptography.