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

up vote 2 down vote accepted

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.

  • thanks. where is the electrum program installed? – Patoshi パトシ Jan 29 at 5:25
  • @Patoshi perhaps in /usr/local/lib/ if its pip3 installed programm. – Зелёный Jan 29 at 5:30

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.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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