Add Easy Installer for Linux

This commit is contained in:
cygnus 2017-11-09 19:31:58 -05:00
parent 4b8a03fd26
commit a7e371e042
1 changed files with 26 additions and 0 deletions

26
create.sh Executable file
View File

@ -0,0 +1,26 @@
#!/bin/bash
# Bash Curecoin Installer
PS3='Please enter your choice: '
options=("Install Full Curecoin Wallet" "Install Curecoin Daemon" "Install dependencies" "Install all" "Exit")
select opt in "${options[@]}"
do
case $opt in
"Install Full Curecoin Wallet")
qmake && make && echo Done installing && break
;;
"Install Curecoin Daemon")
cd src && make -f makefile.unix && echo Done installing && break
;;
"Install dependencies")
sudo apt-get install qt5-default qt5-qmake qtbase5-dev-tools qttools5-dev-tools libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libminiupnpc-dev libdb5.3++-dev dh-make build-essential && echo Done installing dependencies. Relaunch to install Curecoin && break
;;
"Install all")
sudo apt-get install qt5-default qt5-qmake qtbase5-dev-tools qttools5-dev-tools libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libminiupnpc-dev libdb5.3++-dev dh-make build-essential && qmake && make && cd src && make -f makefile.unix && echo Done installing && break
;;
"Exit")
echo "Visit curecoin.net/forum for support" && break
;;
*) echo invalid option;;
esac
done