Bitcoin Forum
May 24, 2024, 06:19:51 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: HOW TO INSTALL AND RUN ELECTRUM ON LINUX UBUNTU 12.04- ORACLE VIRTUAL MACHINE  (Read 326 times)
healthtrainer (OP)
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
November 12, 2017, 09:00:46 AM
 #1

Hello I downloaded the elctrum wallet for Linux and i have to run it on Ubuntu 12.04 , but where can i exactly run with tis command my electrum wallet?
I can't find it ! in the terminal c:/ o r which directory?
And where i have to run this command ? (n the electrum directory, run: 'python3 electrum') but i can't find it
Pls give me if it's possible the exactly steps.

thank you for your kindly reply,
Bye Massimiliano from Italy
xdrpx
Hero Member
*****
Offline Offline

Activity: 616
Merit: 603


View Profile
November 12, 2017, 10:09:24 AM
 #2

Okay, so here are some simple steps to run electrum:

1) Open up terminal on ubuntu --> create a directory in a particular location where you want electrum to be extracted to (use the
Code:
mkdir <yourdirname>
command to do this. Remove the open and closed brackets and replace with your folder name)

2) Install Python 3 and it's dependencies (it's needed for electrum 3.0, since it now uses python3): type in
Code:
sudo apt-get install python3-setuptools python3-pyqt5 python3-pip
and wait for the installation to finish.

3) Change directory to the directory you've created above (write down:
Code:
cd <yourdirname>
. Remove the brackets and replace with your folder name)

4) Now do:
Code:
wget https://download.electrum.org/3.0.1/Electrum-3.0.1.tar.gz
in that folder. This will download electrum 3.0.1.

5) After download is done, untar it by doing:
Code:
tar -xvzf Electrum-3.0.1.tar.gz
. Now you'll notice a new electrum folder in your directory that you've created and cd'd to.

6) Change directory to this newly created folder by doing:
Code:
cd Electrum-3.0.1

7) run:
Code:
sudo python3 setup.py install
if you want to install electrum 3.0.1 or just run
Code:
python3 electrum
to run it without installing.


Hope this helps. Do let me know if you have any further questions.
healthtrainer (OP)
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
November 12, 2017, 04:43:56 PM
 #3

hello many many thanks for your help
but on line no.2 i got this messages: : Impossible to find the package python3-pyqt5
E: Impossible to find the package python3-pip
but i ignored both messages,then i wrote all tih lines untils 7 when i wanted to run and  install
but i got this message: Error: Electrum requires Python version >= 3.4.0...
and if i only run : Traceback (most recent call last):
  File "electrum", line 80, in <module>
    check_imports()
  File "electrum", line 62, in check_imports
    import requests
  File "/home/masi2/electrum/Electrum-3.0.1/packages/requests/__init__.py", line 84, in <module>
    from urllib3.contrib import pyopenssl
  File "/home/masi2/electrum/Electrum-3.0.1/packages/urllib3/contrib/pyopenssl.py", line 169
    for prefix in [u'*.', u'.']:
                       ^
SyntaxError: invalid syntax
*********************************
I don't know what to do :-(((
thanks a lot for your kindly reply.
With best regards,
Massimiliano Italy




xdrpx
Hero Member
*****
Offline Offline

Activity: 616
Merit: 603


View Profile
November 12, 2017, 05:27:44 PM
 #4

Okay, I've just realized since you're on Ubuntu 12.04 you may have to install python3-pip using easy_install3 pip

Considering that you've already installed python3-setuptools (by running sudo apt-get install python3-setuptools) do the following

Code:
sudo easy_install3 pip

Then check the version of pip to confirm that it's installed:

Code:
pip3 --version

More info here on how you can switch back to Python 2's pip if and when needed: https://askubuntu.com/questions/412178/how-to-install-pip-for-python-3-in-ubuntu-12-04-lts


Also, I'm not sure if python3-pyqt5 package is available for 12.04, but I guess you'll either have to follow the guide here: http://pyqt.sourceforge.net/Docs/PyQt5/installation.html#installing-from-wheels to install pyqt5 or build it by building and installing SIP and then building PyQT for python 3 by following the guide here: http://pyqt.sourceforge.net/Docs/PyQt5/installation.html#building-and-installing-from-source


Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!