sudo apt update

sudo apt install git build-essential cmake libuv1-dev libssl-dev libhwloc-dev 

Download The xmrig Software:

git clone https://github.com/xmrig/xmrig.git
cd xmrig
mkdir build
cd build

cmake ..
make

To Start The Miner:

cd xmrig/build

./xmrig -a cryptonight -o stratum+tcp://mining-pool.guru:3333 -u Wallet Address -p WorkerName -t NumberOfThreads

Mining Pool Website: “Click Here”
ByteCoin Website : “Click Here”