Skip to content

Ubuntu Build

xmrig edited this page Aug 18, 2017 · 7 revisions

Ubuntu 17.04 Zesty Zapus

sudo apt-get install git build-essential cmake libuv1-dev nvidia-cuda-dev nvidia-cuda-toolkit gcc-5 g++-5
git clone https://github.com/xmrig/xmrig-nvidia.git
cd xmrig-nvidia
mkdir build
cd build
cmake .. -DCMAKE_C_COMPILER=gcc-5 -DCMAKE_CXX_COMPILER=g++-5
make

Ubuntu 16.04 Xenial Xerus

sudo apt-get install git build-essential cmake libuv1-dev nvidia-cuda-dev nvidia-cuda-toolkit
git clone https://github.com/xmrig/xmrig-nvidia.git
cd xmrig-nvidia
mkdir build
cd build
cmake ..
make

Please note CUDA 8.0 required to support NVIDIA Pascal GPUs, but nvidia-cuda-dev is 7.5.

Clone this wiki locally