So, you just have to get into EOS! I had to do the same thing only I am completely new to Ubuntu, Linux, all the requirements/packages/dependencies, and EOSIO. JUST LIKE YOU!

There is an easy, inexpensive way to do it and it works! It costs nothing but data bandwidth and a day or so and you will be off and running! EOSIO and it’s keosd, cleos, and nodeos will be off and working fine. We want to keep it simple so here are the steps to get up and going:

For Newbies With Windows 10 Home WSL Ubuntu

This is for Release Version 1.4.1 build commit f9a3d02 @ GitHub.com/EOSIO/eos

Requirements:

  • 1) Windows 10 Home
  • 2) 8 GB RAM
  • 3) 8 GB Hard drive space!
  • 4) x-86 64 bit. Yes AMD is good too

Getting Started:

If you follow these steps all the dependencies will be installed in the correct places and no errors! Otherwise you will need to install:

  •  CLang++-4.0 and Clang-4.0 With LLVM
  •  MongoDB
  • Python 3.5
  • GCC-7.3.0 with gcc-7 and c++-7
  • CMake 10
  • and the list goes on…

Here We Go:

  • 1) Click Microsoft Windows 10 store
  •      Type WSL in Search
  •      Install Ubuntu – version Bionic 18.04
  • 2) Download and Install GitHubDeskTop at GitHub.com
  •       a) You will have to add EOSIO/eos repository to the Desktop once it is downloaded.
  •       b) From the File Menu -> Add Local Repository -> Choose Path in the Dialog -> [Add Repository]
  • 3) In start menu, Right click Ubuntu and choose More, Choose Run as Administrator
  •      a) Always Run as Administrator for Development, programming, everything!
  •      b) I forgot to do this and had nothing but errors and failed builds for a month!
  • 4) Go to the directory where you want to install EOSIO by at the prompt in Ubuntu Bash Shell
  •      a) cd /mnt/c/Users/your Home Users directory/eosio [Enter] – you should create the folders you want in Explorer. I wouldn’t go too far because it is a lot of typing in the Ubuntu Terminal (You Users Home Directory is your computer name in the least column of Explorer)
  •          1) If you do not place your installation at your home users directory or past that, you will not be able to find your installation in Explorer!
  •     b) git clone https://github.com/EOSIO/eos –recursive [Enter] This will take some time! It will take a lot of disk space
  •     c) Type dir [Enter] at the command prompt. Your EOSIO installation will be in the eos directory.
  •         1) cd eos [Enter]
  •    d) The installation of eos will be visible in Explorer make certain the directory in Ubuntu Terminal is the same except it will read ${HOME}/mnt/c/Users/ Your Home User Directory/Whatever Folders are in between/eos
  •    e) at the prompt in Ubuntu Terminal: ./eosio_build ubuntu full [Enter] – Don’t Forget Period and Forward Slash in Ubuntu
  •    f) What if there is an error like line 32 command ‘\r’ not found? There won’t be but if there is:
  •       1) nano eosio_build.sh Note: ^ = Ctrl Key, M = Alt Key
  •       2) Ctrl Shift _ , 32 , [Enter] – it will send the cursor to line 32
  •       3) Select the number of lines that have the Windows ‘/r’ character error and hit [Enter]
  •       4) Open Wordpad and paste.
  • 5) Return to Ubuntu Terminal and
  • a) Reselect the text by Ctrl Shift 6 (^)
  • b) move the cursor with the arrow keys to the part to remove Ctrl k [Enter]
  • c) Type in what you pasted to Wordpad.
  • d) To save hit Ctrl x [Enter], Y [Enter] and the file is saved
  • e) Return to ‘d’ above and repeat as necessary for to remove all ‘\r’ in clean_old_install.sh and eosio_build_ubuntu.sh but this should not happen if you build EOSIO/eos this way!

This will begin to run and install everything EOSIO needs! It will take 18-24 hours!  It is really exciting to watch as it first scans for dependencies and then installs and builds everything.

  • 6) After the Huge EOSIO screen shows up at the command prompt These commands can also be copy and pasted one at a time from below the big EOSIO to the command prompt:
  •         a) export PATH=${HOME}/opt/mongodb/bin:${PATH}
  •         b) ${HOME}/opt/mongodb/bin/mongod -f ${HOME}/opt/mongodb/mongod.conf [Enter]
  •                     1) It might be necessary to create mongod.conf
  •                     2) nano ${HOME}/opt/mongodb/mongod.conf [Enter]
  •        c) ${HOME}/your directory/build; make test [Enter]
  •        d) tests will run and take awhile!
  • 7) Return to the eos directory in the Ubuntu Terminal at the prompt: cd .. [Enter].
  •       a) ./eosio_install.sh [Enter]
  •       b) All is installed  at $ usr/opt/eosio/1.4.1/bin or $ /usr/local/eosio/bin if it is the second…not so good but you can get the binaries at GitHub/Eosio/eos and you needed to do all of this anyways – you’ll see!
  • 8) You must open a new terminal for each of these: Three more terminals, each line is a terminal:

  Congratulations!!!!!!!!!!!!!!!!!!

Read article 2

WHEW!!!

 

  • There is also a very neat route where you get a free IDE called Visual Studio Code and you can run the program in the terminal and it is easy but you have to do the all stuff above so all the dependencies are linked to use the terminal option is Visual Studio Code.  You also have to download and install Git from GitHub in order to use this geeky option!  Once you do that – no more nano!
  • Git – https://git-scm.com/download/win – You always wanted MINGW64 for Powershell Right?
  • https://code.visualstudio.com/ Free IDE Editor

 

Sources:

7 votes, average: 4.57 out of 57 votes, average: 4.57 out of 57 votes, average: 4.57 out of 57 votes, average: 4.57 out of 57 votes, average: 4.57 out of 5 (7 votes, average: 4.57 out of 5)
You need to be a registered member to rate this.
(424 total tokens earned)
Loading...

Responses