Installation Instructions for FreeBSD

Installing binary package

Binary packages tend to be outdated (currently in version 1.9.7 at the time of writing) and aren't typically in their latest version. Therefore, we recommend that you use ports or compile them yourself.

pkg install Elastos.ELA.SideChain.ESC

The geth command is then available on your system in /usr/local/bin/geth - you can start it on the testnet by typing the following as an example:

geth -rinkeby

Using ports

Go to the net-p2p/Elastos.ELA.SideChain.ESC ports directory:

cd /usr/ports/net-p2p/Elastos.ELA.SideChain.ESC

Then build it the standard way (as root):

make install

Building Geth (command line client)

Ports are slightly more up to date (version 1.9.7 at the time of writing).

Clone the repository to a directory of your choosing:

git clone https://github.com/elastos/Elastos.ELA.SideChain.ESC

Building geth requires the Go compiler:

pkg install go

If your golang version is >= 1.14, build the geth program using the following command:

cd Elastos.ELA.SideChain.ESC
make geth

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

cd Elastos.ELA.SideChain.ESC
CC=clang make geth

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

Last updated