XMR-Stak Linux
Last updated
Was this helpful?
Last updated
Was this helpful?
Native binaries may be available for your distribution's package manager.
If no binaries are available, or you prefer to compile, follow these instructions:
If you want to use your GPU for mining, do the following:
Install drivers for your card
Download the latest CUDA Toolkit from .
Download the base installer and follow the compilation instructions
Download every patch one-by-one in order and apply the patches
After that, you should be good.
Install drivers for your card
download the latest APP SDK from . It should have the name AMD-APP-SDKInstaller-v(version number)-GA-linux64.tar.bz2
Extract it
Open the terminal wherever it is located
(optional) name it to something simpler
In the terminal, type ./(name).sh
After installing, you should be good.
Open the terminal and install dependencies by running this command
sudo apt install libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev
Clone the package
git clone https://github.com/fireice-uk/xmr-stak.git
Make a directory
mkdir xmr-stak/build
Move over there
cd xmr-stak/build
Run cmake
cmake ..
If you don’t have nVidia GPUs, type:
cmake .. -DCUDA_ENABLE=OFF
If you don’t have AMD GPUs, type
cmake .. -DOpenCL_ENABLE=OFF
If you have neither (only CPU mining) type
cmake .. -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF
Finish building it
make install
XMR-Stak will now be located in /home/user/xmr-stak/build/bin
Type the following to begin configuration
./xmr-stak
Check to learn how to configure the miner.