<blockquote>
  <p>how would I go about updating electrum? What command would I use to
  update?</p>
</blockquote>

<p>There are couple of ways to do it:</p>

<ul>
<li><p>If you downloaded the official package (<code>tar.gz</code>), 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: <code>./electrum</code></p></li>
<li><p>There is also <a href="https://packages.debian.org/source/jessie/electrum" rel="nofollow noreferrer">PPA</a> package repository, but I think they didn't update it.</p></li>
<li><p>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 <a href="https://gist.github.com/fishbullet/9991dff30ddd53f40b39a86f4a2b930b" rel="nofollow noreferrer">here</a>.</p></li>
</ul>

<blockquote>
  <p>where are the electrum files installed that contains my private keys
  and wallet?</p>
</blockquote>

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

CC BY-SA 3.0
2018-01-29T05:25:33.537Z
thanks. where is the electrum program installed?
Patoshi パトシ
CC BY-SA 3.0
2018-01-29T05:30:51.217Z
@Patoshi perhaps in `/usr/local/lib/` if its pip3 installed programm.
Roman Kiselenko
CC BY-SA 3.0
2018-01-28T08:19:07.707Z
2018-01-28T10:41:42.997Z
2018-01-28T10:41:42.997Z
Roman Kiselenko
<blockquote>
  <p>In the future, how would I go about updating electrum? What command would I use to update?</p>
</blockquote>

<p>The same way you installed it i.e. <code>sudo pip3 install &lt;tarball&gt;</code></p>

<p>pip3 will uninstall the old version and install the new version for you.</p>

<p>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. <a href="https://github.com/BitcoinsPakistan/electrum-install" rel="nofollow noreferrer">This script</a> automates all that for you.</p>

<p>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 <a href="https://bitcoinelectrum.com/how-to-backup-your-electrum-wallet/" rel="nofollow noreferrer">here</a>.</p>

<p>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.</p>

CC BY-SA 3.0
2018-02-01T05:02:05.927Z
2018-02-01T05:02:05.927Z
Abdussamad
<p>I used the following commands to install electrum:</p>

<ul>
<li>sudo apt-get install python3-setuptools python3-pyqt5 python3-pip</li>
<li>sudo pip3 install <a href="https://download.electrum.org/3.0.5/Electrum-3.0.5.tar.gz" rel="nofollow noreferrer">https://download.electrum.org/3.0.5/Electrum-3.0.5.tar.gz</a></li>
</ul>

<p>For latest tar files: <a href="https://electrum.org/#download" rel="nofollow noreferrer">https://electrum.org/#download</a></p>

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

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

<p><a href="https://i.sstatic.net/iwo7E.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/iwo7E.png" alt="enter image description here"></a></p>

CC BY-SA 3.0
2018-03-06T19:38:46.990Z
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 パトシ
<electrum><ubuntu>
How to update and older version of electrum on ubuntu 17?
Patoshi パトシ
# How to update and older version of electrum on ubuntu 17?

(Asked by: username_0 on 2018-01-28)

I used the following commands to install electrum:

* sudo apt-get install python3-setuptools python3-pyqt5 python3-pip
* sudo pip3 install <https://download.electrum.org/3.0.5/Electrum-3.0.5.tar.gz>

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](https://i.sstatic.net/iwo7E.png)](https://i.sstatic.net/iwo7E.png)

**Tags:** electrum, ubuntu

> **Comments:**
> **username_0**: 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  

---

## 2 answers

### Answer by username_1 on 2018-01-28. Score: 2 | Accepted answer

> 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](https://packages.debian.org/source/jessie/electrum) 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](https://gist.github.com/fishbullet/9991dff30ddd53f40b39a86f4a2b930b).

> 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.

> **Comments:**
> **username_0**: thanks. where is the electrum program installed?  
> **username_1**: @username_0 perhaps in `/usr/local/lib/` if its pip3 installed programm.  

---

### Answer by username_2 on 2018-02-01. Score: 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](https://github.com/BitcoinsPakistan/electrum-install) 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](https://bitcoinelectrum.com/how-to-backup-your-electrum-wallet/).

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.


---

