Upgrading Monero Command Line Interface
Cryptocurrency, Monero
Notes on upgrading Monero command line interface on Ubuntu 16.04 From Wolfram-Warptangent to Helium-Hydra.
Download New Binaries
Download the binaries, along with the list of hashes that will allow you to verify the download:
Verify the Download
To verify the download, you need to:
- Verify that you have a true copy of hashes.txt
- Check that the
sha256sum
checksum for your downloaded tar file matches the quoted value inhashes.txt
To verify hashes.txt
, you must install the appropriate GPG key, which is found here in the Monero source code repository (/utils/gpg_keys).
The hashes.txt
file will state which signature has been used - in this case, we need to add the GPG signature for fluffypony to GPG.
You can now use GnuPG to verify hashes.txt
. From within the same directory as the file, run:
If the hashes.txt
file is genuine, you should see:
You can now use hashes.txt
to verify the Monero download:
Extract
Extract the files from the downloaded tarball:
Move/copy Wallet files from old to new directory:
Run Monero
When you move into the new Monero directory and run ./monerod
, it should start syncing to the forked blockchain - it will not need to download the Monero blockchain from scratch.
In my case, I had already synced after the hard-fork with the previous CLI client, and this caused a problem. To get around this, remove some downloaded blocks by running monero-blockchain-import
:
Connect Up and Run Monero
A convenient way to manage Monero version upgrades is to create symlinks to Monero executables within a directory that is in your $PATH
.
For example, after you download and verify the ‘helium-hydra’ Monero binaries, you might symlink to relevant files from within your /usr/local/bin
directory:
The /usr/local/bin
directory now contains the following:
To run monerod
from the helium-hydra package, just run monerod
in your terminal.
Likewise, monero-wallet-cli
will run the correct wallet CLI binary.
comments powered by Disqus