mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-19 12:54:19 +01:00
Merge pull request #4 from openoms/openoms
add electrum install path to PATH
This commit is contained in:
@@ -15,7 +15,7 @@ sudo apt install -y clang cmake # for building 'rust-rocksdb'
|
||||
|
||||
echo ""
|
||||
echo "***"
|
||||
echo "Downloading and building electrs. This will take ~30 minutes" # ~ 33 min on an Odroid HC1
|
||||
echo "Downloading and building electrs. This will take ~30 minutes" # ~22 min on an Odroid XU4
|
||||
echo "***"
|
||||
echo ""
|
||||
git clone https://github.com/romanz/electrs
|
||||
|
||||
@@ -7,11 +7,12 @@
|
||||
|
||||
# https://electrum.org/#download
|
||||
# Install dependencies:
|
||||
sudo apt-get install python3-pyqt5
|
||||
sudo apt-get install -y python3-pyqt5
|
||||
# Download package:
|
||||
wget https://download.electrum.org/3.3.4/Electrum-3.3.4.tar.gz
|
||||
|
||||
#Verify signature:
|
||||
https://raw.githubusercontent.com/spesmilo/electrum/master/pubkeys/ThomasV.asc
|
||||
gpg --import ThomasV.asc
|
||||
wget https://download.electrum.org/3.3.4/Electrum-3.3.4.tar.gz.asc
|
||||
verifyResult=$(gpg --verify Electrum-3.3.4.tar.gz.asc 2>&1)
|
||||
@@ -26,9 +27,12 @@ fi
|
||||
# Run without installing: tar -xvf Electrum-3.3.4.tar.gz
|
||||
# python3 Electrum-3.3.4/run_electrum
|
||||
# Install with PIP:
|
||||
sudo apt-get install python3-setuptools python3-pip
|
||||
sudo apt-get install -y python3-setuptools python3-pip
|
||||
python3 -m pip install --user Electrum-3.3.4.tar.gz[fast]
|
||||
|
||||
# add install dir to PATH
|
||||
PATH=$PATH:~/.local/bin/
|
||||
|
||||
echo "Type the PASSWORD B of your RaspiBlitz followed by [ENTER]:"
|
||||
read PASSWORD_B
|
||||
echo "Type the LAN IP ADDRESS of your RaspiBlitz followed by [ENTER]:"
|
||||
|
||||
Reference in New Issue
Block a user