Bitcoin Forum
February 17, 2025, 06:24:53 PM *
News: Community Awards voting is open
 
   Home   Help Search Login Register More  
Pages: 1 2 [All]
  Print  
Author Topic: how to install the alt-coin qt clients with linux  (Read 1971 times)
Ecurb123 (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
November 08, 2013, 09:53:24 PM
 #1

hi all,

I want to install a few alt-coin clients on a linux machine and I've never done it before, can anyone help me out?
hhs99
Member
**
Offline Offline

Activity: 103
Merit: 10


View Profile
November 08, 2013, 10:17:11 PM
 #2

what distro and which coin?
dupee419
Sr. Member
****
Offline Offline

Activity: 1358
Merit: 261


View Profile
November 08, 2013, 10:25:58 PM
 #3

nearly every distro compiles the same way


you need to have all the dependencies installed in advance, in particular "make"

generally the command in terminal is "make -f makefile.unix" for the daemon


for the Qt it'd be "qmake" followed by "make"

obviously you need to make sure your terminal is pointed at the directory housing the code, but that should do it for suse or any debian based distro.

it's considerably easier than compiling for mac or windows

edit: i suppose I should mention that the instructions for compiling the daemon need to be executed in the /src directory of the coin code, where as the qt is compiled in the main directory of the code where you find a file called bitcoin-qt.pro (can change based on the coin)
hhs99
Member
**
Offline Offline

Activity: 103
Merit: 10


View Profile
November 08, 2013, 11:47:47 PM
 #4

If you tell me what coin and distro I can give you a quick how-to
Ecurb123 (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
November 09, 2013, 08:24:13 AM
 #5

thanks both. I'm on ubuntu and need a ppcoin and litecoin client. It's funny I feel pretty good using ubuntu, I've been writing python for my raspberry pi, I've got the OS working the way I like it but I'm still confused on how to install software sometimes.
hhs99
Member
**
Offline Offline

Activity: 103
Merit: 10


View Profile
November 09, 2013, 01:00:15 PM
 #6

apt-get install build-essential libssl-dev libdb4.8-dev libdb4.8++-dev libboost-all-dev git
git clone git://github.com/litecoin-project/litecoin.git
cd litecoin/src
qmake "USE_UPNP=-"
make
cp litecoind /usr/bin/litecoind;


Only need this part if you want to solo mine

mkdir ~/.litecoin;
echo rpcuser=someusername > ~/.litecoin/litecoin.conf
echo rpcpassword=randompassword > ~/.litecoin/litecoin.conf
echo rpcallowip=127.0.0.1 > ~/.litecoin/litecoin.conf
litecoind -daemon
dupee419
Sr. Member
****
Offline Offline

Activity: 1358
Merit: 261


View Profile
November 09, 2013, 01:06:40 PM
 #7

apt-get install build-essential libssl-dev libdb4.8-dev libdb4.8++-dev libboost-all-dev git
git clone git://github.com/litecoin-project/litecoin.git
cd litecoin/src
qmake "USE_UPNP=-"
make
cp litecoind /usr/bin/litecoind;


Only need this part if you want to solo mine

mkdir ~/.litecoin;
echo rpcuser=someusername > ~/.litecoin/litecoin.conf
echo rpcpassword=randompassword > ~/.litecoin/litecoin.conf
echo rpcallowip=127.0.0.1 > ~/.litecoin/litecoin.conf
litecoind -daemon

very nice.

I'd like to mention that litecoin has a prebuilt wallet binary that runs nicely. There is something oddly satisfying about building your own though.
hhs99
Member
**
Offline Offline

Activity: 103
Merit: 10


View Profile
November 09, 2013, 01:32:06 PM
 #8

I also perfer to build my own. It makes it feel like I am building a bank or something.
hhs99
Member
**
Offline Offline

Activity: 103
Merit: 10


View Profile
November 09, 2013, 01:41:52 PM
 #9

and for ppcoin heres the instructions

git clone https://github.com/primecoin/primecoin.git
cd ./primecoin/src
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libglib2.0-dev libglibmm-2.4-dev libgmp-dev
sudo apt-get install libboost-all-dev libdb-dev libdb++-dev libminiupnpc-dev libwxgtk2.8-dev
qmake "USE_UPNP=-"
make


and your good.
Ecurb123 (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
November 09, 2013, 08:18:45 PM
 #10

and for ppcoin heres the instructions

git clone https://github.com/primecoin/primecoin.git
cd ./primecoin/src
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libglib2.0-dev libglibmm-2.4-dev libgmp-dev
sudo apt-get install libboost-all-dev libdb-dev libdb++-dev libminiupnpc-dev libwxgtk2.8-dev
qmake "USE_UPNP=-"
make


and your good.

wow thanks so much! however when I run qmake "USE_UPNP=-" I get the following error: could not find a Qt installation of ''
The other steps worked as expected.

hhs99
Member
**
Offline Offline

Activity: 103
Merit: 10


View Profile
November 09, 2013, 09:17:32 PM
 #11

sudo apt-get install qt4-qmake sorry I missed a package
Ecurb123 (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
November 09, 2013, 09:41:21 PM
 #12

I installed the package but am still getting the same message.
hhs99
Member
**
Offline Offline

Activity: 103
Merit: 10


View Profile
November 09, 2013, 09:46:03 PM
 #13

try just qmake if that doesn't work just do a make
Ecurb123 (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
November 09, 2013, 09:54:30 PM
 #14

qmake gives the same message

make give this message:
 *** No targets specified and no makefile found.  Stop.
hhs99
Member
**
Offline Offline

Activity: 103
Merit: 10


View Profile
November 09, 2013, 10:06:38 PM
 #15

Let me get back to the house and I will try it on my Ubuntu machine and see what I get
hhs99
Member
**
Offline Offline

Activity: 103
Merit: 10


View Profile
November 09, 2013, 10:31:56 PM
 #16

Ok you need to do the following

cd into the primecoin directory and do a qmake USE_UPNP=-

Then cd src; make -f makefile.unix

its still building on my machine I will tell you how to start it when its done.
Ecurb123 (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
November 09, 2013, 10:49:08 PM
 #17

so I went to the primecoin directory and ran the "qmake USE_UPNP=-", however again same message as above.

Then I did something that might have been a mistake, I went to the src directory and ran the "make -f makefile.unix", it did it's thing seemingly successfully. 
hhs99
Member
**
Offline Offline

Activity: 103
Merit: 10


View Profile
November 09, 2013, 11:00:30 PM
 #18

the makefile one builds the daemon. It might be a longshot but try rebooting. the qt built for me when I did it. Only bad part is I cant find a working peer to connect with to get the block source
Ecurb123 (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
November 09, 2013, 11:47:45 PM
 #19

I tried resetting but still the same, below is the content of the src dir, maybe that helps:

addrman.cpp         db.cpp                makefile.unix          rpcwallet.cpp
addrman.h           db.h                  mruset.h               script.cpp
alert.cpp           hash.cpp              netbase.cpp            script.h
alert.h             hash.h                netbase.h              serialize.h
allocators.h        init.cpp              net.cpp                sync.cpp
base58.h            init.h                net.h                  sync.h
bignum.h            json                  noui.cpp               test
bitcoinrpc.cpp      key.cpp               obj                    threadsafety.h
bitcoinrpc.h        key.h                 obj-test               txdb.cpp
bloom.cpp           keystore.cpp          primecoind             txdb.h
bloom.h             keystore.h            prime.cpp              ui_interface.h
checkpoints.cpp     leveldb               prime.h                uint256.h
checkpoints.h       leveldb.cpp           protocol.cpp           util.cpp
checkpointsync.cpp  leveldb.h             protocol.h             util.h
checkpointsync.h    limitedmap.h          qt                     version.cpp
checkqueue.h        main.cpp              rpcblockchain.cpp      version.h
clientversion.h     main.h                rpcdump.cpp            wallet.cpp
compat.h            makefile.linux-mingw  rpcmining.cpp          walletdb.cpp
crypter.cpp         makefile.mingw        rpcnet.cpp             walletdb.h
crypter.h           makefile.osx          rpcrawtransaction.cpp  wallet.h
Ecurb123 (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
November 10, 2013, 11:56:40 AM
 #20

another update:

I did some searching online and found this
http://stackoverflow.com/questions/16607003/qmake-could-not-find-a-qt-installation-of

I installed suggested package:
sudo apt-get install qtcreator

and now when I run qmake in the primecoin dir I get this message:

Project MESSAGE: Building with UPNP support
sh: 1: /usr/lib/i386-linux-gnu/qt5/bin/lrelease: not found
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_af_ZA.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_ar.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_bg.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_ca_ES.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_cs.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_da.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_de.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_el_GR.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_en.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_es.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_es_CL.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_et.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_eu_ES.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_fa.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_fa_IR.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_fi.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_fr.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_fr_CA.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_he.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_hr.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_hu.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_it.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_lt.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_nb.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_nl.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_pl.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_pt_BR.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_pt_PT.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_ro_RO.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_ru.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_sk.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_sr.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_sv.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_tr.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_uk.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_zh_CN.qm'
RCC: Error in 'src/qt/bitcoin.qrc': Cannot find file 'locale/bitcoin_zh_TW.qm'
hhs99
Member
**
Offline Offline

Activity: 103
Merit: 10


View Profile
November 10, 2013, 01:40:21 PM
 #21

The repo could be broken right now. I would create an issue with them and see if they can fix it.
Ecurb123 (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
November 10, 2013, 01:45:26 PM
 #22

just to make sure I understand, you mean from the source here:

git clone https://github.com/primecoin/primecoin.git
hhs99
Member
**
Offline Offline

Activity: 103
Merit: 10


View Profile
November 10, 2013, 01:48:08 PM
 #23

https://github.com/primecoin/primecoin is the developers address. Im sure its something simple
Ecurb123 (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
November 10, 2013, 02:10:18 PM
 #24

again thanks so much the help. here is what I've done now with more confusion.

I went to the github site, read the readme which told to go to http://primecoin.org/
from there I saw the link to download the client:
http://sourceforge.net/projects/primecoin/files/latest/download?source=files

I downloaded the client, unpacked it and read the readme:

Quote
Setup
---------------------
You need the Qt4 run-time libraries to run Bitcoin-Qt. On Debian or Ubuntu:
   `sudo apt-get install libqtgui4`

Unpack the files into a directory and run:

- bin/32/bitcoin-qt (GUI, 32-bit)
- bin/32/bitcoind (headless, 32-bit)
- bin/64/bitcoin-qt (GUI, 64-bit)
- bin/64/bitcoind (headless, 64-bit)
...

I did went to the dir and ran ./bitocin-qt
now I have a primecoin wallet!

However two things I don't understand...

1. Why can I simply download and run the client, when before we were trying to compile the whole thing, what is the advantage to compiling if there is one?
2. Why the heck is it a primecoin wallet, when from the star I wanted PPcoin wallet!?  Smiley Are they somehow the same thing?
Ecurb123 (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
November 10, 2013, 02:14:20 PM
 #25

also one more thing to your point about now being able to connect to a peer, at first I also wasn't able to connect, but then I turned off my VPN, now it works. Maybe the VPN service won't allow that protocol?
hhs99
Member
**
Offline Offline

Activity: 103
Merit: 10


View Profile
November 10, 2013, 02:16:22 PM
 #26

Sorry to early and not enough caffeine

for ppcoin same process different link http://sourceforge.net/projects/ppcoin/files/0.3.0/ppcoin-0.3.0-linux.tar.gz/download and do the same thing.
Ecurb123 (OP)
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
November 10, 2013, 02:28:51 PM
 #27

got it thanks
Pages: 1 2 [All]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!