zenith/installer/zenith-0.5.0.3-binary/zeninstall
2024-07-01 22:01:18 -04:00

28 lines
674 B
Bash
Executable file

#!/bin/bash
echo
echo "Zenith Full Node Wallet Installer (Version 0.5.3.0)"
echo
if [ "$UID" != "0" ]; then
echo "Please run the installer using 'sudo'!!!"
echo
exit
else
echo "Starting zenith installation ...."
echo
echo "Installing dependencies ...."
apt update
apt -y install libxss-dev
apt -y install libxrandr-dev
apt -y install libsecp256k1-dev
apt -y install xclip
apt -y clean
echo
echo "Installing zenith ...."
cp ./bin/zenith /usr/local/bin
cp ./lib/librustzcash_wrapper.so /usr/local/lib
cp ./lib/sapling-spend.params /usr/local/lib
cp ./lib/sapling-output.params /usr/local/lib
echo
echo "Zenith installed !!!"
echo
fi