From 1dc00e79375c624beb198e0b2f3b13c3eab99161 Mon Sep 17 00:00:00 2001 From: Per Guth Date: Mon, 15 Jun 2015 13:09:39 +0200 Subject: [PATCH 1/3] Update installation.rst please test on fresh installation. --- docs/installation.rst | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docs/installation.rst b/docs/installation.rst index dc28fc34d..d5b1d5dd2 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -78,3 +78,29 @@ Some of the steps detailled below might be useful also for non-git installs. # optional: run all the tests, on all supported Python versions fakeroot -u tox + + +Korora / Fedora 21 installation (from git) +--------------------------------------- +Note: this uses latest, unreleased development code from git. +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. + +.. parsed-literal:: + sudo dnf install libacl-devel + + # get |project_name| from github, install it + git clone |git_url| + virtualenv --python=python3 borg-env + source borg-env/bin/activate + + # install borg + dependencies into virtualenv + pip install cython # compile .pyx -> .c + pip install tox pytest # optional, for running unit tests + pip install sphinx # optional, to build the docs + cd borg + pip install -e . # in-place editable mode + + # optional: run all the tests, on all supported Python versions + fakeroot -u tox From 041357e48a08d7994521ad9e05d560ce734009d7 Mon Sep 17 00:00:00 2001 From: Per Guth Date: Mon, 15 Jun 2015 14:39:04 +0200 Subject: [PATCH 2/3] Update installation.rst Replicated Ubuntus dependency list. --- docs/installation.rst | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index d5b1d5dd2..76aa56b04 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -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. .. 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 git clone |git_url| + + dnf install python3-virtualenv virtualenv --python=python3 borg-env - source borg-env/bin/activate - + source borg-env/bin/activate # always before using! + # install borg + dependencies into virtualenv pip install cython # compile .pyx -> .c pip install tox pytest # optional, for running unit tests pip install sphinx # optional, to build the docs cd borg pip install -e . # in-place editable mode - + # optional: run all the tests, on all supported Python versions fakeroot -u tox From e168b41406aebb98e1e0bcd14406c8741f38cdb0 Mon Sep 17 00:00:00 2001 From: Per Guth Date: Mon, 15 Jun 2015 14:40:11 +0200 Subject: [PATCH 3/3] Update installation.rst --- docs/installation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installation.rst b/docs/installation.rst index 76aa56b04..11f13fc7a 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -81,7 +81,7 @@ Some of the steps detailled below might be useful also for non-git installs. Korora / Fedora 21 installation (from git) ---------------------------------------- +------------------------------------------ Note: this uses latest, unreleased development code from git. While we try not to break master, there are no guarantees on anything.