Install the prerequisites:
sudo apt-get install git build-essential cmake libuv1-dev libssl-dev libhwloc-dev
Clone the GitHub project on your device:
git clone https://github.com/xmrig/xmrig.git
Create a new folder and go into it:
mkdir xmrig/build && cd xmrig/build
Start the compilation:
cmake ..
make -j$(nproc)
You can download the template available on their GitHub project with:
wget
https://raw.githubusercontent.com/xmrig/xmrig/master/src/config.json
Put your mining pool address in the “url” field, so if you are using unMineable it should be:
rx.unmineable.com:3333
Then fill the “user” field as explained on the website:
DOGE:<address>.<worker_name>
For example:
DOGE:DAuARerBnjJE9rs7MoaM75nSpfdx5GGjK6.rpitips
./xmrig