CentOS 8 build

Preparation

  1. Install dependencies:
    1. sudo dnf install -y epel-release
    2. sudo yum config-manager --set-enabled PowerTools
    3. sudo dnf install -y https://extras.getpagespeed.com/release-el8-latest.rpm
    4. sudo dnf install -y git make cmake gcc gcc-c++ libstdc++-static hwloc-devel openssl-devel libuv-static
  2. Clone source code from github: git clone https://github.com/xmrig/xmrig.git
  3. Create build directory: mkdir xmrig/build
To update exist (already cloned) source, goto to the build directory and run git pull.

Build

Other versions

Credits