+++ title = "compile from source" date = "2017-03-20T16:17:00+00:00" hidden = true
+++
Setup go environment https://golang.org/doc/install
go >= 1.9 is required
For example using $HOME/go for your workspace
$ export GOPATH=$HOME/go
Create the directory:
$ mkdir -p $HOME/go/src/github.com/immortal
Clone project into that directory:
$ git clone [email protected]:immortal/immortal.git $HOME/go/src/github.com/immortal/immortal
Build by just typing make:
$ cd $HOME/go/src/github.com/immortal/immortal
$ make
To install/uninstall:
$ make install
$ make uninstall
If you are familiar with the platform, would be nice if could create a native port in order make more simple the installation process.
Currently there are only ports for FreeBSD and macOS
saltstack formula: https://github.com/saltstack-formulas/immortal-formula