How to install Xmrig on Linux?

XMRig is an optimized, high performing, open source, cross-platform RandomX, KawPow, CryptoNight and GhostRider unified CPU/GPU miner for Monero and CrytoNote coins and a RandomX benchmark. It is an open source software so we can either download the binaries to…