-
Notifications
You must be signed in to change notification settings - Fork 26
Installation Instructions for Linux
SmartMesh edited this page Aug 2, 2018
·
12 revisions
Installing on Ubuntu:
1)Install by using binary file
1)download the binary file from http://
2)decompress the file "spectrum.tar.gz" and extract it to the current directory
$ tar -zxvf spectrum.tar.gz
3)switch to the run directory
$ cd Spectrum
4)run the program
$ ./geth console
1)Install by using source code
1)Install git
$ apt-get install git
$ apt-get install golang
2)Install golang in the directory of {GOHOME}
$ cd {GOHOME}
$ tar -zxvf go1.9.2.linux-amd64.tar
$ mkdir {GOHOME}/gopath
$ export GOAPTH={GOHOME}/gopath
$ export GOROOT=${GOHOME}/go
$ export PATH=$GOROOT/bin:$PATH
3)download the source on the git
$ cd {GOPATH}
$ mkdirs src\github.com\SmartMeshFoundation\
$ cd src\github.com\SmartMeshFoundation\
$ git clone https://github.com/SmartMeshFoundation/Spectrum.git
4)compile the source code
$ cd Spectrum
$ make geth
5)run the program
$ ./build/bin/geth console