xmrig-bash-scripts/depends.sh
2019-08-12 19:50:08 +02:00

18 lines
435 B
Bash
Executable File

#!/bin/bash
# Install the software requirements
echo "${_GREEN}INSTALL DEPENDS STARTED${_RESET}"
if [ "$_APT_DEPENDS" -eq "1" ]; then
# Install xmrig depends
sudo apt install -y software-properties-common git build-essential cmake libuv1-dev libssl-dev libmicrohttpd-dev libhwloc-dev gcc g++
# Install xmrig-bash-scripts depends
sudo apt install -y jo cpuid screen
fi
echo "${_CYAN}INSTALL DEPENDS STOPPED${_RESET}"