Update installation instructions

- sort sections for different third-party methods
- Mention that Fedora can now just be installed via dnf
- Fix some typos
This commit is contained in:
Till Maas 2018-09-04 14:33:26 +02:00
parent 35e9885e8b
commit e9cdcf131c
1 changed files with 50 additions and 45 deletions

View File

@ -24,19 +24,9 @@ These are up to date binaries, built in a reproducible and verifiable way, that
you can download and run without having to do additional installation work. you can download and run without having to do additional installation work.
Please see the :ref:`official_binaries` section below for various downloads. Please see the :ref:`official_binaries` section below for various downloads.
Official bianaries can be updated in place by using the ``restic self-update`` Official binaries can be updated in place by using the ``restic self-update``
command. command.
Mac OS X
========
If you are using Mac OS X, you can install restic using the
`homebrew <http://brew.sh/>`__ package manager:
.. code-block:: console
$ brew install restic
Arch Linux Arch Linux
========== ==========
@ -47,17 +37,6 @@ which can be installed from AUR, e.g. with ``pacaur``:
$ pacaur -S restic-git $ pacaur -S restic-git
Nix & NixOS
===========
If you are using `Nix <https://nixos.org/nix/>`__ or `NixOS <https://nixos.org/>`__
there is a package available named ``restic``.
It can be installed uisng ``nix-env``:
.. code-block:: console
$ nix-env --install restic
Debian Debian
====== ======
@ -73,6 +52,54 @@ installed from the official repos, e.g. with ``apt-get``:
has ``restic`` version 0.3.3 which is very old. The *testing* and *unstable* has ``restic`` version 0.3.3 which is very old. The *testing* and *unstable*
branches have recent versions of ``restic``. branches have recent versions of ``restic``.
Fedora
======
restic can be installed using ``dnf``:
.. code-block:: console
$ dnf install restic
If you used restic from copr previously, remove the copr repo as follows to
avoid any conflicts:
.. code-block:: console
$ dnf copr remove copart/restic
Mac OS X
========
If you are using Mac OS X, you can install restic using the
`homebrew <http://brew.sh/>`__ package manager:
.. code-block:: console
$ brew install restic
Nix & NixOS
===========
If you are using `Nix <https://nixos.org/nix/>`__ or `NixOS <https://nixos.org/>`__
there is a package available named ``restic``.
It can be installed using ``nix-env``:
.. code-block:: console
$ nix-env --install restic
OpenBSD
=======
On OpenBSD 6.3 and greater, you can install restic using ``pkg_add``:
.. code-block:: console
# pkg_add restic
.. _official_binaries:
RHEL & CentOS RHEL & CentOS
============= =============
@ -96,17 +123,6 @@ For CentOS7 use:
$ yum-config-manager --add-repo https://copr.fedorainfracloud.org/coprs/copart/restic/repo/epel-7/copart-restic-epel-7.repo $ yum-config-manager --add-repo https://copr.fedorainfracloud.org/coprs/copart/restic/repo/epel-7/copart-restic-epel-7.repo
Fedora
======
restic can be installed via copr repository.
.. code-block:: console
$ dnf install dnf-plugin-core
$ dnf copr enable copart/restic
$ dnf install restic
Solus Solus
===== =====
@ -116,17 +132,6 @@ restic can be installed from the official repo of Solus via the ``eopkg`` packag
$ eopkg install restic $ eopkg install restic
OpenBSD
=======
On OpenBSD 6.3 and greater, you can install restic using ``pkg_add``:
.. code-block:: console
# pkg_add restic
.. _official_binaries:
Official Binaries Official Binaries
***************** *****************