installing monero miner in ubuntu by command line.
Basic compilation is good for the local machine, because it is easy, but if you need to run the miner on other machines, take a look at advanced compilation.
- 1. sudo apt-get install git build-essential cmake libuv1-dev libssl-dev libhwloc-dev
- 2. git clone https://github.com/xmrig/xmrig.git
- 3. mkdir xmrig/build && cd xmrig/build
- 4. cmake ..
- 5. make -j$(nproc)
Advanced Installation
We use build_deps.sh script to build recent versions of libuv, openssl and hwloc as static libraries.
1. sudo apt-get install git build-essential cmake automake libtool autoconf
2. git clone https://github.com/xmrig/xmrig.git
3. mkdir xmrig/build && cd xmrig/scripts
4. ./build_deps.sh && cd ../build
5. cmake .. -DXMRIG_DEPS=scripts/deps
6. make -j$(nproc)
Use command ldd xmrig to verify binary dependencies.
You can use official binary downloads for this OS, with linux-x64 or linux-static-x64 or bionic-x64 (18.04+) or focal-x64 (20.04+) suffixes.
mine monero with ubuntu linux
xmrig linux
ubuntu xmrig
xmr monero miner
command line
mine in ubuntu 2021
monero xmr
Comments