<p>From what I can tell, <code>neutrino</code> is not a standalone node but a library that <code>lnd</code> uses to be able to run in &quot;neutrino&quot; mode.</p>
<p>To use <code>lnd</code> with a <code>neutrino</code> backend, compile <code>lnd</code> from the source and then run with the following options:</p>
<pre><code> lnd --bitcoin.active --bitcoin.testnet --debuglevel=debug \
       --bitcoin.node=neutrino --neutrino.connect=faucet.lightning.community
</code></pre>
<p>(Taken from <a href="https://github.com/lightningnetwork/lnd/blob/master/docs/INSTALL.md#using-neutrino" rel="nofollow noreferrer">https://github.com/lightningnetwork/lnd/blob/master/docs/INSTALL.md#using-neutrino</a>)</p>
<p>This <a href="https://github.com/lightningnetwork/lnd/issues/3975" rel="nofollow noreferrer">issue</a> also mentions that you may need to compile LND with experimental flags in order to use neutrino, although I am unsure if this is still the case.</p>

CC BY-SA 4.0
2023-02-26T12:15:49.647Z
I feel very dumb now. I was 100% sure that it was some stand-alone daemon. Thank you!
alexg
CC BY-SA 4.0
2023-02-25T10:56:45.380Z
2023-02-25T10:56:45.380Z
josie
<p>I am trying to build <a href="https://github.com/lightninglabs/neutrino" rel="nofollow noreferrer">neutrino</a>, <a href="https://github.com/lightningnetwork/lnd/blob/master/docs/INSTALL.md#using-neutrino" rel="nofollow noreferrer">to use with lnd</a>.</p>
<p>However I cannot find any installation instructions.</p>
<p><a href="https://github.com/lightninglabs/neutrino/issues/252" rel="nofollow noreferrer">Someone else also asked for install instructions a few months ago and got no reply</a>.</p>
<p>I have installed go version <code>go1.19 linux/amd64</code>.</p>
<p>Even though I am not familiar with go, I am trying to guess the steps.</p>
<p>This is what I tried first:</p>
<pre><code>git clone https://github.com/lightninglabs/neutrino
cd neutrino
git checkout v0.15.0
make clean
make
</code></pre>
<p>This is the output from make:</p>
<pre><code> Compiling neutrino.
 go build -v github.com/lightninglabs/neutrino/...
</code></pre>
<p>I can't find any binaries after doing this.</p>
<p>Then, I tried the following:</p>
<pre><code> go build -v -o ~/neutrino *.go
</code></pre>
<p>This created an <a href="https://en.wikipedia.org/wiki/Ar_(Unix)" rel="nofollow noreferrer">ar archive</a> which is not executable:</p>
<pre><code> $ file ~/neutrino 
 /home/alexg/neutrino: current ar archive
</code></pre>
<p>Obviously I am doing something wrong.</p>
<p>Why can't I find the installation instructions? Can someone help?</p>

<lightning-network-daemon><compiling><compact-client-side-block-filters>
Building neutrino from source for use with lnd
alexg
# Building neutrino from source for use with lnd

(Asked by: username_0 on 2023-02-24)

I am trying to build [neutrino](https://github.com/lightninglabs/neutrino), [to use with lnd](https://github.com/lightningnetwork/lnd/blob/master/docs/INSTALL.md#using-neutrino).

However I cannot find any installation instructions.

[Someone else also asked for install instructions a few months ago and got no reply](https://github.com/lightninglabs/neutrino/issues/252).

I have installed go version `go1.19 linux/amd64`.

Even though I am not familiar with go, I am trying to guess the steps.

This is what I tried first:

```
git clone https://github.com/lightninglabs/neutrino
cd neutrino
git checkout v0.15.0
make clean
make

```

This is the output from make:

```
 Compiling neutrino.
 go build -v github.com/lightninglabs/neutrino/...

```

I can't find any binaries after doing this.

Then, I tried the following:

```
 go build -v -o ~/neutrino *.go

```

This created an [ar archive](https://en.wikipedia.org/wiki/Ar_(Unix)) which is not executable:

```
 $ file ~/neutrino 
 /home/username_0/neutrino: current ar archive

```

Obviously I am doing something wrong.

Why can't I find the installation instructions? Can someone help?

**Tags:** lightning-network-daemon, compiling, compact-client-side-block-filters


---

## 1 answers

### Answer by username_1 on 2023-02-25. Score: 3 | Accepted answer

From what I can tell, `neutrino` is not a standalone node but a library that `lnd` uses to be able to run in "neutrino" mode.

To use `lnd` with a `neutrino` backend, compile `lnd` from the source and then run with the following options:

```
 lnd --bitcoin.active --bitcoin.testnet --debuglevel=debug \
       --bitcoin.node=neutrino --neutrino.connect=faucet.lightning.community

```

(Taken from <https://github.com/lightningnetwork/lnd/blob/master/docs/INSTALL.md#using-neutrino>)

This [issue](https://github.com/lightningnetwork/lnd/issues/3975) also mentions that you may need to compile LND with experimental flags in order to use neutrino, although I am unsure if this is still the case.

> **Comments:**
> **username_0**: I feel very dumb now. I was 100% sure that it was some stand-alone daemon. Thank you!  

---

