Install/ update the latest release of xmrig for Linux x64, and makes a back up of the previous installed version. Can be conveniently used for unattend updates through cron.
chmod +x xmrig-install.sh
sh xmrig-install.sh
Xmrig will be installed in /opt/local/xmrig/bin
.