-
Notifications
You must be signed in to change notification settings - Fork 4
Installation Instructions for Linux
zhaojun-sh edited this page Dec 20, 2018
·
1 revision
Recommended use Ubuntu 18.04 to build the dcrm-go source code.
Building dcrm-go(gdcrm) requires Git, Go and C compilers to be installed:
sudo apt-get install -y build-essential golang git
Building pbc requires bison, flex and gmp to be installed:
sudo apt-get install -y bison flex libgmp-dev
Recommended go version
1.9 or higher.
For Go to work properly, you need to set the following two environment variables:
- Setup a go folder:
mkdir -p ~/dcrm; echo "export GOPATH=$HOME/dcrm" >> ~/.bashrc
- Update your path:
echo "export PATH=$PATH:$GOPATH/bin" >> ~/.bashrc
- Read the environment variables into current session:
source ~/.bashrc
Clone the repository to a directory of your choosing:
git clone https://github.com/FUSIONFoundation/dcrm-go.git $GOPATH/
Finally, build the gdcrm program using the following command:
cd $GOPATH/
make gdcrm
Now you can run build/bin/gdcrm
to start your dcrm node.
An Exciting New Era of Cryptofinance for the Internet of Values.