Mar 112013

NOTE: The steps are mostly the same as for those in our previous article «How to install bitcoin 0.8.0 on debian squeeze amd64»

Thank GNUtransfer the loan us a VPS and other resources to write this article.
While it is a bit tedious to install bitcoind 0.8.0 on Debian Wheezy, improvements in this version make it worth the work, performance is far superior to previous versions and I/O disk have been significantly reduced.
Now let’s start with the installation.

The sources.list is the standard and should look like.

root@x49:/# cat /etc/apt/sources.list

# deb cdrom:[Debian GNU/Linux testing _Wheezy_ - Official Snapshot amd64 CD Binary-1 20130304-04:56]/ wheezy main

deb wheezy main non-free contrib
deb-src wheezy main non-free contrib

deb wheezy/updates main contrib non-free
deb-src wheezy/updates main contrib non-free

Then add the repository sources of bitcoin for Ubuntu Precise Pangolin.

Create the file /etc/apt/sources.list.d/bitcoin.list with the following content

root@x49:/# cat /etc/apt/sources.list.d/bitcoin.list

deb-src precise main


Then add the key in apt

root@x49:/# gpg --keyserver hkp:// --recv-keys D46F45428842CE5E
gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: requesting key 8842CE5E from hkp server
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 8842CE5E: public key "Launchpad PPA for Bitcoin" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
root@x49:/# gpg --export --armor D46F45428842CE5E | apt-key add --

We update the repositories

apt-get update

Then install the following packages dpkg-dev, qt4-qmake, libdb5.1++-dev, libqt4-dev, libqrencode-dev, libminiupnpc-dev, libboost-test1.49-dev, zlib1g, lib32z1, libc6-i386, debhelper, devscripts, bash-completion, libboost-system-dev, libssl-dev, pkg-config, libboost-filesystem-dev, libboost-program-options-dev, libboost-thread-dev, libboost-test-dev

apt-get install dpkg-dev qt4-qmake libdb5.1++-dev libqt4-dev libqrencode-dev libminiupnpc-dev libboost-test1.49-dev zlib1g lib32z1 libc6-i386 debhelper devscripts bash-completion libboost-system-dev libssl-dev pkg-config libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libboost-test-dev

Then we create the directory /usr/src/bitcoin and enter in, from there proceed to download the source package of bitcoin

mkdir -p /usr/src/bitcoin
cd /usr/src/bitcoin
apt-get source bitcoin

We entered the bitcoin-0.8.0 directory

cd bitcoin-0.8.0

Then edit the file «debian/changelog» and add these 6 lines (this is not really necessary is for the files .deb take the wheezy chain name instead of precise)

bitcoin (0.8.0-wheezy1) wheezy; urgency=low

  * Mark for wheezy.

 -- Matt Corallo <>  Sat, 23 Feb 2013 16:24:00 -0500

Then proceed to the compilation with the following command (this may take some time, between 10 and 30 minutes, even more in some cases)

./debian/rules clean
./debian/rules binary

Once we have finished compiling, two packages in top directory. bitcoind and bitcoin-qt, we will use the bitcoind.
We proceed to install

cd ..
root@x49:/usr/src/bitcoin# dpkg -i bitcoind_0.8.0-wheezy1_amd64.deb 
Selecting previously unselected package bitcoind.
(Reading database ... 51985 files and directories currently installed.)
Unpacking bitcoind (from bitcoind_0.8.0-wheezy1_amd64.deb) ...
Setting up bitcoind (0.8.0-wheezy1) ...
Processing triggers for man-db ...

Usually we have it installed in a future article we will see how to configure it to start automatically in the background at startup.

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.