Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INSTALL.md: update install details for ubuntu 16.04 #31

Merged
merged 1 commit into from
Aug 14, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 36 additions & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,36 @@ You will need several development libraries:
You will also need a version of bitcoind with segregated witness support,
such as the 0.13 or above.

To Build on Ubuntu 15.10 (not needed for 16.04)
To Build on Ubuntu 16.04
---------------------

Get dependencies:
```
sudo apt-get install libprotobuf-c-dev libsodium-dev libbase58-dev
```

Clone lightning and initialize submodules:
```
git clone https://github.com/ElementsProject/lightning.git
cd lightning
git submodule init
git submodule update
```

Build lightning:
```
make
```

Running lightning:
```
bitcoind
./daemon/lightningd
./daemon/lightning-cli help
```
**Note**: You may need to include `testnet=1` in `bitcoin.conf`

To Build on Ubuntu 15.10
------------------------
Build protobuf-c dependency (>= 1.1.0):
```
Expand All @@ -35,6 +64,12 @@ git submodule update
Build lightning:
```
make
```

Running lightning:
```
bitcoind
export LD_LIBRARY_PATH=/usr/local/lib
./daemon/lightningd
./daemon/lightning-cli help
```