Geth and Mist – How to Upgrade Geth and Mist in Ubuntu

go-ethereummistUbuntuupgrading

I set up a Ubuntu laptop specifically to install Geth/Mist 0.5.2 and have not upgraded since. I want to upgrade to 0.8.1 but need some direction. Am happy to work from terminal, but don't have enough background to do this on my own.

I have searched reddit and StackExchange but haven't seen an upgrade walk through for absolute beginners. I have downloaded Ethereum-Wallet-linux64-0-8-1.zip from https://github.com/ethereum/mist/releases but don't know if I just need to open the wallet icon to update or work from the command line. I have ether in my wallet that I don't want to lose. My keys are backed up. Any help would be appreciated. Thanks.

Best Answer

Upgrading Mist on Ubuntu

  1. Backup your keystore (/.ethereum/keystore)
  2. Backup your data folder (/.config/Mist)
  3. Download the latest zip from here and install.

For more information on backing up wallets, see here: How to backup mist wallets?

Upgrading go-ethereum:

sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo add-apt-repository -y ppa:ethereum/ethereum-dev
sudo apt-get update
sudo apt-get upgrade

or simply build the git repository.

git clone https://github.com/ethereum/go-ethereum
cd go-ethereum  # (use "git checkout <branch>" to switch to branches or tag/commit. ex: git checkout -f tags/v1.10.16)
make geth       # (to build geth binary in build/bin)
make clean      # (clean things up, if you want to build a different branch or commit)
sudo cp build/bin/geth /usr/local/bin/
Related Topic