How to update and older version of electrum on ubuntu 17?

0

I used the following commands to install electrum:

For latest tar files: https://electrum.org/#download

In the future, how would I go about updating electrum? What command would I use to update?

Also, where are the electrum files installed that contains my private keys and wallet?

enter image description here

Patoshi パトシ

Posted 2018-01-28T05:59:44.433

Reputation: 8 911

running sudo pip3 install https://download.electrum.org/3.1.0/Electrum-3.1.0.tar.gz from the website works perfectly. when updating. See Preview: http://prntscr.com/inr5c4

Patoshi パトシ 2018-03-06T19:38:46.990

Answers

2

how would I go about updating electrum? What command would I use to update?

There are couple of ways to do it:

  • If you downloaded the official package (tar.gz), you can run electrum from its root directory, without installing it on your system; all the python dependencies are included in the 'packages' directory. To run Electrum from its root directory, just do: ./electrum

  • There is also PPA package repository, but I think they didn't update it.

  • I've a shell script, this script check the github source, download the last version and save the backup of an old wallet. You can find it here.

where are the electrum files installed that contains my private keys and wallet?

On the Linux machine, there is the folder ~/.electrum which contains your wallet, configs and other.

Зелёный

Posted 2018-01-28T05:59:44.433

Reputation: 871

thanks. where is the electrum program installed?Patoshi パトシ 2018-01-29T05:25:33.537

@Patoshi perhaps in /usr/local/lib/ if its pip3 installed programm.Зелёный 2018-01-29T05:30:51.217

0

In the future, how would I go about updating electrum? What command would I use to update?

The same way you installed it i.e. sudo pip3 install <tarball>

pip3 will uninstall the old version and install the new version for you.

I strongly suggest installing using pip3 instead of relying on your distro's repos. Electrum has a very fast release cycle and most distros don't keep up with the latest. Installing from source will get you the latest and greatest. I also strongly recommend checking the gpg sig before installing. This script automates all that for you.

Wallet files are stored in ~/.electrum/wallets. You can also backup the file via file menu > save copy. More about backing up an Electrum wallet here.

In case you are wondering wallets don't get removed when you uninstall electrum. This is to prevent accidental loss of funds. When you update Electrum it automatically picks up your wallet from the default location I gave above.

Abdussamad

Posted 2018-01-28T05:59:44.433

Reputation: 1 850