compile from source


pre-compiled (Linux)

Using https://packagecloud.io/immortal/immortal

For deb:

curl -s https://packagecloud.io/install/repositories/immortal/immortal/script.deb.sh | sudo bash

Then:

apt install immortal

For rpm:

curl -s https://packagecloud.io/install/repositories/immortal/immortal/script.rpm.sh | sudo bash

Then:

yum install immortal

Compile from source

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

Help making the port/package

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

saltstack formula: https://github.com/saltstack-formulas/immortal-formula

comments powered by Disqus