Skip to content

Installation Instructions for Linux

riverwind-super edited this page Nov 16, 2018 · 4 revisions

Installation Instructions for Linux

Building from source

Building Sero (command line client)

Clone the repository to a directory of your choosing:

mkdir czero
cd czero
PATH_2_GOCZEROIMPORT=`pwd`
git clone git@github.com:sero-cash/go-sero.git
git clone git@github.com:sero-cash/go-czero-import.git

Install latest distribution of Go (v1.7) if you don't have it already:

See instructions

Building gero requires Go and C++ compilers to be installed:

sudo apt-get install -y build-essential golang

for centos

yum --setopt=group_package_types=mandatory,default,optional group install "Development Tools"

Install boost library for c++

sudo apt-get install libboost-all-dev

for centos

sudo yum install boost boost-devel boost-system boost-filesystem boost-thread

Finally, build the gero program using the following command.

cd go-sero
make gero

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

before start, please run export LD_LIBRARY_PATH=${PATH_2_GOCZEROIMPORT}/go-czero-import/czero/lib