3

I installed EOS locally following the instructions here https://github.com/EOSIO/eos/wiki/Local-Environment

Which basically involve:

  1. git clone https://github.com/EOSIO/eos --recursive
  2. ./eosio_build.sh
  3. sudo make install

Now suppose some updates to EOS software have occurred (e.g. 1.0.2 to 1.0.3), what is the proper way to update my installation?

3 Answers 3

2

Thus far I usually do a:

git pull

./eosio_build.sh

This might not be the optimal way :)

2
  • 1
    Wouldn't you want to do a git pull? Because won't git fetch will pull the changes but not apply them to the working directory. I assume you do a sudo make install after?
    – User
    Commented Jun 16, 2018 at 0:49
  • Quite so! Thx for discovering my error :) Commented Jun 17, 2018 at 15:19
2

I think the safest way is to go to the latest branch:

git pull
git checkout v1.0.5
git submodule update  --init --recursive
./eosio_build.sh -a “EOS” && cd build && make

Then start your nodeos again and you should be updated.

3
  • What does the -a "EOS" flag do?
    – User
    Commented Jun 19, 2018 at 7:56
  • 1
    It builds with EOS as a core symbol, the default is SYS
    – Chitty
    Commented Jun 19, 2018 at 12:18
  • I didn't realize that was -a. I've always seen -s
    – Nat
    Commented Jul 12, 2018 at 12:32
1

For now there is no other way to update EOS, the most proper way is doing it again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.