This document will show you how to build binaries to use Backpack.
Before proceeding ensure to have the following software installed:
On macOS you can use homebrew to install quickly the requirements:
brew install go make git
On most of Debian and Ubuntu-based OOS you can run:
apt update
apt install git make
Please follow this guide (pkg) or this guide (src) to install Go with the latest version, as both Debian and Ubuntu official repositories might provide an old version.
First, we need to clone the repository and obtain the latest version of the source code.
git clone https://gitlab.com/Qm64/backpack.git
git checkout latest
Now we are ready to clean the builds, get the dependencies and compile the binaries.
cd backpack
make
The binary will be available in build/backpack
To install buildpack
command, you can run:
make install
This will install it under your $GOBIN
, which defaults to $GOPATH/bin
and should be available in the $PATH
.