Bitcoin Forum
December 10, 2016, 11:02:34 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Ubuntu build instructions  (Read 3236 times)
genjix
Legendary
*
expert
Offline Offline

Activity: 1232


View Profile
March 17, 2011, 06:53:59 PM
 #1

I see a lot of questions about how to build Bitcoin.

Here's how you do it on Ubuntu for the non-GUI version:

sudo aptitude install build-essential libboost-all-dev libdb4.7++-dev libssl-dev libglib2.0-dev
make -f makefile.unix bitcoind
./bitcoind

(someone add this to the build instructions on github)
1481367754
Hero Member
*
Offline Offline

Posts: 1481367754

View Profile Personal Message (Offline)

Ignore
1481367754
Reply with quote  #2

1481367754
Report to moderator
1481367754
Hero Member
*
Offline Offline

Posts: 1481367754

View Profile Personal Message (Offline)

Ignore
1481367754
Reply with quote  #2

1481367754
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481367754
Hero Member
*
Offline Offline

Posts: 1481367754

View Profile Personal Message (Offline)

Ignore
1481367754
Reply with quote  #2

1481367754
Report to moderator
1481367754
Hero Member
*
Offline Offline

Posts: 1481367754

View Profile Personal Message (Offline)

Ignore
1481367754
Reply with quote  #2

1481367754
Report to moderator
Matt Corallo
Hero Member
*****
expert
Offline Offline

Activity: 751


View Profile
March 17, 2011, 08:08:47 PM
 #2

For the GUI version:

Code:
sudo aptitude install build-essential libboost-all-dev libdb4.7++-dev libssl-dev libglib2.0-dev
wget http://downloads.sourceforge.net/project/wxwindows/2.9.1/wxWidgets-2.9.1.tar.bz2
tar xvvf wxWidgets-2.9.1.tar.bz2
cd wxWidgets-2.9.1
./configure --with-gtk --enable-debug --disable-shared --enable-monolithic
make
sudo make install
cd (bitcoin directory)
make -f makefile.unix
./bitcoin

Bitcoin Ubuntu PPA maintainer - donate to me personally: 1JBMattRztKDF2KRS3vhjJXA7h47NEsn2c
http://bitcoinrelaynetwork.org maintainer
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
genjix
Legendary
*
expert
Offline Offline

Activity: 1232


View Profile
March 17, 2011, 08:33:05 PM
 #3

fuck no. I do not like to sudo make install *anything* and nor do I recommend anyone else to ever do so.

better would be to install wxwidgets to a local directory. anyway if you're compiling bitcoin then probably you'll be content with the CLI version,
Matt Corallo
Hero Member
*****
expert
Offline Offline

Activity: 751


View Profile
March 17, 2011, 08:50:18 PM
 #4

fuck no. I do not like to sudo make install *anything* and nor do I recommend anyone else to ever do so.

better would be to install wxwidgets to a local directory. anyway if you're compiling bitcoin then probably you'll be content with the CLI version,
What's the harm of having an extra library on your system?  Its not like anything but bitcoin will use it yet anyway.  Nothing but bitcoin will ever touch any of it.

Bitcoin Ubuntu PPA maintainer - donate to me personally: 1JBMattRztKDF2KRS3vhjJXA7h47NEsn2c
http://bitcoinrelaynetwork.org maintainer
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
genjix
Legendary
*
expert
Offline Offline

Activity: 1232


View Profile
March 17, 2011, 11:28:54 PM
 #5

fuck no. I do not like to sudo make install *anything* and nor do I recommend anyone else to ever do so.

better would be to install wxwidgets to a local directory. anyway if you're compiling bitcoin then probably you'll be content with the CLI version,
What's the harm of having an extra library on your system?  Its not like anything but bitcoin will use it yet anyway.  Nothing but bitcoin will ever touch any of it.

I don't like filling my system with junk. Personal preference.

Also: security risk.

& no way to ever uninstall.
theymos
Administrator
Legendary
*
expert
Offline Offline

Activity: 2506


View Profile
March 18, 2011, 02:01:42 AM
 #6

& no way to ever uninstall.

I use paco to keep track of my source code packages. It allows you to uninstall them, and it also keeps track of configure parameters and such.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
Matt Corallo
Hero Member
*****
expert
Offline Offline

Activity: 751


View Profile
March 18, 2011, 01:07:09 PM
 #7

fuck no. I do not like to sudo make install *anything* and nor do I recommend anyone else to ever do so.

better would be to install wxwidgets to a local directory. anyway if you're compiling bitcoin then probably you'll be content with the CLI version,
What's the harm of having an extra library on your system?  Its not like anything but bitcoin will use it yet anyway.  Nothing but bitcoin will ever touch any of it.

I don't like filling my system with junk. Personal preference.

Also: security risk.

& no way to ever uninstall.
It can't be a security risk if the libraries never get loaded by any running applications.  Though the filling system with junk is a valid point.  You could install to a different location to keep track of it though.

Bitcoin Ubuntu PPA maintainer - donate to me personally: 1JBMattRztKDF2KRS3vhjJXA7h47NEsn2c
http://bitcoinrelaynetwork.org maintainer
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
genjix
Legendary
*
expert
Offline Offline

Activity: 1232


View Profile
March 18, 2011, 05:26:14 PM
 #8

Security risk as in if a bug is found, and they're not updated with a fix (how?)
Matt Corallo
Hero Member
*****
expert
Offline Offline

Activity: 751


View Profile
March 18, 2011, 05:27:24 PM
 #9

Security risk as in if a bug is found, and they're not updated with a fix (how?)
If no program loads the libraries, they can't be exploited.  If someone can convince your system to load the libraries, you are already compromised.

Bitcoin Ubuntu PPA maintainer - donate to me personally: 1JBMattRztKDF2KRS3vhjJXA7h47NEsn2c
http://bitcoinrelaynetwork.org maintainer
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
TeraPool
Jr. Member
*
Offline Offline

Activity: 42


View Profile
July 20, 2011, 06:09:33 AM
 #10

I see a lot of questions about how to build Bitcoin.

Here's how you do it on Ubuntu for the non-GUI version:

sudo aptitude install build-essential libboost-all-dev libdb4.7++-dev libssl-dev libglib2.0-dev
make -f makefile.unix bitcoind
./bitcoind

(someone add this to the build instructions on github)

Is it time to update the OP? I see that the readme suggests a few more dependant libraries now for 0.3.24 Huh

netrin
Sr. Member
****
Offline Offline

Activity: 322


FirstBits: 168Bc


View Profile
July 25, 2011, 04:15:05 PM
 #11

I'd love to see a post here or elsewhere for Ubuntu 11.04. I can't compile the latest wxwidgets nor compile the latest bitcoin client with an earlier wxwidgets. Anyone got it working?

Greenlandic tupilak. Hand carved, traditional cursed bone figures. Sorry, polar bear, walrus and human remains not available for export.
jackjack
Hero Member
*****
Offline Offline

Activity: 882


May Bitcoin be touched by his Noodly Appendage


View Profile
July 25, 2011, 04:34:32 PM
 #12

I'd love to see a post here or elsewhere for Ubuntu 11.04. I can't compile the latest wxwidgets nor compile the latest bitcoin client with an earlier wxwidgets. Anyone got it working?
I got it working after zillions of troubles with wxwidgets (in 10.04 though)

Here: http://forum.bitcoin.org/index.php?topic=30500.0

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
BitVapes
Full Member
***
Offline Offline

Activity: 140


BitVapes.com


View Profile WWW
July 28, 2011, 11:48:48 AM
 #13

I'd love to see a post here or elsewhere for Ubuntu 11.04. I can't compile the latest wxwidgets nor compile the latest bitcoin client with an earlier wxwidgets. Anyone got it working?

this may help - http://forum.bitcoin.org/index.php?topic=6299.msg110429#msg110429


note, this installs v0.3.21 but I think 0.3.24 will work if you change a line in the script:

from
Quote
[ -e bitcoin*.tar.gz ] || wget --no-check-certificate "https://www.github.com/bitcoin/bitcoin/tarball/v0.3.21"
to
Quote
[ -e bitcoin*.tar.gz ] || wget --no-check-certificate "https://www.github.com/bitcoin/bitcoin/tarball/v0.3.24"

Buy Electronic Cigarettes with Bitcoin @ http://bitvapes.com
genjix
Legendary
*
expert
Offline Offline

Activity: 1232


View Profile
July 28, 2011, 01:01:49 PM
 #14

I didn't get it to work on Ubuntu Oneiric Ocelot
netrin
Sr. Member
****
Offline Offline

Activity: 322


FirstBits: 168Bc


View Profile
July 28, 2011, 01:09:08 PM
 #15

I (and others) can compile earlier versions of wxwidgets, earlier clients, and on earlier versions of Ubuntu. If you has actually compiled 0.3.24 on Ubuntu 11.04 yourself, please post your magic sauce. Smiley

Greenlandic tupilak. Hand carved, traditional cursed bone figures. Sorry, polar bear, walrus and human remains not available for export.
BitVapes
Full Member
***
Offline Offline

Activity: 140


BitVapes.com


View Profile WWW
July 28, 2011, 01:43:36 PM
 #16

I (and others) can compile earlier versions of wxwidgets, earlier clients, and on earlier versions of Ubuntu. If you has actually compiled 0.3.24 on Ubuntu 11.04 yourself, please post your magic sauce. Smiley

the method I posted 3 links above worked for me, I just checked and I had edited a section of the  script like so -

Quote
#for some reason, github's certificate doesn't work:
[ -e bitcoin*.tar.gz ] || wget --no-check-certificate "https://www.github.com/bitcoin/bitcoin/tarball/v0.3.24"
[ -e bitcoin*/ ] || tar -xvzf "v0.3.24"
cd bitcoin*/
cd src/
make -f makefile.unix


this gave me a working bitcoin 0.3.24 binary in ubuntu 11.04

Buy Electronic Cigarettes with Bitcoin @ http://bitvapes.com
brandon@sourcewerks
Member
**
Offline Offline

Activity: 62



View Profile
July 28, 2011, 04:35:09 PM
 #17

If you don't want to fool around doing this yourself, I can provide cloud hosted bitcoind instances with Ubuntu for ~0.125 BTC a day.  Each instance is backed up daily and you will have full root access to the server.

Otherwise, back to reading  Grin
marcus_of_augustus
Legendary
*
Offline Offline

Activity: 2100



View Profile
July 28, 2011, 11:12:23 PM
 #18

I (and others) can compile earlier versions of wxwidgets, earlier clients, and on earlier versions of Ubuntu. If you has actually compiled 0.3.24 on Ubuntu 11.04 yourself, please post your magic sauce. Smiley

On a related note, if you are going to try testing with release candidates for 0.3.25 (0.4) that has wallet encryption then you'll have to use the latest version of wxWidgets 2.9.2 (need to build and install somewhere yourself) ... or you can use the patch on the previous version found in https://github.com/bitcoin/bitcoin/blob/master/contrib/wx-patches/README

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!