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.

  • 1
    Couldn't you just use the --noNVIDIA --noAMD flags?
    – Dave
    Commented Sep 28, 2018 at 5:08

3 Answers 3


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.


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
make install
  • Only the first line need root/sudo. If all dependencies are present, neither compiling nor running xmr-stak requires root.
    – Link Ng
    Commented Sep 28, 2018 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
    Commented Sep 28, 2018 at 21:29
  • @Dave you are god in my high red eyes Commented Mar 14, 2021 at 22:21

To be honest, if you want to use CPU only, take a look at XMRig. It's only for CPU and works great.

It's also easy to install.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.