mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-19 13:04:37 +01:00
doc: add missing dev deps, upgrade and don't use sudo for pip
This commit is contained in:
committed by
Rusty Russell
parent
ee1749bb5e
commit
3210213dc3
@@ -37,9 +37,10 @@ Get dependencies:
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y \
|
||||
autoconf automake build-essential git libtool libgmp-dev \
|
||||
libsqlite3-dev python3 python3-mako net-tools zlib1g-dev libsodium-dev \
|
||||
autoconf automake build-essential git libtool libgmp-dev libsqlite3-dev \
|
||||
python3 python3-mako python3-pip net-tools zlib1g-dev libsodium-dev \
|
||||
gettext
|
||||
pip3 install --user mrkd
|
||||
|
||||
If you don't have Bitcoin installed locally you'll need to install that
|
||||
as well. It's now available via [snapd](https://snapcraft.io/bitcoin-core).
|
||||
@@ -57,8 +58,10 @@ Clone lightning:
|
||||
|
||||
For development or running tests, get additional dependencies:
|
||||
|
||||
sudo apt-get install -y valgrind python3-pip libpq-dev
|
||||
sudo pip3 install -r requirements.txt --use-feature=in-tree-build
|
||||
sudo apt-get install -y valgrind libpq-dev shellcheck cppcheck \
|
||||
libsecp256k1-dev
|
||||
pip3 install --upgrade pip
|
||||
pip3 install --user -r requirements.txt
|
||||
|
||||
Build lightning:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user