xmrig-bash-scripts/depends.sh

19 lines
520 B
Bash
Raw Normal View History

2019-07-27 13:00:13 +03:00
#!/bin/bash
echo "#################################"
echo " INSTALLING DEPENDENCIES "
echo "#################################"
# Install the software requirements
if [ $_APT_DEPENDS = 1 ]; then
sudo apt install -y screen software-properties-common git build-essential cmake libuv1-dev libssl-dev libmicrohttpd-dev gcc g++
2019-07-27 13:00:13 +03:00
else
echo "Depend install is set to NO ($_APT_DEPENDS) Skipping"
fi
echo "#################################"
echo " DEPENDENCIES INSTALLED "
echo "#################################"