mirror of
https://github.com/ilyakooo0/xmrig-bash-scripts.git
synced 2024-11-22 12:31:57 +03:00
18 lines
435 B
Bash
Executable File
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}"
|