Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Minergate-cli ubuntu installation
Run this command to install MG-CLI:
sudo apt-get update && wget https://minergate.com/download/deb-cli -O minergate-cli.deb && sudo dpkg -i minergate-cli.deb
to start miner (4 cores for BCN) use this command:
minergate-cli -user <YOUR@EMAIL.KAPPA> -bcn 4
Feel free to send some of your earnings to me:
BTC (Don't attempt to send other coins to this address!): 17f77AYHsQbdsB1Q6BbqPahJ8ZrjFLYH2j
for BCN:
Address: 25cZNQYVAi3issDCoa6fWA2Aogd4FgPhYdpX3p8KLfhKC6sN8s6Q9WpcW4778TPwcUS5jEM25JrQvjD3XjsvXuNHSWhYUsu
Payment ID (REQUIRED, else donation won't arrive!): abf5597ef150f20f81f1493022371d79b2ec7ac11ac92074a30feb968a6e4ef7
@cpozzer

This comment has been minimized.

Copy link

commented Feb 19, 2017

do you know any miner in ubuntu that works with aeon coin?

@RichardNesbitt

This comment has been minimized.

Copy link

commented Feb 26, 2017

This one probably does. You just need to initiate mining of that currency with the correct command.

@m33Lucky

This comment has been minimized.

Copy link

commented Mar 6, 2017

Hi , I have an rpi3 , which version to install the ,"ubuntu mate" or "snappy ubuntu core" thanks

@mejiafabiandj

This comment has been minimized.

Copy link

commented Jun 1, 2017

is there any command to stop mining?

@nicesquid

This comment has been minimized.

Copy link

commented Jun 2, 2017

Ctrl + C to stop

@cameronehrlich

This comment has been minimized.

Copy link

commented Jun 2, 2017

What version of Ubuntu did you get this working on?

@julio74

This comment has been minimized.

Copy link

commented Jun 5, 2017

Err:8 https://download.minergate.com/repo/deb stable InRelease
Las siguientes firmas no fueron válidas: 33BDA78F1D398B52D01438F603F0D99C2EC4C39D
Leyendo lista de paquetes... Hecho
W: Error de GPG: https://download.minergate.com/repo/deb stable InRelease: Las siguientes firmas no fueron válidas: 33BDA78F1D398B52D01438F603F0D99C2EC4C39D
E: El repositorio «https://minergate.com/repo/deb stable InRelease» no está firmado.
N: No se puede actualizar de un repositorio como este de forma segura y por tanto está deshabilitado por omisión.
N: Vea la página de manual apt-secure(8) para los detalles sobre la creación de repositorios y la configuración de usuarios.

can you help me?

@amrisya

This comment has been minimized.

Copy link

commented Jun 8, 2017

after install all above the mining start running, but when i check my minergate account it show offline

@agh620

This comment has been minimized.

Copy link

commented Jul 18, 2017

hello everyone
i am alex and i want mine xmr (monero) with ubuntu
but
i had a command for start miner but that command did not need to specify the number of cores
i found that on youtube video with this name (GET VPS FREE Ubuntu & How to mine Monero with Minergate for VPS Ubuntu GUI! | Gui Make money online)
but
that video was deleted
https://www.youtube.com/watch?v=c3RJRx-ygnE

who can send me that command??

@agh620

This comment has been minimized.

Copy link

commented Jul 18, 2017

ohh
i am find that commands
open terminal and first paste:

sudo apt-get update && wget https://minergate.com/download/deb-cli -O minergate-cli.deb && sudo dpkg -i minergate-cli.deb

and enter
and then paste this command

minergate-cli -user -xmr

and enter
finally start mining xmr :)

@rdurica

This comment has been minimized.

Copy link

commented Aug 14, 2017

For VPS i using nohup command & do not use GUI. From my personal opinion it is better. For example
nohup minergate-cli -user email@email.com -xmr 3
But speed of calculating on VPS is another question. For example I calculate price for 1 month of mining and it is about 6 $. My VPS is contlabo which have good price for that performance.

@VitoMorelli

This comment has been minimized.

Copy link

commented Sep 2, 2017

salve o installato Caine una distro credo di linux anche se ce ubuntu dentro o e alcontrario ,volevo sapere non ce una app per questo software che adopero che funge a aquisire bitcon e altro e poi con lo stesso o con un altra app un portafoglio virtuale che posso concludere quello che devo fare .
Aspetto una vostra risposta pliss.
universoscentifico@gmail.com
grazie in anticipo da Vito Morelli

@AppleOfficial

This comment has been minimized.

Copy link

commented Sep 8, 2017

Which one of yours work truly ?
I have worked out everything until running the miner.
minergate-cli -user -xmr
how does it work actually ?

@farazxameer

This comment has been minimized.

Copy link

commented Sep 12, 2017

Hiii i'm not able to connect to minergate.com on by PC, probalbly my admin blocked it, So is there any other mining pool so that i can mine on the pc, and if there how to set custom pool in the minergate cli. Thanks

@abasit-folio3

This comment has been minimized.

Copy link

commented Sep 23, 2017

Hi, I am not able to run following command:

sudo dpkg -i minergate-cli.deb

Following is the error I am getting:

dpkg: error processing archive minergate-cli.deb (--install):
package architecture (amd64) does not match system (armhf)

I am running above command on Rasp Pi 3 with OSMC as an OS. Is there any miner gate repo for 32 bit architecture ?

@tiagocaus

This comment has been minimized.

Copy link

commented Nov 15, 2017

How do I stop mining even though the terminal is closed?

I did everything using Putty. When I get the terminal screen appears online, but after I close the screen appears offine on the minergate website.

Is it possible to leave utuntu mining even though the terminal is closed?

Thank you.

@Yuman

This comment has been minimized.

Copy link

commented Nov 17, 2017

tiagocaus,
nohup minergate-cli -user your-email@email.com -xmr &> xmr.log &

@Admin9705

This comment has been minimized.

Copy link

commented Nov 18, 2017

works like a charm

@mvldebian

This comment has been minimized.

Copy link

commented Nov 21, 2017

Is there a forecast for the package to work on Debian 9?
I can install but it does not start.

@knoxcard

This comment has been minimized.

Copy link

commented Nov 29, 2017

Just a note, anyone using minergate should really consider mining on their own by working directly with miner pools. Just takes a bit of extra effort but you'll earn a lot more.

@Soffioo

This comment has been minimized.

Copy link

commented Nov 30, 2017

apt update

Trovato:1 http://deb.i2p2.no jessie InRelease
Trovato:3 http://packages.microsoft.com/repos/vscode stable InRelease
Scaricamento di:2 https://download.minergate.com/repo/deb stable InRelease [2,114 B]
Err:2 https://download.minergate.com/repo/deb stable InRelease
The following signature were invalid: 33BDA78F1D398B52D01438F603F0D99C2EC4C39D
Trovato:4 http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease
Lettura elenco dei pacchetti... Fatto
W: Errore GPG: https://download.minergate.com/repo/deb stable InRelease: The following signatures were invalid: 33BDA78F1D398B52D01438F603F0D99C2EC4C39D
E: The repository 'https://minergate.com/repo/deb stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

What i have to do for mine again with minergate-cli? Please help me

@OXEDAN1337

This comment has been minimized.

Copy link

commented Dec 15, 2017

I run centos 6.9(final) and i got this error
-bash-4.1# minergate-cli
minergate-cli: /usr/lib64/libstdc++.so.6: version GLIBCXX_3.4.14' not found (required by minergate-cli) minergate-cli: /lib64/libc.so.6: version GLIBC_2.14' not found (required by minergate-cli)
minergate-cli: /lib64/libc.so.6: version GLIBC_2.15' not found (required by /opt/minergate-cli/lib/libQt5Core.so.5) minergate-cli: /lib64/libc.so.6: version GLIBC_2.14' not found (required by /opt/minergate-cli/lib/libQt5Core.so.5)
minergate-cli: /lib64/libc.so.6: version GLIBC_2.15' not found (required by /opt/minergate-cli/lib/libQt5Network.so.5) minergate-cli: /lib64/libc.so.6: version GLIBC_2.14' not found (required by /opt/minergate-cli/lib/libQt5Network.so.5)
minergate-cli: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /opt/minergate-cli/lib/libQt5WebSockets.so.5)

What can i do?

@crouchingbizz

This comment has been minimized.

Copy link

commented Dec 16, 2017

i am using Ubuntu 16.04.3 x64 and successfully installed the minergate, already can mine with it.
the question is, how to make the miner runs automatically after "unexpected reboot" on my machine?

@ZerooCool

This comment has been minimized.

Copy link

commented Dec 23, 2017

Debian 9.3 i can't use minergate, not lauching.

ls
deb-cli
root@debian-512mb-fra1-01:/home/debian/Minergate# dpkg -i deb-cli
Selecting previously unselected package minergate-cli.
(Reading database ... 29554 files and directories currently installed.)
Preparing to unpack deb-cli ...
Unpacking minergate-cli (4.05) ...
Setting up minergate-cli (4.05) ...
--2017-12-23 19:58:02-- https://minergate.com/repo/deb/repo-pub.key
Resolving minergate.com (minergate.com)... 88.99.142.163, 136.243.102.154, 94.130.143.162, ...
Connecting to minergate.com (minergate.com)|88.99.142.163|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://download.minergate.com/repo/deb/repo-pub.key [following]
--2017-12-23 19:58:02-- https://download.minergate.com/repo/deb/repo-pub.key
Resolving download.minergate.com (download.minergate.com)... 176.9.8.174
Connecting to download.minergate.com (download.minergate.com)|176.9.8.174|:443... connected.
Warning: The postinst maintainerscript of the package minergate-cli
Warning: seems to use apt-key (provided by apt) without depending on gnupg or gnupg2.
Warning: This will BREAK in the future and should be fixed by the package maintainer(s).
Note: Check first if apt-key functionality is needed at all - it probably isn't!
HTTP request sent, awaiting response... Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package minergate-cli)
200 OK
Length: 1650 (1.6K) [application/octet-stream]
Saving to: ‘STDOUT’

  •               100%[===================>]   1.61K  --.-KB/s    in 0s
    

2017-12-23 19:58:02 (118 MB/s) - written to stdout [1650/1650]

OK
root@debian-512mb-fra1-01:/home/debian/Minergate# minergate-cli -user mail@domaine.com -xmr 2

Tourne dans le vide ici .....

@zephyr434

This comment has been minimized.

Copy link

commented Dec 23, 2017

i have type nohup minergate-cli -user xxxx@xxx.com -xmr
but not working ( the miner still offline on dashboard )
any other suggest?

@tiamica

This comment has been minimized.

Copy link

commented Dec 24, 2017

Sign up to minergate in through the GUI tool first. Then setup a command line worker using the same email address.
I my case I ran the mac app.. Easy as pie.. then setup another ubuntu server to run the command line..
$ minergate-cli -user xxxx@xxx.com -xmr 3
Happy mining y'all!

@zephyr434

This comment has been minimized.

Copy link

commented Dec 27, 2017

any one know minig on btc.com on ubuntu?

@zephyr434

This comment has been minimized.

Copy link

commented Dec 27, 2017

i think pool.btc.com is most fast than other

@afm007

This comment has been minimized.

Copy link

commented Jan 10, 2018

Getting this err:
--2018-01-10 06:54:17-- (try: 3) https://minergate.com/download/deb-cli
Connecting to minergate.com (minergate.com)|136.243.102.167|:443... failed: Connection timed out.
Connecting to minergate.com (minergate.com)|88.99.142.163|:443... failed: Connection timed out.

@hossein2374

This comment has been minimized.

Copy link

commented Jan 13, 2018

error:
--2018-01-13 09:02:39-- https://minergate.com/download/deb-cli
Connecting to minergate.com (minergate.com)|136.243.102.167|:443... failed: Connection timed out.
Connecting to minergate.com (minergate.com)|88.99.142.163|:443... failed: Connection timed out.

@handmade88

This comment has been minimized.

Copy link

commented Jan 23, 2018

how to add GPG key minergate ?
W: GPG error: https://download.minergate.com/repo/deb stable InRelease: The following signatures were invalid: 33BDA78F1D398B52D01438F603F0D99C2EC4C39D

@evanjmg

This comment has been minimized.

Copy link

commented Jan 23, 2018

this only works on 64 bit machines, not rasberry pi?

@simulanics

This comment has been minimized.

Copy link

commented Feb 16, 2018

Raspberry Pi is ARM architecture, you would need to download the coin source from github and compile it on raspberry pi (about 5 hours compilation time). Mining on RPi is futile and a waste of a RPi, the CPU doesn't cycle enough to get any hashrate worth anything. But if that's your end goal, I'll be glad to help!

If you need help, pm me at mcombatti@ xojostudio. org. Can even develop custom cryptocurrencies from scratch, no "copy-paste" cryptonote sources. (Have developed quite a few!)

BTW, for the posts above about BCN & Minergate (or any miner really) to mine at full-speed without keeping the terminal open enter the following:

nohup minergate-cli -user emailaddress -bcn 4 > /dev/null 2>&1 &

(redirects debug/error/stdout to dev/null to prevent obnoxiously large log files from being created and bogging down the system resources...no need to keep the "log" open in memory if it doesn't exist, and gain some Hash Speed!)

The process will continue even after you close the terminal. To terminate, open a new terminal and enter "fg" then press enter, which will bring the minergate process into the terminal's focus, at which time ctl+C can be used to terminate it, or

killall minergate-cli
-or-
pkill -SIGKILL "minergate-cli"

I see a lot of "script kiddies" in here. Please learn to swim before jumping into the deepest part of the water. Some of the responses here show complete lack of even the simplest of system/OS knowledge.

**Also, a majority of pools are not beneficial for those with low hash rates (under 250 H/s), as you receive a percentage based upon the amount of shares you provided in relation to the time to render a new block.

Miner A with 1 MHash/s - lets say 1,000,000 shares ( - 2% 20,000) = 980,000
Miner B with 100H/s - lets say 10 shares. ( -2% 0.2) = 9.8

The pool fee is 2% usually (not counting dev fees, etc). So 2% of 1,000,010 shares is 20,000.2 total. Most pools like Minergate will give you 1.5% (VARIABLY based on a number of factors!!!). So Miner A & B will get 1.5% of their shares back. Miner A ends up with an additional 14,700, and miner b gets 0.0003.

End result
Miner A = 980,000 + 14700 = 994,700
Miner B = 9.8 + 0.0003 = 9.8003

The only difference is, the blocks are found "faster," so in pools where blocks are found by a pool every 15-20 minutes, you will actually have a benefit of increasing your wallet balance faster than solo mining. Once you start reaching a block found every 30-60 minutes, you are actually losing 'money' by using a pool. So watch pool block turnover times! With slow blocks, the fast hashers eat up all your pool fees, and they appreciate you for it! :-)

MinerGate was actually developed exploiting the fact most people aren't educated about these things, and they just want to dabble. To MinerGate, that is ok, dabble all you want, you're just putting a little extra money in their pocket while cutting your own maximum profits. I would be grateful too if random people just started giving me money for no reason ;-)

@andreverneth

This comment has been minimized.

Copy link

commented Apr 6, 2018

unable to resolve host address ‘minergate.com’

@kpgduras

This comment has been minimized.

Copy link

commented Apr 7, 2018

I'm a newbie to console mining. Is there code for console mining with a graphic card?

@FinlayDaG33k

This comment has been minimized.

Copy link
Owner Author

commented Apr 15, 2018

IIIIIIIIIIIIIIIIIIIIIIIIIIIII did not notice that there where so many people had commented on this .-.

Anyways, Minergate is ded imo...

@gravyplaya

This comment has been minimized.

Copy link

commented Apr 19, 2018

I get the following error when trying to start the console cli on ubuntu. Please advise. Im using the latest 8.1 version of the cli.

gravyplaya@miner1:~$ minergate-cli -user me@my.com -xmr
[info] MinerGate starting...
Unknown options: x, m, r.

Miner never starts. Can anyone help?

@dakocan11bdg

This comment has been minimized.

Copy link

commented Apr 20, 2018

@gravyplaya

2 Dashes ( --xmr )

ex: minergate-cli -user youremail@domain.com --xmr

not 1 dashes ( -xmr )

sorry for my bad english

@Mr-Iswahyudi

This comment has been minimized.

Copy link

commented Apr 21, 2018

@#Help
My minergate is can't to install. Anyone can you help me?

root@boot-1-ubnt-14-8core:~# dpkg -i minergate-cli.deb
Selecting previously unselected package minergate-cli.
(Reading database ... 43044 files and directories currently installed.)
Preparing to unpack minergate-cli.deb ...
Unpacking minergate-cli (8.1) ...
dpkg: dependency problems prevent configuration of minergate-cli:
minergate-cli depends on libpcre16-3; however:
Package libpcre16-3 is not installed.

dpkg: error processing package minergate-cli (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
minergate-cli

root@boot-1-ubnt-14-8core:~#

@Rexbubble

This comment has been minimized.

Copy link

commented Apr 21, 2018

same here @Mr-Iswahyudi
run : sudo apt-get install libpcre16-3

worked for me, mining now but dashboard shows offline

whats up with that???

@rafalkraw

This comment has been minimized.

Copy link

commented Apr 22, 2018

@Rexbubble
This command gives me error "Unable to locate package libpcre16-3" :(

@Rexbubble

This comment has been minimized.

Copy link

commented Apr 25, 2018

@rafalkraw
Have you tried
apt-get upgrade
or
apt-get dist-upgrade

@rafalkraw

This comment has been minimized.

Copy link

commented Apr 26, 2018

@Rexbubble
Of course, but still same error. Which OS do you have?

@Rexbubble

This comment has been minimized.

Copy link

commented Apr 28, 2018

@rafalkraw

Ubuntu Server:

Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial

@geromo

This comment has been minimized.

Copy link

commented Apr 28, 2018

Script are not working on ubuntu 16.04

@geromo

This comment has been minimized.

Copy link

commented Apr 29, 2018

You have a new command ??..
Tested working

@Odhie13

This comment has been minimized.

Copy link

commented Jul 4, 2018

Does this script run only for Ubuntu 16 and in use in ssh application on smartphone?

@incurablestudent

This comment has been minimized.

Copy link

commented Jul 26, 2018

Thanks! This works... Tested on Ubuntu 16 Just make a some changes though..

sudo apt-get update && wget https://minergate.com/download/deb-cli -O minergate-cli.deb && sudo dpkg -i minergate-cli.deb
minergate-cli -u username@email.com --bcn 4

@fblauer

This comment has been minimized.

Copy link

commented Aug 17, 2018

I get "illegal instruction" after connecting to minergate pool

@btcvenom1

This comment has been minimized.

Copy link

commented Oct 12, 2018

i run the code but its freez here for ever !!!!! what can i do??
is another way to install that??

--2018-10-12 21:33:45-- https://minergate.com/download/deb-cli
Resolving minergate.com (minergate.com)... 136.243.102.154, 136.243.102.167, 88.99.142.163, ...
Connecting to minergate.com (minergate.com)|136.243.102.154|:443...

@Spindler360

This comment has been minimized.

Copy link

commented Nov 15, 2018

Choose your minergate "xfast" cli from https://minergate.com/downloads
These downloads are new - but I can't connect with "wget https://minergate.com/download/xfast-ubuntu-cli"
does anyone have a solution?

@mydnic

This comment has been minimized.

Copy link

commented Nov 19, 2018

wget https://minergate.com/download/xfast-ubuntu-cli

unzip xfast-ubuntu-cli -d minergate

cd minergate/minergate-cli/

./minergate-cli -u EMAIL --xmr 4

Seems to work, but I keep getting

Diff: 18446744073709551615 CPU/GPU: 0.0 H/s / 0.0 H/s accepted/bad 0/0

Which is weird

@Spindler360

This comment has been minimized.

Copy link

commented Nov 19, 2018

Did you replace the "EMAIL" part with yours?
If the script is running I do not know how to continue ,,,-.-,,,

Many "big" hosters block minerscripts due to "high" resource usage and does not connect to the Minergate. -.-
Does anyone have the new script in use?

@TheCoderLife

This comment has been minimized.

Copy link

commented Dec 19, 2018

Works perfectly.
System: Ubuntu 18.04 - 64 Bit - fully patched.
Eventuell liegt es an der Firewall? Port deaktiviert?

@phanthanhkim

This comment has been minimized.

Copy link

commented Jun 30, 2019

minergate-cli.deb 100%[==========================================================================>] 20.15M 995KB/s in 21s

2019-06-30 16:28:09 (996 KB/s) - ‘minergate-cli.deb’ saved [21126074/21126074]

(Reading database ... 194711 files and directories currently installed.)
Preparing to unpack minergate-cli.deb ...
Unpacking minergate (7.1-gcc4) over (7.1-gcc4) ...
Setting up minergate (7.1-gcc4) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for bamfdaemon (0.5.3bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
email@instance-2:
$ minergate-cli -user email@hotmail.com -xmr 7
minergate-cli: command not found
some one help me 1try alot of time co run with vps but always like this minergate-cli: command not found

@FinlayDaG33k

This comment has been minimized.

Copy link
Owner Author

commented Jun 30, 2019

Setting up minergate (7.1-gcc4) ...

Try running the command minergate (so without the -cli) part

@felipeLvalero

This comment has been minimized.

Copy link

commented Jul 4, 2019

Hi,

I'm trying to run minergate-cli on ubuntu 18.04 server AMD processors,

but when I do
/minergate-cli -u EMAIL --xmr 4

I got
illigal instruction (core dumped)

could any one give a tip to fix this error.

thanks in advance

@FinlayDaG33k

This comment has been minimized.

Copy link
Owner Author

commented Jul 4, 2019

AMD processors,
illigal instruction (core dumped)

Without a stacktrace (which I doubt you have) it's difficult to know what's going on :\
What AMD CPUs are you running?

@felipeLvalero

This comment has been minimized.

Copy link

commented Jul 4, 2019

Without a stacktrace (which I doubt you have) it's difficult to know what's going on :\

You rigth :/ How I get the stacktrace?

What AMD CPUs are you running?

AMD opteron processor 6136 x 8

@FinlayDaG33k

This comment has been minimized.

Copy link
Owner Author

commented Jul 5, 2019

Then I don't know... it might have to do with the lack of AVX but I can't say for sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.