1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-23 08:16:54 +00:00

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

View file

@ -180,34 +180,33 @@ Debian / Ubuntu
Install the dependencies with development headers::
sudo apt-get install python3 python3-dev python3-pip python-virtualenv \
libssl-dev openssl \
libacl1-dev libacl1 \
build-essential
sudo apt-get install libfuse-dev fuse pkg-config # optional, for FUSE support
libssl-dev libb2-dev \
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
Ubuntu this means your user is not in the ``fuse`` group. Add yourself to that
group, log out and log in again.
Fedora / Korora
+++++++++++++++
.. todo:: use python 3.6
Fedora
++++++
Install the dependencies with development headers::
sudo dnf install python3 python3-devel python3-pip python3-virtualenv
sudo dnf install openssl-devel openssl
sudo dnf install libacl-devel libacl
sudo dnf install gcc gcc-c++
sudo dnf install redhat-rpm-config # not needed in Korora
sudo dnf install fuse-devel fuse pkgconfig # optional, for FUSE support
sudo dnf install python3 python3-devel python3-pip python3-virtualenv \
libacl-devel libacl \
openssl-devel libb2-devel \
lz4-devel libzstd-devel \
pkgconf python3-pkgconfig
sudo dnf install gcc gcc-c++ redhat-rpm-config
sudo dnf install fuse-devel fuse # optional, for FUSE support
openSUSE Tumbleweed / Leap
++++++++++++++++++++++++++
.. todo:: use python 3.6
Install the dependencies automatically using zypper::
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
++++++++
.. todo:: use python 3.6
Assuming you have installed homebrew_, the following steps will install all the
dependencies::
brew install python3 openssl
brew install pkg-config # optional, for FUSE support
brew install pkg-config
pip3 install virtualenv
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
++++++++
.. todo:: use python 3.6
Listed below are packages you will need to install Borg, its dependencies,
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
python3.4 -m ensurepip # to install pip for Python3
python3.5 -m ensurepip # to install pip for Python3
To use the mount command:
echo 'fuse_load="YES"' >> /boot/loader.conf
echo 'vfs.usermount=1' >> /etc/sysctl.conf
@ -275,8 +273,6 @@ Cygwin
.. note::
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::
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``::
easy_install-3.4 pip
easy_install-3.5 pip
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
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