Assuming the username of the Ubuntu user is "theusername". | |
Preparation | |
----------- | |
``` | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev | |
sudo apt-get install libboost-all-dev | |
sudo apt-get install libqt5gui5 libqt5core5 libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler | |
sudo apt-get install libqrencode-dev | |
sudo apt-get install libminiupnpc-dev | |
``` | |
Download bitcoin source code | |
---------------------------- | |
``` | |
cd ~ | |
git clone https://github.com/bitcoin/bitcoin.git | |
``` | |
Download and compile Berkley DB 4.8 | |
----------------------------------- | |
``` | |
cd ~ | |
mkdir bitcoin/db4/ | |
wget 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz' | |
tar -xzvf db-4.8.30.NC.tar.gz | |
cd db-4.8.30.NC/build_unix/ | |
../dist/configure --enable-cxx --disable-shared --with-pic --prefix=/home/theusername/bitcoin/db4/ | |
make install | |
``` | |
Compile Bitcoin with Berkley DB 4.8 | |
----------------------------------- | |
``` | |
cd ~/bitcoin/ | |
./autogen.sh | |
./configure LDFLAGS="-L/home/theusername/bitcoin/db4/lib/" CPPFLAGS="-I/home/theusername/bitcoin/db4/include/" | |
make -s -j5 | |
``` | |
Run Bitcoin Daemon/QT/Client | |
---------------------------- | |
``` | |
./src/bitcoind | |
./src/bitcoin-qt | |
./src/bitcoin-cli | |
``` | |
Please share your experience and provide constructive feedback! | |
Thanks, | |
--- Kosta |
This comment has been minimized.
This comment has been minimized.
I was able to compile with Qt on Ubuntu 12.04 LTS: How to disable downloading of blockchain? |
This comment has been minimized.
This comment has been minimized.
I am fine up to line 49 "./src/bitcoind" but then I get the error message as following:
Any help please? |
This comment has been minimized.
This comment has been minimized.
I needed to install libevent-dev and libqt5core5a |
This comment has been minimized.
This comment has been minimized.
@asubbarao: you just remove ~/.bitcoin directory with cmd "rm -rf ~./bitcoin" |
This comment has been minimized.
This comment has been minimized.
I am running Ubuntu 16.04.2 LTS and also needed to install libqt5core5a. Additionally, I had compiler issues when I attempted: This solution worked for me:
|
This comment has been minimized.
This comment has been minimized.
Here is what I did for ubuntu 16:
|
This comment has been minimized.
This comment has been minimized.
Worked great, for ubuntu 16, had to add libevent-dev, and libqt5core5a instead of libqt5core5. |
This comment has been minimized.
This comment has been minimized.
thanks |
This comment has been minimized.
This comment has been minimized.
After entering line 33: (../dist/configure --enable-cxx --disable-shared --with-pic --prefix=/home/theusername/bitcoin/db4/) I get: configure: error: libdb_cxx headers missing, Bitcoin Core requires this library for wallet functionality Edit: Ubuntu 16.04.3 LTS |
This comment has been minimized.
This comment has been minimized.
Thanks for this. |
This comment has been minimized.
This comment has been minimized.
I'm stuck at line 42, Compile Bitcoin with Berkley DB 4.8, I get: -bash: ./configure: No such file or directory Any help??? |
This comment has been minimized.
This comment has been minimized.
solution works for me on Ubuntu 16.04:
|
This comment has been minimized.
This comment has been minimized.
i've been trying |
This comment has been minimized.
This comment has been minimized.
However the following packages replace it: E: Package 'libqt5core5' has no installation candidate Update this to document |
This comment has been minimized.
This comment has been minimized.
@caikehe It works! thx |
This comment has been minimized.
This comment has been minimized.
in Ubuntu 16 you also need to run
|
This comment has been minimized.
This comment has been minimized.
Hello I was installing this to learn and i get stack on make -s -j5 I get this terry@rootminingpool: |
This comment has been minimized.
This comment has been minimized.
and inside the fold i have |
This comment has been minimized.
This comment has been minimized.
Excellent work. How does one edit the qt client GUI interface? |
This comment has been minimized.
This comment has been minimized.
Thanks for sharing, after the installation, the software language is garbled and I am getting an error: If this sounds wrong, possibly the target language is not set or recognized. what should I do? |
This comment has been minimized.
This comment has been minimized.
Thanks! |
This comment has been minimized.
This comment has been minimized.
Кто может помочь? Делаю форк для своего сайта, пытаюсь скомпилировать namecoin-qt командой make, : При использовании команды make пишет: |
This comment has been minimized.
This comment has been minimized.
Thank you! Really good! |
This comment has been minimized.
Updated: added "protobuf-compiler" as dependency.