README: add known good FreeBSD (9.11) instructions

This commit is contained in:
Dan Bolser 2018-04-28 14:47:46 +01:00 committed by Olaoluwa Osuntokun
parent a43d02f8f0
commit d0d77f9718

@ -21,11 +21,16 @@
sudo ln -s /usr/lib/go-1.10/bin/go /usr/local/bin/go sudo ln -s /usr/lib/go-1.10/bin/go /usr/local/bin/go
``` ```
On Mac OS X On Mac OS X:
``` ```
brew install go brew install go
``` ```
On FreeBSD:
```
pkg install go
```
Alternatively, one can download the pre-compiled binaries hosted on the Alternatively, one can download the pre-compiled binaries hosted on the
[golang download page](https://golang.org/dl/). If one seeks to install [golang download page](https://golang.org/dl/). If one seeks to install
from source, then more detailed installation instructions can be found from source, then more detailed installation instructions can be found
@ -72,12 +77,14 @@ For Windows WSL users, make will need to be referenced directly via /usr/bin/mak
"make" && "make" install "make" && "make" install
``` ```
On FreeBSD, use gmake instead of make.
Alternatively, if one doesn't wish to use `make`, then the `go` commands can be Alternatively, if one doesn't wish to use `make`, then the `go` commands can be
used directly: used directly:
``` ```
dep ensure -v dep ensure -v
go install -v ./... go install -v ./...
```
**Updating** **Updating**
@ -89,6 +96,8 @@ git pull
make && make install make && make install
``` ```
On FreeBSD, use gmake instead of make.
Alternatively, if one doesn't wish to use `make`, then the `go` commands can be Alternatively, if one doesn't wish to use `make`, then the `go` commands can be
used directly: used directly:
``` ```
@ -105,6 +114,8 @@ To check that `lnd` was installed properly run the following command:
make check make check
``` ```
On FreeBSD, use gmake instead of make.
### Installing btcd ### Installing btcd
If one wishes to use the `btcd` backend, `lnd` currently requires the If one wishes to use the `btcd` backend, `lnd` currently requires the