#!/bin/bash ZVERSION="0.6.0.0" echo echo "Zenith Full Node Wallet Installer" echo "Zenith Version: $ZVERSION" echo "Installer version: 1.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 dpkg -i ./lib/libc6_2.38-1ubuntu6_amd64.deb ./lib/libc-bin_2.38-1ubuntu6_amd64.deb ./lib/libc-dev-bin_2.38-1ubuntu6_amd64.deb echo echo "Zenith $ZVERSION installed !!!" echo fi