Skip to content

Commit

Permalink
Update build instructions
Browse files Browse the repository at this point in the history
The Rust version in CentOS 7 SCL is too old to build cryptography.

Signed-off-by: Christian Heimes <cheimes@redhat.com>
  • Loading branch information
tiran committed Feb 8, 2021
1 parent 4f03b8e commit 339a177
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,16 @@ Debian/Ubuntu

.. code-block:: console
$ sudo apt-get install build-essential libssl-dev libffi-dev python3-dev
$ sudo apt-get install build-essential libssl-dev libffi-dev \
python3-dev cargo
RHEL/CentOS
~~~~~~~~~~~
Fedora/RHEL 8/CentOS 8
~~~~~~~~~~~~~~~~~~~~~~

.. code-block:: console
$ sudo yum install redhat-rpm-config gcc libffi-devel python-devel \
openssl-devel
$ sudo dnf install redhat-rpm-config gcc libffi-devel python3-devel \
openssl-devel cargo
Building
~~~~~~~~
Expand Down Expand Up @@ -281,3 +281,4 @@ Instructions for installing Rust can be found on `the Rust Project's website`_.
.. _openssl.org: https://www.openssl.org/source/
.. _`wheel cache`: https://pip.pypa.io/en/stable/reference/pip_install/#caching
.. _`the Rust Project's website`: https://www.rust-lang.org/tools/install
.. _`Rust Toolset 7`: https://www.softwarecollections.org/en/scls/rhscl/rust-toolset-7/

0 comments on commit 339a177

Please sign in to comment.