HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/394/platform/gsutil/third_party/rsa/doc/installation.rst
Installation
============

Installation can be done in various ways. The simplest form uses pip
or easy_install. Either one will work::

    pip install rsa

Depending on your system you may need to use ``sudo pip`` if you want to install
the library system-wide.

Installation from source is also quite easy. Download the source and
then type::

    python setup.py install


The sources are tracked in our `Git repository`_ at
GitHub. It also hosts the `issue tracker`_.

.. _`Git repository`: https://github.com/sybrenstuvel/python-rsa.git
.. _`issue tracker`: https://github.com/sybrenstuvel/python-rsa/issues


Dependencies
------------

Python-RSA has very few dependencies. As a matter of fact, to use it
you only need Python itself. Loading and saving keys does require an
extra module, though: pyasn1. If you used pip or easy_install like
described above, you should be ready to go.


Development dependencies
------------------------

In order to start developing on Python-RSA you need a bit more. Use
pip to install the development requirements in a virtual environment::

    virtualenv -p /path/to/your-python-version python-rsa-venv
    . python-rsa-venv/bin/activate
    pip install -r python-rsa/requirements.txt


Once these are installed, use Git_ to get a copy of the source::

    git clone https://github.com/sybrenstuvel/python-rsa.git
    python setup.py develop

.. _Git: https://git-scm.com/