Skip to content

Latest commit

 

History

History
82 lines (48 loc) · 1.62 KB

linux.md

File metadata and controls

82 lines (48 loc) · 1.62 KB

+++ title = "compile from source" date = "2017-03-20T16:17:00+00:00" hidden = true

+++

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

{{< figure src="https://img.shields.io/badge/deb-packagecloud.io-844fec.svg" class="badge" >}}

Then:

apt install immortal

For rpm:

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

{{< figure src="https://img.shields.io/badge/rpm-packagecloud.io-844fec.svg" class="badge" >}}

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 git@github.com: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