user8738: I am trying to build neutrino, to use with lnd.
However I cannot find any installation instructions.
Someone else also asked for install instructions a few months ago and got no reply.
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 which is not executable:
 $ file ~/neutrino 
 /home/alexg/neutrino: current ar archive

Obviously I am doing something wrong.
Why can't I find the installation instructions? Can someone help?

user139612: 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 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.

8738: <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>
 139612: <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>
