diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-02-13 15:44:01 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-02-13 15:44:01 -0600 |
commit | ba7d5ecd3e34c59ce58a4b1c2f86494602efe9e8 (patch) | |
tree | e7e01d828b33e849c0ed84cb006139282504e82f /docs/installation.rst | |
parent | b477b53fc7e8afe64c380315e16eabfeaaaf7847 (diff) | |
parent | 43e4d7a1b97d66c6da1f4ce34faaa4ba45937739 (diff) | |
download | cryptography-ba7d5ecd3e34c59ce58a4b1c2f86494602efe9e8.tar.gz cryptography-ba7d5ecd3e34c59ce58a4b1c2f86494602efe9e8.tar.bz2 cryptography-ba7d5ecd3e34c59ce58a4b1c2f86494602efe9e8.zip |
Merge branch 'master' into add-crt-coefficients
* master:
Also clean up this syntax
Fixed a missing word in the RSA docs
Fix comments in padding.py to be accurate
add versionadded to cast5
A few style nits in the docs
add CAST5 support to changelog
Changed .... lines to ~~~~ and s/Gnu\/Linux/Linux/
Pypy is not a real word either apparently.
Added Pypy note and fixed libffi's "spelling"
Added Debian mention, extra missing packages
Added a docs section on Linux installation
remove some extra linebreaks
add cast5 docs
Syntax highlight the go code. Be mad Rob Pike.
add cbc, cfb, ofb support to CAST5 (aka CAST128) for openssl & cc
re-add CAST5 ECB support (OpenSSL & CC backends). fixes #417
Switch this to a warning block
Be clear about HKDF's applicability for password storage
Conflicts:
docs/hazmat/primitives/rsa.rst
Diffstat (limited to 'docs/installation.rst')
-rw-r--r-- | docs/installation.rst | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/docs/installation.rst b/docs/installation.rst index 7e7348e2..f9c3574d 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -22,8 +22,31 @@ 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 +------------------------------ + +``cryptography`` should build very easily on Linux provided you have a C +compiler, headers for Python (if you're not using ``pypy``), and headers for +the OpenSSL and ``libffi`` libraries available on your system. + +Debian and Ubuntu systems +~~~~~~~~~~~~~~~~~~~~~~~~~ + +For Debian and Ubuntu, the following command line will ensure the required +dependencies are installed: + +.. code-block:: console + + $ 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 + +.. code-block:: console + + $ pip install cryptography + Using your own OpenSSL on 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. |