Source

Installation from source

It’s very easy to compile from the source code.

Ensure your machine has the following:

  • git (use git-bash on Windows)
  • Go compiler
  • GNU Make (preinstalled on many Unix systems). On Debian-based distributions (e.g., Ubuntu), install the build-essential package.

Compilation:

git clone https://github.com/creativeprojects/resticprofile.git
cd resticprofile
make build

Your compiled binary (resticprofile or resticprofile.exe) is available in the current folder.

To install the binary in your user path:

make install

To build all common platforms (build-mac, build-linux, build-pi & build-windows):

make build-all

Alternatively, a go-only build (without GNU Make) is accomplished with:

git clone https://github.com/creativeprojects/resticprofile.git
cd resticprofile
go build -v -o resticprofile .