Bitcoin Mining Software for Ubuntu
As you probably already know, we try to find and feature the best Bitcoin mining software for all operating systems, and Linux mining software is no exception. In this article, I’ll show you how to setup the Bitcoin mining software for Ubuntu.
Right now, we have 2 Linux mining apps featured on our website- Cudo Miner and MinerGate. I personally tested both of them on Windows, but never on Linux- until now.
For this test I am going to use my laptop, as well the latest version of Ubuntu installed with Wubi.
The laptop specs are as follows:
i7-2630QM CPU @ 2.00 GHz
8GB DDR3 RAM
nVidia GeForce GT 525M
and the Ubuntu version is 18.10.
Now, if you know a bit about mining hardware, you know that this is not a suitable machine for Bitcoin mining- it has an old mobile processor with an old mobile graphic card. Still, it can run most operating systems out there, and it is more than good for everyday use, so it will suffice for our purpose- to try and install the Bitcoin mining software for the Linux/Debian operating systems.
How to mine Bitcoin on Ubuntu with Cudo Miner
So the first thing to do is to go to our Cudo Miner page, click the big blue button and download Cudo Miner for Ubuntu.
Depending on your settings, you may have to thick a few check-boxes under Apps -> Software & Updates:
Be sure to have them the same as on the screenshot above. We didn’t do it at first, and we couldn’t install neither Cudo Miner nor MinerGate on Ubuntu 18.10.
So you install the Cudo Miner in a few basic steps, run it via Apps – Cudo Miner and the GUI miner for Ubuntu starts:
Tweak the settings according to your preference and hit “Save”.
If everything is good, the Cudo Miner should spend additional minute or so at benchmark and file downloads, after which it should start mining automatically:
But it worked for the CPU only, which started working immediately, while GPU mining was showing an empty box.
We tried updating the whole system by going to Apps -> Software Updater:
but that didn’t help much:
So I opened Apps -> Terminal and run:
sudo apt-get update
then went back to Apps -> Software & Updates and clicked on the Additional Drivers tab.
In my case, the GPU was using an unofficial/open source driver, so I’ve changed it to the proprietary/tested driver from nVidia and applied the change:
This didn’t help either. So I did a bit more research and somehow realized that I probably need to have the Cuda drivers installed, as they are pretty much essential for Bitcoin mining with nVidia GPUs.
Opened the Apps -> Terminal again, and then run the following:
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo ubuntu-drivers autoinstall
reboot
and after the PC rebooted:
sudo apt install nvidia-cuda-toolkit gcc-6
nvcc –version
which took quite some time…
but it finally worked! The Cuda drivers made all the difference and I was able to start mining with my GPU as well.
Conclusion for Cudo Miner on Ubuntu
I’m a below average user of Ubuntu who used it once per year on average for the last 15 years. Yet, I’ve pulled this pretty easily since this is really basic stuff for Ubuntu users. All in all, I can just say- a GUI Bitcoin miner for Linux definitely exists, it’s really easy to setup and most importantly- works.
And even if you never used Ubuntu- you should definitely try it. As mentioned before, this laptop is really old when it comes to Bitcoin mining, and if you have a more recent hardware or an AMD GPU this should work much easier for you.
And now that we have an up to date Ubuntu 18.10 with the latest Cuda drivers up and running- let’s see how fast we can start mining Bitcoin with MinerGate:
How to mine Bitcoin on Ubuntu with MinerGate
First things first, get the installation files by clicking the big blue button on this page, and then install the .deb package as you would install the Cudo Miner or any other app.
Few seconds and 2-3 button clicks later, you run it from Apps -> Miner Gate, choose extended mode, sign in and can start mining:
And while it started mining with CPU almost instantly, the GPU mining complained about low memory and wouldn’t start for any of the coins listed.
Since my Ubuntu 18.10 is up to date with all requirements, including the latest Cuda drivers- I didn’t go further. Still, the installation and mining with CPU was really effortless, so I believe that those with newer graphic cards won’t have any issues with GPU mining and MinerGate on Ubuntu.
Update: I’ve just made a video where I show you how you can install and setup the Bitcoin mining software for Ubuntu:
Hi thanks for this great video. It helped me to at least allow Cudominer to detect mu GPU.
I am looking for your advice to identify why the GPU stops. Below is the log. I would really appreciate your input.
After running the following commands Cudo miner was able to detect the GPU:
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo ubuntu-drivers autoinstall
reboot
and after the PC rebooted:
sudo apt install nvidia-cuda-toolkit gcc-6
nvcc –version
The GPU mining goes to the following status: Starting and then stopping
It stopped with the following commends and logs:
NVIDIA STOPPING Zcoin MTP T-Rex 0.15.8 CUDA 9.1 fan-speed: 80 0.00 h/s 0.00000000 BTC/month
memory-optimization: true
power-limit: 70
intensity: 20
log—-
cudominercli hardware
NAME MEMORY CORES FREQUENCY COUNT
CPU Intel® Xeon® Silver 4110 N/A 2.10 8 1
NVIDIA TITAN Xp 12KB 1
DEBUG (worker-compute:nvidia:zcoin:t-rex:0.15.8): CUDA devices available: 1
DEBUG (worker-compute:nvidia:zcoin:t-rex:0.15.8): WARN: DevFee 1% (mtp)
DEBUG (worker-compute:nvidia:zcoin:t-rex:0.15.8): URL : stratum.cudopool.com:30019
DEBUG (worker-compute:nvidia:zcoin:t-rex:0.15.8): USER: m:478b82679c0d02e9187549d1:o:121474:w:96d88321bbe813d686238450069ad354:c:459f84beb7c8eab7ce25d68e9203c24e
DEBUG (worker-compute:nvidia:zcoin:t-rex:0.15.8): PASS:
DEBUG (worker-compute:nvidia:zcoin:t-rex:0.15.8): WARN: NVML is disabled. You won’t see GPUs stats.
DEBUG (worker-compute:nvidia:zcoin:t-rex:0.15.8): WARN: Built-in watchdog has been disabled!
DEBUG (worker-compute:nvidia:zcoin:t-rex:0.15.8): Starting on: stratum.cudopool.com:30019
DEBUG (worker-compute:nvidia:zcoin:t-rex:0.15.8): Authorizing…
DEBUG (worker-compute:nvidia:zcoin:t-rex:0.15.8): Authorized successfully.
DEBUG (worker-compute:nvidia:zcoin:t-rex:0.15.8): WARN: New difficulty: 0.03125
DEBUG (worker-compute:nvidia:zcoin:t-rex:0.15.8): mtp block 299775, diff 2473.318
DEBUG (worker-compute:cpu:monero:cudo-xmrig:5.7.0): accepted (44/0) diff 56250 (204 ms)
INFO (worker-compute:nvidia:zcoin:t-rex:0.15.8): exit code 0 received
INFO (worker-compute:nvidia:zcoin:t-rex:0.15.8): cooling down after stopping for 3 seconds
DEBUG (worker-compute:cpu:monero:cudo-xmrig:5.7.0): accepted (45/0) diff 56250 (202 ms)
DEBUG (worker-compute:cpu:monero:cudo-xmrig:5.7.0): accepted (46/0) diff 56250 (216 ms)
WARN (worker-compute:nvidia:zcoin:t-rex:0.15.8): job received no hash rate in 5 minutes
INFO (worker-compute:nvidia:zcoin:t-rex:0.15.8): stopping job 352da79876a7d5143cdc2ddda00b7eff
INFO (worker-compute:nvidia:zcoin:t-rex:0.15.8): job status set to STOPPING
Hi Juan! I’m very sorry for not replying earlier, but I didn’t see your comment until now.
In case you still need help, I can definitely recommend you a free discord channel where Cudo officials, ambassadors and enthusiasts will surely help:
https://discord.com/invite/SdStBEu