Monero XMR xmrig How to compile xmrig On CentOS 8 Basic
Basic build
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.
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
yum install https://download1.rpmfusion.org/free/el/rpmfusion-free-release-8.noarch.rpm
dnf install -y epel-release
yum install libarchive
yum config-manager –set-enabled PowerTools
dnf install -y git make cmake gcc gcc-c++ libstdc++-static hwloc-devel openssl-devel automake libtool autoconf
#download
#unzip
mkdir xmrig/build
#edit donate.h
cd xmrig/scripts && ./build.uv.sh
cd ../build && cmake .. -DXMRIG_DEPS=scripts/deps
make -j$(nproc)
==============================
Donations
XMR: 47RZyDevRzyG4Z79MMhyLv7Wk11zgiuWb9g5HrK3Sv4nae2hPzY3pYZhAj3hS8aNt82FncShAQZJQDPtVdapnbSk65MvFAL
centos 8