<p>At least 1 GB of ram is needed. If that is not enough you can simply add some swap memory to build the daemon.
Disk space is required also and at the time of writing it is around 200 GB.</p>

<p><strong>To Build</strong></p>

<pre><code>./autogen.sh
./configure
make
make install # optional
</code></pre>

<p><strong>Required dependencies</strong></p>

<p><em>Ubuntu &amp; Debian</em></p>

<pre><code>sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3
</code></pre>

<p>Now, you can either build from self-compiled depends or install the required dependencies:</p>

<pre><code>sudo apt-get install libssl-dev libevent-dev libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev
</code></pre>

<p><em>BerkeleyDB is required for the wallet.</em></p>

<p>For Ubuntu only: db4.8 packages are available here. You can add the repository and install using the following commands:</p>

<pre><code>sudo apt-get install software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
</code></pre>

<p>Ubuntu and Debian have their own libdb-dev and libdb++-dev packages, but these will install BerkeleyDB 5.1 or later. This will break binary wallet compatibility with the distributed executables, which are based on BerkeleyDB 4.8. If you do not care about wallet compatibility, <em>pass --with-incompatible-bdb to configure.</em></p>

<p><em>To build Bitcoin Core without wallet, see Disable-wallet mode</em></p>

<p>Optional (see --with-miniupnpc and --enable-upnp-default):</p>

<pre><code>sudo apt-get install libminiupnpc-dev
</code></pre>

<p>ZMQ dependencies (provides ZMQ API):</p>

<pre><code>sudo apt-get install libzmq3-dev
</code></pre>

<p>source: <a href="https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md" rel="nofollow noreferrer">bitcoin github</a></p>

CC BY-SA 4.0
2019-02-02T10:59:04.163Z
2019-02-02T10:59:04.163Z
AG23
<p>I wrote a simple step-by-step HOWTO on downloading, building, and upgrading bitcoin core. I’ve tested this on recent Ubuntu, Debian, and Raspbian distros. </p>

<p><a href="https://github.com/alevchuk/minibank/blob/master/bitcoin/README.md" rel="nofollow noreferrer">https://github.com/alevchuk/minibank/blob/master/bitcoin/README.md</a></p>

<p>Yet, allow 5 to 10 days for bitcoin to download the block chain. That time depends on the speed of your internet connection. </p>

<p>As far as RAM, 1GB is a safe number.  I was able to run it at 433 MB Razpbeerry Pi Zero and Amazon AWS. Yet, that needs another 600 MB of swap. There are some considerations what using swap, read a note about swap here <a href="https://github.com/alevchuk/minibank/blob/master/README.md#memory" rel="nofollow noreferrer">https://github.com/alevchuk/minibank/blob/master/README.md#memory</a> </p>

CC BY-SA 4.0
2019-03-16T23:43:01.683Z
2019-03-16T23:51:14.557Z
2019-03-16T23:51:14.557Z
Aleksandr Levchuk
<p>I was given the task to install Bitcoin core, to receive payments in the service. I have found some tutorials, but they were not used because they are GUIs. I want to use a bitcoin from the command line. How do i install bitcoin bark? How much free memory do you need?</p>

CC BY-SA 4.0
2019-02-02T08:46:27.537Z
What is Bitcoin Bark? Is it Bitcoin Core?
MCCCS
<bitcoin-core>
I was tasked with installing a bitcoin core on ubuntu and I had questions
coderdev
# I was tasked with installing a bitcoin core on ubuntu and I had questions

(Asked by: username_0 on 2019-02-02)

I was given the task to install Bitcoin core, to receive payments in the service. I have found some tutorials, but they were not used because they are GUIs. I want to use a bitcoin from the command line. How do i install bitcoin bark? How much free memory do you need?

**Tags:** bitcoin-core

> **Comments:**
> **username_1**: What is Bitcoin Bark? Is it Bitcoin Core?  

---

## 2 answers

### Answer by username_2 on 2019-02-02. Score: 2

At least 1 GB of ram is needed. If that is not enough you can simply add some swap memory to build the daemon.
Disk space is required also and at the time of writing it is around 200 GB.

**To Build**

```
./autogen.sh
./configure
make
make install # optional

```

**Required dependencies**

*Ubuntu & Debian*

```
sudo apt-get install build-essential libtool autotools-dev automake pkg-config bsdmainutils python3

```

Now, you can either build from self-compiled depends or install the required dependencies:

```
sudo apt-get install libssl-dev libevent-dev libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev

```

*BerkeleyDB is required for the wallet.*

For Ubuntu only: db4.8 packages are available here. You can add the repository and install using the following commands:

```
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev

```

Ubuntu and Debian have their own libdb-dev and libdb++-dev packages, but these will install BerkeleyDB 5.1 or later. This will break binary wallet compatibility with the distributed executables, which are based on BerkeleyDB 4.8. If you do not care about wallet compatibility, *pass --with-incompatible-bdb to configure.*

*To build Bitcoin Core without wallet, see Disable-wallet mode*

Optional (see --with-miniupnpc and --enable-upnp-default):

```
sudo apt-get install libminiupnpc-dev

```

ZMQ dependencies (provides ZMQ API):

```
sudo apt-get install libzmq3-dev

```

source: [bitcoin github](https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md)


---

### Answer by username_3 on 2019-03-16. Score: 0

I wrote a simple step-by-step HOWTO on downloading, building, and upgrading bitcoin core. I’ve tested this on recent Ubuntu, Debian, and Raspbian distros.

<https://github.com/alevchuk/minibank/blob/master/bitcoin/README.md>

Yet, allow 5 to 10 days for bitcoin to download the block chain. That time depends on the speed of your internet connection.

As far as RAM, 1GB is a safe number. I was able to run it at 433 MB Razpbeerry Pi Zero and Amazon AWS. Yet, that needs another 600 MB of swap. There are some considerations what using swap, read a note about swap here <https://github.com/alevchuk/minibank/blob/master/README.md#memory>


---

