Skip to main content
Edited answer after Tom van der Woerdt's comment about using an untrusted repo
Source Link
John
  • 539
  • 1
  • 3
  • 10

I found this guide to be helpful: http://rdmsnippets.com/2013/03/12/installind-bitcoind-on-ubuntu-12-4-lts/Edited answer after Tom van der Woerdt's comment about using an untrusted repo

download necessary packagesfrom: https://gist.github.com/WyseNynja/2503687

sudo aptitude install python-softwareapt-propertiesget update
sudo add-apt-repositoryget ppa:bitcoin/bitcoin
sudoinstall aptitude-y update
sudogit-core aptitudebuild-essential installlibssl-dev bitcoindlibboost-all-dev libdb5.1-dev libdb5.1++-dev libgtk2.0-dev
mkdir
git ~clone https://github.com/bitcoin/bitcoin.git

modify bitcoin.conf

nanocd ~/.bitcoin/bitcoinsrc

make -f makefile.confunix clean; make -f makefile.unix USE_UPNP= bitcoind
server=1
daemon=1# from #bitcoin-dev:
rpcuser=INVENT_A_UNIQUE_USERNAME# sacarlson: USE_UPNP= : don't build upnp, USE_UPNP=0 : build but disable by default, USE_UPNP=1 : build but enable by default
rpcpassword=INVENT_A_UNIQUE_PASSWORD
# optionally, 
strip bitcoind

download blockchain (check against http://blockexplorer.com/q/getblockcount):

bitcoind

test bitcoind:

bitcoind getbalance
bitcoind getaccountaddress account #(where account is the rpcuser account you created earlier in your bitcoind.conf file.) It will look like this: 1djfdLXSgqrwtexqkn9JewSrCJU4vu74eR4

send coins to the address and doublecheck bitcoind getbalance

I found this guide to be helpful: http://rdmsnippets.com/2013/03/12/installind-bitcoind-on-ubuntu-12-4-lts/

download necessary packages:

sudo aptitude install python-software-properties
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo aptitude update
sudo aptitude install bitcoind
mkdir ~/.bitcoin/

modify bitcoin.conf

nano ~/.bitcoin/bitcoin.conf
server=1
daemon=1
rpcuser=INVENT_A_UNIQUE_USERNAME
rpcpassword=INVENT_A_UNIQUE_PASSWORD

download blockchain (check against http://blockexplorer.com/q/getblockcount):

bitcoind

test bitcoind:

bitcoind getbalance
bitcoind getaccountaddress account #(where account is the rpcuser account you created earlier in your bitcoind.conf file.) It will look like this: 1djfdLXSgqrwtexqkn9JewSrCJU4vu74eR4

send coins to the address and doublecheck bitcoind getbalance

Edited answer after Tom van der Woerdt's comment about using an untrusted repo

from: https://gist.github.com/WyseNynja/2503687

sudo apt-get update
sudo apt-get install -y git-core build-essential libssl-dev libboost-all-dev libdb5.1-dev libdb5.1++-dev libgtk2.0-dev

git clone https://github.com/bitcoin/bitcoin.git
cd bitcoin/src

make -f makefile.unix clean; make -f makefile.unix USE_UPNP= bitcoind

# from #bitcoin-dev:
# sacarlson: USE_UPNP= : don't build upnp, USE_UPNP=0 : build but disable by default, USE_UPNP=1 : build but enable by default

# optionally, 
strip bitcoind

download blockchain (check against http://blockexplorer.com/q/getblockcount):

bitcoind

test bitcoind:

bitcoind getbalance
bitcoind getaccountaddress account #(where account is the rpcuser account you created earlier in your bitcoind.conf file.) It will look like this: 1djfdLXSgqrwtexqkn9JewSrCJU4vu74eR4

send coins to the address and doublecheck bitcoind getbalance

Source Link
John
  • 539
  • 1
  • 3
  • 10

I found this guide to be helpful: http://rdmsnippets.com/2013/03/12/installind-bitcoind-on-ubuntu-12-4-lts/

download necessary packages:

sudo aptitude install python-software-properties
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo aptitude update
sudo aptitude install bitcoind
mkdir ~/.bitcoin/

modify bitcoin.conf

nano ~/.bitcoin/bitcoin.conf
server=1
daemon=1
rpcuser=INVENT_A_UNIQUE_USERNAME
rpcpassword=INVENT_A_UNIQUE_PASSWORD

download blockchain (check against http://blockexplorer.com/q/getblockcount):

bitcoind

test bitcoind:

bitcoind getbalance
bitcoind getaccountaddress account #(where account is the rpcuser account you created earlier in your bitcoind.conf file.) It will look like this: 1djfdLXSgqrwtexqkn9JewSrCJU4vu74eR4

send coins to the address and doublecheck bitcoind getbalance