Skip to content

Installation Instructions for FreeBSD

zeoio edited this page Sep 14, 2020 · 5 revisions

Building from source

Installing binary package

Binary packages tend not to be up to date (1.8.9 at the time of writing) with the latest version (1.8.16 at the time of writing). It is recommended that you use ports or compile it yourself.

pkg install ccmchain

The gccm command is then available on your system in /usr/local/bin/gccm, you can start it e.g. on the testnet by typing:

gccm -rinkeby

Using ports

Go to the net-p2p/ccmchain ports directory:

cd /usr/ports/net-p2p/ccmchain

Then build it the standard way (as root):

make install

Building Gccm (command line client)

Ports are slightly more up to date (1.8.14 at the time of writing)

Clone the repository to a directory of your choosing:

git clone https://github.com/ccm-chain/ccmchain

Building gccm requires the Go compiler:

pkg install go

If your golang version is >= 1.5, build the gccm program using the following command.

cd ccmchain
make gccm

If your golang version is < 1.5 (quarterly packages, for example), use the following command instead.

cd ccmchain
CC=clang make gccm

You can now run build/bin/gccm to start your node.

Clone this wiki locally