Skip to content

Commit 6ac9632

Browse files
committed
INSTALL.md: update install details for ubuntu 16.04
1 parent 4563ff9 commit 6ac9632

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

INSTALL.md

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,36 @@ You will need several development libraries:
1010
You will also need a version of bitcoind with segregated witness support,
1111
such as the 0.13 or above.
1212

13-
To Build on Ubuntu 15.10 (not needed for 16.04)
13+
To Build on Ubuntu 16.04
14+
---------------------
15+
16+
Get dependencies:
17+
```
18+
sudo apt-get install libprotobuf-c-dev libsodium-dev libbase58-dev
19+
```
20+
21+
Clone lightning and initialize submodules:
22+
```
23+
git clone https://github.com/ElementsProject/lightning.git
24+
cd lightning
25+
git submodule init
26+
git submodule update
27+
```
28+
29+
Build lightning:
30+
```
31+
make
32+
```
33+
34+
Running lightning:
35+
```
36+
bitcoind
37+
./daemon/lightningd
38+
./daemon/lightning-cli help
39+
```
40+
**Note**: You may need to include `testnet=1` in `bitcoin.conf`
41+
42+
To Build on Ubuntu 15.10
1443
------------------------
1544
Build protobuf-c dependency (>= 1.1.0):
1645
```
@@ -35,6 +64,12 @@ git submodule update
3564
Build lightning:
3665
```
3766
make
67+
```
68+
69+
Running lightning:
70+
```
71+
bitcoind
3872
export LD_LIBRARY_PATH=/usr/local/lib
3973
./daemon/lightningd
74+
./daemon/lightning-cli help
4075
```

0 commit comments

Comments
 (0)