2
2
mirror of https://github.com/octoleo/restic.git synced 2024-09-20 19:19:02 +00:00

Merge pull request #768 from brikou/download_link

Add note about pre-compiled binaries
This commit is contained in:
Alexander Neumann 2017-02-03 11:11:05 +01:00
commit f5faff9020
2 changed files with 20 additions and 14 deletions

View File

@ -19,6 +19,11 @@ The latest documentation can be viewed online at
a menu that allows switching to the documentation and user manual for the
latest released version.
Install restic
==============
You can download the latest pre-compiled binary from the [restic release page](https://github.com/restic/restic/releases/latest).
Build restic
============

View File

@ -1,7 +1,13 @@
Thanks for using restic. This document will give you an overview of the basic
functionality provided by restic.
# Building/installing restic
# Installing restic
## from pre-compiled binary
You can download the latest pre-compiled binary from the [restic release page](https://github.com/restic/restic/releases/latest).
## Mac OS X
If you are using Mac OS X, you can install restic using the
[homebrew](http://brew.sh/) packet manager:
@ -11,25 +17,19 @@ $ brew tap restic/restic
$ brew install restic
```
## archlinux
On archlinux, there is a package called `restic-git` which can be installed from AUR, e.g. with `pacaur`:
```console
$ pacaur -S restic-git
```
At debian stable you can install 'go' directly from the repositories (as root):
# Building restic
```console
$ apt-get install golang-go
```
after installation of 'go' go straight forward to 'git clone [...]'
If you are using Linux, BSD or Windows, the only way to install restic on your
system right now is to compile it from source. restic is written in the Go
programming language and you need at least Go version 1.6. Building restic may
also work with older versions of Go, but that's not supported. See the [Getting
started](https://golang.org/doc/install) guide of the Go project for
restic is written in the Go programming language and you need at least Go version 1.6.
Building restic may also work with older versions of Go, but that's not spported.
See the [Getting started](https://golang.org/doc/install) guide of the Go project for
instructions how to install Go.
In order to build restic from source, execute the following steps:
@ -46,6 +46,8 @@ $ go run build.go
At the moment, the only tested compiler for restic is the official Go compiler.
Building restic with gccgo may work, but is not supported.
# Usage help
Usage help is available:
```console
@ -352,7 +354,6 @@ enter password for repository:
restoring <Snapshot of [/home/art] at 2015-05-08 21:45:17.884408621 +0200 CEST> to /tmp/restore-work
```
# Manage repository keys
The `key` command allows you to set multiple access keys or passwords per