docs: update requirements, fixes #4374

also some other minor install docs updates, to be continued...
This commit is contained in:
Thomas Waldmann 2019-03-20 00:01:30 +01:00
parent f922cdd803
commit 060fb02112
1 changed files with 23 additions and 26 deletions

View File

@ -180,34 +180,33 @@ Debian / Ubuntu
Install the dependencies with development headers:: Install the dependencies with development headers::
sudo apt-get install python3 python3-dev python3-pip python-virtualenv \ sudo apt-get install python3 python3-dev python3-pip python-virtualenv \
libssl-dev openssl \
libacl1-dev libacl1 \ libacl1-dev libacl1 \
build-essential libssl-dev libb2-dev \
sudo apt-get install libfuse-dev fuse pkg-config # optional, for FUSE support liblz4-dev libzstd-dev \
build-essential \
pkg-config python3-pkgconfig
sudo apt-get install libfuse-dev fuse # optional, for FUSE support
In case you get complaints about permission denied on ``/etc/fuse.conf``: on In case you get complaints about permission denied on ``/etc/fuse.conf``: on
Ubuntu this means your user is not in the ``fuse`` group. Add yourself to that Ubuntu this means your user is not in the ``fuse`` group. Add yourself to that
group, log out and log in again. group, log out and log in again.
Fedora / Korora Fedora
+++++++++++++++ ++++++
.. todo:: use python 3.6
Install the dependencies with development headers:: Install the dependencies with development headers::
sudo dnf install python3 python3-devel python3-pip python3-virtualenv sudo dnf install python3 python3-devel python3-pip python3-virtualenv \
sudo dnf install openssl-devel openssl libacl-devel libacl \
sudo dnf install libacl-devel libacl openssl-devel libb2-devel \
sudo dnf install gcc gcc-c++ lz4-devel libzstd-devel \
sudo dnf install redhat-rpm-config # not needed in Korora pkgconf python3-pkgconfig
sudo dnf install fuse-devel fuse pkgconfig # optional, for FUSE support sudo dnf install gcc gcc-c++ redhat-rpm-config
sudo dnf install fuse-devel fuse # optional, for FUSE support
openSUSE Tumbleweed / Leap openSUSE Tumbleweed / Leap
++++++++++++++++++++++++++ ++++++++++++++++++++++++++
.. todo:: use python 3.6
Install the dependencies automatically using zypper:: Install the dependencies automatically using zypper::
sudo zypper source-install --build-deps-only borgbackup sudo zypper source-install --build-deps-only borgbackup
@ -223,13 +222,11 @@ Alternatively, you can enumerate all build dependencies in the command line::
Mac OS X Mac OS X
++++++++ ++++++++
.. todo:: use python 3.6
Assuming you have installed homebrew_, the following steps will install all the Assuming you have installed homebrew_, the following steps will install all the
dependencies:: dependencies::
brew install python3 openssl brew install python3 openssl
brew install pkg-config # optional, for FUSE support brew install pkg-config
pip3 install virtualenv pip3 install virtualenv
For FUSE support to mount the backup archives, you need at least version 3.0 of For FUSE support to mount the backup archives, you need at least version 3.0 of
@ -243,16 +240,17 @@ FUSE for OS X, which is available via github_, or via homebrew::
FreeBSD FreeBSD
++++++++ ++++++++
.. todo:: use python 3.6
Listed below are packages you will need to install Borg, its dependencies, Listed below are packages you will need to install Borg, its dependencies,
and commands to make FUSE work for using the mount command. and commands to make FUSE work for using the mount command.
:: ::
pkg install -y python3 openssl fusefs-libs pkgconf pkg install -y python3 pkgconf
pkg install openssl
pkg install liblz4 zstd
pkg install fusefs-libs
pkg install -y git pkg install -y git
python3.4 -m ensurepip # to install pip for Python3 python3.5 -m ensurepip # to install pip for Python3
To use the mount command: To use the mount command:
echo 'fuse_load="YES"' >> /boot/loader.conf echo 'fuse_load="YES"' >> /boot/loader.conf
echo 'vfs.usermount=1' >> /etc/sysctl.conf echo 'vfs.usermount=1' >> /etc/sysctl.conf
@ -275,8 +273,6 @@ Cygwin
.. note:: .. note::
Running under Cygwin is experimental and has not been tested much yet. Running under Cygwin is experimental and has not been tested much yet.
.. todo:: use python 3.6
Use the Cygwin installer to install the dependencies:: Use the Cygwin installer to install the dependencies::
python3 python3-devel libcrypt-devel python3-setuptools python3 python3-devel libcrypt-devel python3-setuptools
@ -286,7 +282,7 @@ Use the Cygwin installer to install the dependencies::
You can then install ``pip`` and ``virtualenv``:: You can then install ``pip`` and ``virtualenv``::
easy_install-3.4 pip easy_install-3.5 pip
pip install virtualenv pip install virtualenv
@ -346,7 +342,8 @@ While we try not to break master, there are no guarantees on anything. ::
# requires fakeroot, available through your package manager # requires fakeroot, available through your package manager
fakeroot -u tox fakeroot -u tox
By default the system installation of python will be used. If you need to use a different version of Python you can install this using ``pyenv``: :: By default the system installation of python will be used.
If you need to use a different version of Python you can install this using ``pyenv``: ::
... ...
# create a virtual environment # create a virtual environment