<p>You can just unzip the file and run the binary. Typically the binaries <code>bitcoind</code> and <code>bitcoin-cli</code>, etc. are stored in the <code>/usr/local/bin</code>, <code>man</code> folder in the <code>/usr/local/man</code>, etc. so that it is in your machine's <code>PATH</code> environment variable and can be run from anywhere.</p>

<p>If you choose to download the source code, you can install by following instructions here (for Unix): <a href="https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md" rel="nofollow noreferrer">Build Unix</a></p>



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

<p>But you may need to install dependencies. See <a href="https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md#linux-distribution-specific-instructions" rel="nofollow noreferrer">Linux Distribution Specific Instructions</a></p>

CC BY-SA 4.0
2019-05-23T06:30:25.800Z
If I plant to run from binaries, how do I set the path so bitcoin-cli can be run from anywhere, typically how it behaves when installed from apt-get?
Paras
CC BY-SA 4.0
2019-05-22T17:18:27.657Z
2019-05-22T18:18:10.707Z
2019-05-22T18:18:10.707Z
JBaczuk
<p>If you're building from source, you can select a specific version as follows:</p>

<p>First, review the build requirements, dependencies, and instructions for your OS:</p>

<p><a href="https://github.com/bitcoin/bitcoin/tree/master/doc" rel="nofollow noreferrer">https://github.com/bitcoin/bitcoin/tree/master/doc</a></p>

<p>Once that is done, use git to pull the source code and select a branch:</p>

<pre><code>## clone the bitcoin repository
$ git clone https://github.com/bitcoin/bitcoin.git

## change folders
$ cd bitcoin

## check which versions are available
$ git tag

## find your desired version in the list, and then 'checkout'
$ git checkout v0.x.x

## now you can build:
$ ./autogen.sh
$ ./configure
$ ./make
$ sudo make install
</code></pre>

<p>Once you have finished the install and booted up bitcoind, you can confirm the correct version of the client and daemon are running:</p>

<p><code>bitcoin-cli getnetworkinfo</code></p>

<p><code>bitcoind --version</code></p>

CC BY-SA 4.0
2019-05-22T21:58:45.400Z
2019-05-22T21:58:45.400Z
chytrik
<p>I need to run bitcoind version 0.17, however the latest available version is 0.18, if I follow the instructions from this <a href="https://linuxhint.com/install-bitcoin-core-ubuntu/" rel="nofollow noreferrer">link</a> it installs the latest version.</p>

<p>The below links lists the packages for the version I need however I am not sure how to use it, I mean how to install it on my local machine as <code>apt-get install</code> command does automatically.</p>

<p><a href="https://bitcoincore.org/bin/bitcoin-core-0.17.1/" rel="nofollow noreferrer">https://bitcoincore.org/bin/bitcoin-core-0.17.1/</a></p>

<p>Can someone help me with this please?</p>

<bitcoin-core><bitcoind><bitcoin-core-development>
How do I install a specific version of bitcoin-core
Paras
# How do I install a specific version of bitcoin-core

(Asked by: username_0 on 2019-05-22)

I need to run bitcoind version 0.17, however the latest available version is 0.18, if I follow the instructions from this [link](https://linuxhint.com/install-bitcoin-core-ubuntu/) it installs the latest version.

The below links lists the packages for the version I need however I am not sure how to use it, I mean how to install it on my local machine as `apt-get install` command does automatically.

<https://bitcoincore.org/bin/bitcoin-core-0.17.1/>

Can someone help me with this please?

**Tags:** bitcoin-core, bitcoind, bitcoin-core-development


---

## 2 answers

### Answer by username_1 on 2019-05-22. Score: 0 | Accepted answer

You can just unzip the file and run the binary. Typically the binaries `bitcoind` and `bitcoin-cli`, etc. are stored in the `/usr/local/bin`, `man` folder in the `/usr/local/man`, etc. so that it is in your machine's `PATH` environment variable and can be run from anywhere.

If you choose to download the source code, you can install by following instructions here (for Unix): [Build Unix](https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md)

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

```

But you may need to install dependencies. See [Linux Distribution Specific Instructions](https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md#linux-distribution-specific-instructions)

> **Comments:**
> **username_0**: If I plant to run from binaries, how do I set the path so bitcoin-cli can be run from anywhere, typically how it behaves when installed from apt-get?  

---

### Answer by username_2 on 2019-05-22. Score: 3

If you're building from source, you can select a specific version as follows:

First, review the build requirements, dependencies, and instructions for your OS:

<https://github.com/bitcoin/bitcoin/tree/master/doc>

Once that is done, use git to pull the source code and select a branch:

```
## clone the bitcoin repository
$ git clone https://github.com/bitcoin/bitcoin.git

## change folders
$ cd bitcoin

## check which versions are available
$ git tag

## find your desired version in the list, and then 'checkout'
$ git checkout v0.x.x

## now you can build:
$ ./autogen.sh
$ ./configure
$ ./make
$ sudo make install

```

Once you have finished the install and booted up bitcoind, you can confirm the correct version of the client and daemon are running:

`bitcoin-cli getnetworkinfo`

`bitcoind --version`


---

