1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-23 14:41:43 +00:00

Update installation.rst

Replicated Ubuntus dependency list.
This commit is contained in:
Per Guth 2015-06-15 14:39:04 +02:00
parent 1dc00e7937
commit 041357e48a

View file

@ -88,19 +88,34 @@ While we try not to break master, there are no guarantees on anything.
Some of the steps detailled below might be useful also for non-git installs. Some of the steps detailled below might be useful also for non-git installs.
.. parsed-literal:: .. parsed-literal::
sudo dnf install libacl-devel # Python 3.x (>= 3.2) + Headers, Py Package Installer
sudo dnf install python3 python3-devel python3-pip
# we need OpenSSL + Headers for Crypto
sudo dnf install openssl-devel openssl
# ACL support Headers + Library
sudo dnf install libacl-devel libacl
# optional: lowlevel FUSE py binding - to mount backup archives
sudo dnf install python3-llfuse fuse
# optional: for unit testing
sudo dnf install fakeroot
# get |project_name| from github, install it # get |project_name| from github, install it
git clone |git_url| git clone |git_url|
dnf install python3-virtualenv
virtualenv --python=python3 borg-env virtualenv --python=python3 borg-env
source borg-env/bin/activate source borg-env/bin/activate # always before using!
# install borg + dependencies into virtualenv # install borg + dependencies into virtualenv
pip install cython # compile .pyx -> .c pip install cython # compile .pyx -> .c
pip install tox pytest # optional, for running unit tests pip install tox pytest # optional, for running unit tests
pip install sphinx # optional, to build the docs pip install sphinx # optional, to build the docs
cd borg cd borg
pip install -e . # in-place editable mode pip install -e . # in-place editable mode
# optional: run all the tests, on all supported Python versions # optional: run all the tests, on all supported Python versions
fakeroot -u tox fakeroot -u tox