mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-19 21:04:20 +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 "***"
|
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 "***"
|
||||||
echo ""
|
echo ""
|
||||||
git clone https://github.com/romanz/electrs
|
git clone https://github.com/romanz/electrs
|
||||||
|
|||||||
@@ -7,11 +7,12 @@
|
|||||||
|
|
||||||
# https://electrum.org/#download
|
# https://electrum.org/#download
|
||||||
# Install dependencies:
|
# Install dependencies:
|
||||||
sudo apt-get install python3-pyqt5
|
sudo apt-get install -y python3-pyqt5
|
||||||
# Download package:
|
# Download package:
|
||||||
wget https://download.electrum.org/3.3.4/Electrum-3.3.4.tar.gz
|
wget https://download.electrum.org/3.3.4/Electrum-3.3.4.tar.gz
|
||||||
|
|
||||||
#Verify signature:
|
#Verify signature:
|
||||||
|
https://raw.githubusercontent.com/spesmilo/electrum/master/pubkeys/ThomasV.asc
|
||||||
gpg --import ThomasV.asc
|
gpg --import ThomasV.asc
|
||||||
wget https://download.electrum.org/3.3.4/Electrum-3.3.4.tar.gz.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)
|
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
|
# Run without installing: tar -xvf Electrum-3.3.4.tar.gz
|
||||||
# python3 Electrum-3.3.4/run_electrum
|
# python3 Electrum-3.3.4/run_electrum
|
||||||
# Install with PIP:
|
# 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]
|
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]:"
|
echo "Type the PASSWORD B of your RaspiBlitz followed by [ENTER]:"
|
||||||
read PASSWORD_B
|
read PASSWORD_B
|
||||||
echo "Type the LAN IP ADDRESS of your RaspiBlitz followed by [ENTER]:"
|
echo "Type the LAN IP ADDRESS of your RaspiBlitz followed by [ENTER]:"
|
||||||
|
|||||||
Reference in New Issue
Block a user