Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: JackH on December 27, 2014, 10:38:53 PM



Title: Installing BitcoinD when Bitcoin-qt is already installed (Ubuntu 12.04)?
Post by: JackH on December 27, 2014, 10:38:53 PM
Are there any complications installing BitcoinD when Bitcoin-qt is already installed? I am running Ubuntu 12.04 and wanted to know if it gives any problems to have both installed on the same machine.

I wanted to install BitcoinD in order to play around with some of the RPC commands via Python.


Title: Re: Installing BitcoinD when Bitcoin-qt is already installed (Ubuntu 12.04)?
Post by: TechnoBibble on December 27, 2014, 11:31:48 PM
shouldnt be a problem, just stop bitcoin-qt when you go to run bitcoind as bitcoin-qt will be using the database.

On ubuntu if you have the PPA installed it should just be a matter of installing from apt.

apt-get install bitcoind

or

sudo apt-get install bitcoind


Title: Re: Installing BitcoinD when Bitcoin-qt is already installed (Ubuntu 12.04)?
Post by: JackH on December 27, 2014, 11:39:19 PM
Will installing BitcoinD require to re-download the entire blockchain, or does it "know"?


Title: Re: Installing BitcoinD when Bitcoin-qt is already installed (Ubuntu 12.04)?
Post by: TechnoBibble on December 28, 2014, 12:16:27 AM
no, if you install it as the same user as bitcoin-qt the blockchain will still be downloaded in ~/.bitcoin/ usually or whetever path you specified.


Title: Re: Installing BitcoinD when Bitcoin-qt is already installed (Ubuntu 12.04)?
Post by: siameze on December 28, 2014, 01:46:23 AM
Also as an aside, you will need to add/edit your .conf file. I can't remember if the new version populates it automatically for you or not.

EDIT: Also try the bitcoin-cli. The daemon-rpc calls will eventually be obsolete.


Title: Re: Installing BitcoinD when Bitcoin-qt is already installed (Ubuntu 12.04)?
Post by: ranochigo on December 28, 2014, 01:24:45 PM
Will installing BitcoinD require to re-download the entire blockchain, or does it "know"?
No, Bitcoind will search for blockchain on the directory the same as the bitcoin-qt one. If you downloaded it to other places, run this:
Code:
bitcoind -datadir=insert directory here
Before running bitcoind, you will also need a conf file. Detailed explaination here:http://we.lovebitco.in/bitcoin-qt/configuration-file/