Originally Posted By farfromhome:
I would like to see if I can mine Monero. I know I know.
I am ssh'd into my RPi and I am in the folder for xmrig.
I tried-
sudo apt install
sudo apt install xmrig
sudo apt-get install xmrig
but Terminal always says it cannot find xmrig.
The xmrig folder has 3 items, config.json, SHA256, and xmrig.
What am I doing wrong?
View Quote
You need to compile xmrig.
I assume you already did this:
"git clone https://github.com/xmrig/xmrig.git" or downloaded the repository as a zip then unzipped it.
So now you need to install dependencies if you have not yet:
" sudo apt-get install git build-essential cmake libuv1-dev libssl-dev libhwloc-dev"
In your xmrig folder create a /build folder:
" mkdir xmrig/build && cd xmrig/build"
Run cmake:
" cmake .."
Then run make,
" make "
Go into your build folder and enter:
"./xmrig"
Should start xmrig for the first time and it should ask some questions.
You should be good to go.