Very currency, such address, many dig on Linux!

Compile and setup DOGE wallet on Linux

To start digging many DOGE you must have an address and what comes with it – a DOGE wallet.
dogecoinlogo

If you already don’t have installed those libraries, install it on Ubuntu:

sudo apt-get install libssl-dev libdb-dev libdb++-dev libqrencode-dev qt4-qmake libqtgui4 libqt4-dev libminiupnpc-dev libminiupnpc8 libboost-all-dev build-essential git

On Ubuntu you might have a problem with libboost – “boost/random/uniform_int_distribution.hpp”, if so try:

sudo apt-get install libboost1.53-all-dev

or get it here.

Packages: libminiupnpc-dev libminiupnpc8 are not essential.
or openSUSE:

zypper in boost boost-devel git libdb-4_8 qt4-qmake libssl-devel libqt4-devel

Clone DOGECOIN repository and prepare for compilation:

git clone https://github.com/dogecoin/dogecoin.git
cd dogecoin

DOGECOIN is a fork of Litecoin, Litecoin was made on very specific version of libbost, so you must removed that version from .pro file. That’s why it’s `sed` here.

sed -i 's/-mgw46-mt-sd-1_53//g' dogecoin-qt.pro
qmake USE_UPNP=- USE_QRCODE=0 USE_IPV6=0
make -j3
./dogecoin-qt

dogecoin

DIG!

CPU miner and GPU miner.

1. CPU miner you can use is minerd, you can download it from here. To start digging in a pool you must have an account in any pool and setup your miner, I use cryptovalley pool. My command to run minerd is:

$ ./minerd -a scrypt -o stratum+tcp://doge.cryptovalley.com:3333 -O LOGIN.WORKER_ID:PASS -t THREADS
 
$ ./minerd -a scrypt -o stratum+tcp://doge.cryptovalley.com:3333 -O agilob.wow:many -t 4

To dig on GPU you must have:

sudo apt-get install pkg-config opencl-dev libcurl4-openssl-dev autoconf aclocal libtool automake m4 ncurses-dev git

2. Download cgminer:

git clone https://github.com/ckolivas/cgminer.git
cd cgminer
git checkout -b scrypt v3.7.2
# aclocal -I m4 --install # execute this command if the next lines throws an error 
./autogen.sh --enable-scrypt --enable-opencl
make
./cgminer --scrypt -o stratum+tcp://doge.cryptovalley.com:3333 -u WORKER.ID -p PASS

 

If you blog, you can add a widget on your webpage to receive DOGE donations.

If you still have problems with compilation, you can download it from here.

[Total: 0    Average: 0/5]
  • disqus_zIv0Wv5i9y

    i followed every step, but i end up with this:

    make: *** [build/main.o] Errorr 1

    make: *** waiting for non-ended tasks….

    user@user-pc:~/Scaricati/dogecoin-master$ ./dogecoin-qt

    bash: ./dogecoin-qt:no such file or directory

    what’s wrong??

    • To be honest… I have no idea… try removing this folder, cloning the repository once again, or paste everything you got from step with `sed`.

  • mk

    if you are running ubuntu and get the error

    “fatal error: boost/random/uniform_int_distribution.hpp: No such file or directory
    compilation terminated.”

    you might have a problem with the version of libboost that you’re trying to use ( http://doges.org/index.php?topic=575.0 ).

    to get the most current version of libboost you can either do sudo apt-get install libboost1.53-all-dev

    or check here for how to get 1.53 on a number of versions of ubuntu:
    http://gnuradio.org/redmine/projects/gnuradio/wiki/UbuntuInstall#Raring-Ringtail-1304

    • Stuart Chudleigh

      Yep. that was exactly my problem

  • Thufir

    this boost error is what I also get:

    http://askubuntu.com/questions/393386/dogecoin-wallet-client-dependencies-boost

    While I can build the CLI version, I cannot seem to build the qt version because of this missing file. Is there some other way to make a client?

  • rask0l

    I had to specify qt4 when I used qmake for dogecoin-qt. I am on ubuntu 13.10.
    qmake-qt4 USE_UPNP=- USE_QRCODE=0 USE_IPV6=0

  • lost_woof

    I thought dogecoin was a fork of litecoin, not namecoin. And wasn’t namecoin declared dead back in October?

  • Perfect instructions. Worked to a T.

    One thing though: is it possible to easily update the git folder and recompile? Currently I’m having to delete the current folder, re-download and compile.

    Is that how I’m meant to do it?

    • Just do:
      git pull && make

      • Awesome. Thanks!

        PS: just used your instructions to compile the Reddcoin wallet too :)

  • KI

    Does mining still have any sense for sektop computers?

    • agilob

      No, you’re a few years late to the party.