Installing bitcoin in ubuntu
2014-04-19 10:47
267 查看
转自:http://birdchan.com/home/2013/11/26/installing-bitcoin-in-ubuntu/
Get the source first
You can read doc/build-unix.md, or follow along.
This step should be no problem.
This step may give you some issues…
If you encounter configure: error: libdb_cxx headers missing
If you encounter configure: error: Found Berkeley DB other than 4.8, required for portable wallets (–with-incompatible-bdb to ignore), run the following command instead. You can always send your bitcoins to another wallet.
If you encounter checking for boostlib >= 1.20.0… configure: We could not detect the boost libraries (version 1.20 or higher). If you have a staged boost library (still not installed) please specify $BOOST_ROOT in your environment and do not give
a PATH to –with-boost option. If you are sure you have boost installed, then check your version number looking in . See http://randspringer.de/boost for more documentation.
If you encounter no configure: error: openssl not found
1、sudo apt-get install openssl
2、sudo apt-get install libssl-dev
This time you may have a clean run. However, if you scroll up to check the output lines, you may see this line:configure: WARNING: MOC not found; bitcoin-qt frontend will not be built. If you want the frontend, run:
Then when you run configure again, you should see checking for moc-qt4… /usr/bin/moc-qt4.
Now, everything is ready.
The compilation took like 5 min.
Then install the compiled binary.
Now just run the following to bring up the bitcoin frontend, yeah~~~
To start mining, go to Help > Debug Window > Console and type in setgenerate true to turn it on. Typesetgenerate false to stop. My machine became really hot after a while, probably coz my CPU was struggling with all the
complex computations. I read that some people bought a separate GPU card for better performance, something to consider.
It’s worth noting that nowadays it’s very hard to efficiently mine bitcoins alone without dedicated software and hardware. Often miners form a pool (or a group) to speed up the process and share the profit. Read more at:
https://en.bitcoin.it/wiki/Pooled_mining
https://en.bitcoin.it/wiki/Comparison_of_mining_pools
Get the source first
1 2 | git clone https://github.com/bitcoin/bitcoin.git cd bitcoin |
This step should be no problem.
1 | ./autogen.sh |
1 | ./configure |
1 | sudo apt-get install libdb5.1++-dev |
1 | ./configure --with-incompatible-bdb |
a PATH to –with-boost option. If you are sure you have boost installed, then check your version number looking in . See http://randspringer.de/boost for more documentation.
1 | sudo apt-get install libboost-all-dev |
1、sudo apt-get install openssl
2、sudo apt-get install libssl-dev
This time you may have a clean run. However, if you scroll up to check the output lines, you may see this line:configure: WARNING: MOC not found; bitcoin-qt frontend will not be built. If you want the frontend, run:
1 | sudo apt-get install libqt4-core libqt4-gui libqt4-dev |
Now, everything is ready.
1 | make |
Then install the compiled binary.
1 | make install |
1 | bitcoin-qt |
complex computations. I read that some people bought a separate GPU card for better performance, something to consider.
It’s worth noting that nowadays it’s very hard to efficiently mine bitcoins alone without dedicated software and hardware. Often miners form a pool (or a group) to speed up the process and share the profit. Read more at:
https://en.bitcoin.it/wiki/Pooled_mining
https://en.bitcoin.it/wiki/Comparison_of_mining_pools
相关文章推荐
- Installing VMware Tools in Ubuntu
- Installing python-ldap in Ubuntu
- Problems when installing R and Rstudio in Ubuntu:
- Installing R in Ubuntu
- Installing VMware Tools in Ubuntu
- Installing the Haskell Platform in Ubuntu
- Installing and setting TFTPD in Ubuntu
- Installing eclipse in Ubuntu 10.04
- Installing Software in Ubuntu(get from other website)
- Installing the Sun Java 6 JDK in Ubuntu 12.04
- Installing and setting TFTPD in Ubuntu
- Installing flashplayer debug Firefox plug-in on Ubuntu 10.4
- Generating/Installing Ubuntu packages for the newer 8.24.8 drivers in Breezy Badger
- Installing OpenCV 2.4.1 in Ubuntu 12.04 LTS
- Postgresql installing in ubuntu
- Installing Android Studio IDE in Ubuntu | Fedora – Hello World Application
- Installing OpenCV 2.4.9 + QT5 in Ubuntu
- [Stax] The steps of installing stax in Ubuntu 10.04
- Installing perl and writing your first perl program in Ubuntu
- Installing Guest Additions in VirtualBox for an Ubuntu Server Guest