You used to be able to update BiblePay using Ubuntu’s package installer apt but since moving to the DASH 0.13 code base, there’s been some compatibility break with the apt packager. So, the two options are either to compile your own from github or download compiled binaries from biblepay.org/wallet.
I opt for the compiled binaries.
Below is a script I use for updating the BiblePay daemon on my Ubuntu 16 LTS or Ubuntu 18 LTS.
We assume that biblepay-cli is in a path that can be run from anywhere in the shell.
After the biblepayd daemon is stopped, let’s wait 10 seconds. Sometimes you need to increase this value to something higher (like 30 seconds) if your server is slow, shared, or is ARM raspberry pi.
We are going to place our binary in the /usr/local/bin
directory
Remove any existing biblepay daemon that is tar gzipped.
Once removed, get the latest from the biblepay.org web site
tar xvf will gunzip and untar it which will give you the three: biblepayd
, biblepay-cli
, and biblepay-tx
Remove the tar.gz file
biblepay-cli stop sleep 10 cd /usr/local/bin sleep 3 rm biblepayd-evo-x86_64-pc-linux-gnu.tar.gz sleep 3 wget https://biblepay.org/biblepayd-evo-x86_64-pc-linux-gnu.tar.gz sleep 3 tar xvf biblepayd-evo-x86_64-pc-linux-gnu.tar.gz sleep 3 rm biblepayd-evo-x86_64-pc-linux-gnu.tar.gz sleep 3
Then verify that the biblepayd version is correct by giving you the latest version number
start the biblepayd in daemon mode
go to the .biblepayevolution
directory
tail the debug.log to confirm the log file is being updated
biblepayd --version sleep 3 biblepayd --daemon sleep 3 cd ~ sleep 1 cd .biblepayevolution sleep 1 tail -f debug.log
How do I get different versions of the Linux BiblePay daemon?
Go to biblepay.org/wallet
Go to the respect Daemon Linux and click on Download
If you want to include it in the above script, you would need to copy the link address of the download link
QT Linux 32-bit: https://biblepay.org/biblepay-qt-evo-i686-pc-linux-gnu.tar.gz
QT Linux 64-bit: https://biblepay.org/biblepay-qt-evo-x86_64-pc-linux-gnu.tar.gz
Daemon Linux 32-bit: https://biblepay.org/biblepayd-evo-i686-pc-linux-gnu.tar.gz
Daemon Linux 64-bit: https://biblepay.org/biblepayd-evo-x86_64-pc-linux-gnu.tar.gz
Daemon ARM Linux 64-bit: https://biblepay.org/biblepayd-evo-arm-linux-gnueabihf.tar.gz
Daemon Arch Linux 64-bit: https://biblepay.org/biblepayd-evo-aarch64-linux-gnu.tar.gz
Another script to update Linux binaries by TheRogue
TheRogue on discord was generous enough to share his script for updating Linux binaries:
The script retrieves the QT and daemon for 64-bit Linux binaries from biblepay.org/wallet
bbpupgrades.sh :
#!/bin/bash set -xv echo "This upgrade/install process requires admin privileges, please use \"sudo ./bbpupgrade.sh\"" read -p "Do you wish to update/install a 64 bit Debian/Ubuntu Linux version of Biblepay Wallet? (y/n) " RESP if [ "$RESP" = "y" ]; then cd $home biblepay-cli stop sleep 20 rm biblepayd-evo-x86_64-pc-linux-gnu.tar.gz rm biblepay-qt-evo-x86_64-pc-linux-gnu.tar.gz wget https://biblepay.org/biblepayd-evo-x86_64-pc-linux-gnu.tar.gz wget https://biblepay.org/biblepay-qt-evo-x86_64-pc-linux-gnu.tar.gz tar -C /usr/bin/ -xvf biblepayd-evo-x86_64-pc-linux-gnu.tar.gz tar -C /usr/bin/ -xvf biblepay-qt-evo-x86_64-pc-linux-gnu.tar.gz echo biblepayd -version biblepayd -version sleep 3 rm biblepayd-evo-x86_64-pc-linux-gnu.tar.gz rm biblepay-qt-evo-x86_64-pc-linux-gnu.tar.gz echo echo "Both daemon and QT (gui) files updated/installed!!" echo echo "---Biblepay wallet upgrade/install script completed.---" else echo "Upgrade/Install Cancelled." fi
Improvements/Suggestions:
- Automate checking of hash of current tar.gz with hash on biblepay.org download and run the script if different
- Verify how to retrieve the version number from github