Next: , Previous: , Up: Installation  


Build instructions

Make sure that Go is installed. For example to install it from packages:

FreeBSD

pkg install go

Debian, Ubuntu

apt install golang

$ [fetch|wget] http://www.nncpgo.org/download/nncp-7.3.0.tar.xz
$ [fetch|wget] http://www.nncpgo.org/download/nncp-7.3.0.tar.xz.sig
$ gpg --verify nncp-7.3.0.tar.xz.sig nncp-7.3.0.tar.xz
$ xz --decompress --stdout nncp-7.3.0.tar.xz | tar xf -
$ cd nncp-7.3.0
$ redo all

It uses redo build system for that examples. You can use either dozen of various implementations, or at least minimalistic POSIX shell contrib/do (just replace redo with contrib/do in the example above) included in tarball. Following ones are tested to work with: goredo (NNCP’s author creation), apenwarr/redo (contrib/do is from that project), redo-c.

There is install make-target respecting DESTDIR. It will install binaries and info-documentation:

# PREFIX=/usr/local redo install