Where can I find instructions for installing XMR-stak CPU on Ubuntu 18.04. I notice every one are having issues with their graphic cards, however I just want to use my CPU. That being said I am still having issues installing and or loading the program on Ubuntu.
Asked
Active
Viewed 1.1k times
4
-
1Couldn't you just use the --noNVIDIA --noAMD flags? – Dave Sep 28 '18 at 05:08
3 Answers
1
You can find instructions on xmr-stak repository itself.
You should basically download the ubuntu/debian release, extract the file, and launch the miner through cli.
It does auto configuration on the first launch IIRC.
el00ruobuob
- 825
- 4
- 8
1
If using the flags to disable the GPUs doesn't work. You can compile it for only CPU: (probably need to be root or sudo it)
apt install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev
git clone https://github.com/fireice-uk/xmr-stak.git
mkdir xmr-stak/build
cd xmr-stak/build
cmake .. -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF
make install
Dave
- 484
- 1
- 3
- 8
-
Only the first line need root/sudo. If all dependencies are present, neither compiling nor running xmr-stak requires root. – Link Ng Sep 28 '18 at 14:32
-
You do not need to compile yourself not to use graphics cards. There are config and runtime settings to disable mining on gfx cards and even without these settings/flags used, xmr-stak simply wont create gpu configs for cards it can't mine with anyway. It may show errors, but then proceed to mine just using CPU. – jtgrassie Sep 28 '18 at 21:29
-