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

View File

@ -21,11 +21,16 @@
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
```
On FreeBSD:
```
pkg install go
```
Alternatively, one can download the pre-compiled binaries hosted on the
[golang download page](https://golang.org/dl/). If one seeks to install
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
```
On FreeBSD, use gmake instead of make.
Alternatively, if one doesn't wish to use `make`, then the `go` commands can be
used directly:
```
dep ensure -v
go install -v ./...
```
**Updating**
@ -89,6 +96,8 @@ git pull
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
used directly:
```
@ -105,6 +114,8 @@ To check that `lnd` was installed properly run the following command:
make check
```
On FreeBSD, use gmake instead of make.
### Installing btcd
If one wishes to use the `btcd` backend, `lnd` currently requires the