readme: fix ubuntu installation instructions

I have verified that this results in working bitcoin core and c-lightning on fresh Ubuntu 20.04 server installation.

This is also consistent with instructions in doc/INSTALL.md

Fixes:  #4538
Reported-By: @urza
Changelog-None: readme change only
This commit is contained in:
urza
2021-05-21 13:51:11 +02:00
committed by Rusty Russell
parent f798fb1dd6
commit 7bd6b5a108

View File

@@ -48,9 +48,10 @@ For the impatient here's the gist of it for Ubuntu:
```bash
sudo apt-get install -y software-properties-common
sudo add-apt-repository -u ppa:bitcoin/bitcoin
sudo add-apt-repository -u ppa:lightningnetwork/ppa
sudo apt-get install bitcoind lightningd
sudo apt-get install lightningd snapd
sudo snap install bitcoin-core
sudo ln -s /snap/bitcoin-core/current/bin/bitcoin{d,-cli} /usr/local/bin/
```
### Starting `lightningd`