![]() Open the editor of your choice and put this code, modify the paths according to your local installation. I have put together a script that will ensure all the required variables are set before starting the node and generate the blocks in the directory you like. Switch to directory where you want to install geth, in my case itsĪfter build id complete you can go to "/go-ethereum/build/bin" and start geth node. Now all the dependencies takes care off, lets clone the Geth software and build it. ![]() Sudo apt-get install -y build-essential golang Tar -C /ethereum -xzf go1.7.3.Įxport GOPATH=//binīuilding geth requires Go and C compilers to be installed: Unpack it to folder where you want to install it, in my case i have created a directory where i am going to install geth and Go. So i am going to install GO run timeĭownload Go anywhere you like on your system, in my case i have downloaded in my home folder As i mentioned above geth is written in GO. Now lets prepare the dependency required to run geth. So i have setup an exclusive user to carry out the installation of geth and run it. It is good to avoid root user to install or run the softwares on linux for security reasons. I am going to be talking about how to install geth on ubuntu on 16.10. Geth is the the command line interface for running a full ethereum node implemented in Go. You need go-lang 1.8 to run 1.8 version of geth.) (PS: Installation steps here are for older version of geth but steps remains same expect go-lang version.
0 Comments
Leave a Reply. |