<p>If you want to run bitcoin node on an ubuntu machine, it is always recommend to build it from the source code itself. That way you can be almost 100% sure of its authenticity.</p>
<p>Start with:</p>
<pre><code>sudo apt-get update
sudo apt-get install build-essential software-properties-common
sudo apt-add-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libssl-dev libboost-all-dev libdb4.8-dev libdb4.8++-dev libqt4-dev libminiupnpc-dev libtool libevent-dev automake autoconf pkg-config bsdmainutils
git clone https://github.com/bitcoin/bitcoin
cd bitcoin
./autogen.sh
./configure.ac
make
make install (optional)
</code></pre>
<p>After compiling process is completed:</p>
<pre><code>cd src/
sudo cp ./bitcoind /usr/bin/
sudo cp ./bitcoin-cli /usr/bin/
mkdir ~/.bitcoin
nano ~/.bitcoin/bitcoin.conf
</code></pre>
<p>Add your RPC user and RPCpassword value in bitcoin.conf file, save, exit.</p>
<pre><code>bitoind -daemon
</code></pre>
<p>Your node will start syncing in background.</p>

CC BY-SA 4.0
2021-02-18T23:47:08.963Z
that's disappointing.  I get the value of using source code but the publisher could easily create a binary and save everyone the trouble of having to install all the necessary tools and do the compilation
ekkis
CC BY-SA 4.0
2021-02-18T23:47:36.273Z
I won't accept this good answer in hopes of a better one :)
ekkis
CC BY-SA 4.0
2021-02-19T16:28:06.593Z
As far as I know, they do release binary versions for easy installations. But for production, most of the developers prefer getting source code from Master and compile it themselves.
Gladiator9120
CC BY-SA 4.0
2021-02-20T05:55:44.697Z
fair enough.  I'll accept this as the authoritative answer.  if one has a larger number of VMs to install on, I suppose one can always compile in one box and distribute the binaries
ekkis
CC BY-SA 4.0
2021-02-17T05:18:42.107Z
2021-02-17T05:18:42.107Z
Gladiator9120
<p>I tried <code>sudo snap install bitcoin-core</code>, which worked but I've read that it cannot be trusted, so I uninstalled it</p>
<p>the developer, bitcoincore.org, doesn't seem to maintain a binary for Ubuntu (or any other distribution) but provides a tar file.  they supply no instructions for how to install the software and I can't seem to find anything simple.  all I want is to install a running node (so there should be a startup script with SysV/InetD/startup, or whatever system Ubuntu is inclined to use now for automatically running services at boot-time)</p>
<p>can anyone point me to a working guide?</p>

CC BY-SA 4.0
2021-02-11T05:35:45.550Z
I haven't used the Snap Store installer, but it seems to be endorsed by the Bitcoin Core devs and listed as an installation option on their website. Where are you seeing that it can't be trusted?
ieatpizza
<bitcoin-core><bitcoind>
Install guide for Ubuntu 18
ekkis
# Install guide for Ubuntu 18

(Asked by: username_0 on 2021-02-11)

I tried `sudo snap install bitcoin-core`, which worked but I've read that it cannot be trusted, so I uninstalled it

the developer, bitcoincore.org, doesn't seem to maintain a binary for Ubuntu (or any other distribution) but provides a tar file. they supply no instructions for how to install the software and I can't seem to find anything simple. all I want is to install a running node (so there should be a startup script with SysV/InetD/startup, or whatever system Ubuntu is inclined to use now for automatically running services at boot-time)

can anyone point me to a working guide?

**Tags:** bitcoin-core, bitcoind

> **Comments:**
> **username_1**: I haven't used the Snap Store installer, but it seems to be endorsed by the Bitcoin Core devs and listed as an installation option on their website. Where are you seeing that it can't be trusted?  

---

## 1 answers

### Answer by username_2 on 2021-02-17. Score: 1 | Accepted answer

If you want to run bitcoin node on an ubuntu machine, it is always recommend to build it from the source code itself. That way you can be almost 100% sure of its authenticity.
Start with:
sudo apt-get update
sudo apt-get install build-essential software-properties-common
sudo apt-add-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libssl-dev libboost-all-dev libdb4.8-dev libdb4.8++-dev libqt4-dev libminiupnpc-dev libtool libevent-dev automake autoconf pkg-config bsdmainutils
git clone https://github.com/bitcoin/bitcoin
cd bitcoin
./autogen.sh
./configure.ac
make
make install (optional)

After compiling process is completed:
cd src/
sudo cp ./bitcoind /usr/bin/
sudo cp ./bitcoin-cli /usr/bin/
mkdir ~/.bitcoin
nano ~/.bitcoin/bitcoin.conf

Add your RPC user and RPCpassword value in bitcoin.conf file, save, exit.
bitoind -daemon

Your node will start syncing in background.

> **Comments:**
> **username_0**: that's disappointing.  I get the value of using source code but the publisher could easily create a binary and save everyone the trouble of having to install all the necessary tools and do the compilation  
> **username_0**: I won't accept this good answer in hopes of a better one :)  
> **username_2**: As far as I know, they do release binary versions for easy installations. But for production, most of the developers prefer getting source code from Master and compile it themselves.  
> **username_0**: fair enough.  I'll accept this as the authoritative answer.  if one has a larger number of VMs to install on, I suppose one can always compile in one box and distribute the binaries  

---

