linux-x64
or linux-static-x64
suffixes.Basic build is good for local machine, because it is easy, but if you need to run the miner on other machines please take a look at advanced build. Sadly but for this OS development packages for libuv are not available in standard repos, so basic build is actually advanced too.
1. sudo dnf install -y epel-release
2. sudo yum config-manager --set-enabled PowerTools
3. sudo dnf install -y git make cmake gcc gcc-c++ libstdc++-static hwloc-devel openssl-devel automake libtool autoconf
4. git clone https://github.com/xmrig/xmrig.git
5. mkdir xmrig/build
6. cd xmrig/scripts && ./build.uv.sh
7. cd ../build && cmake .. -DXMRIG_DEPS=scripts/deps
8. make -j$(nproc)
Advanced build is almost equal to basic build, except we don't need to install hwloc-devel
and openssl-devel
packages, we build our own static hwloc and openssl by using build_deps.sh
instead of build.uv.sh
to minimize binary dependencies.
1. sudo dnf install -y epel-release
2. sudo yum config-manager --set-enabled PowerTools
3. sudo dnf install -y git make cmake gcc gcc-c++ libstdc++-static automake libtool autoconf
4. git clone https://github.com/xmrig/xmrig.git
5. mkdir xmrig/build
6. cd xmrig/scripts && ./build_deps.sh && cd ../build
7. cmake .. -DXMRIG_DEPS=scripts/deps
8. make -j$(nproc)
Use command ldd xmrig
to verify binary dependencies.