From 5a4e6ec7e0ce389a7dc0c80d5f4fb5fc2a619a32 Mon Sep 17 00:00:00 2001 From: maxwedwards Date: Tue, 29 Aug 2023 13:13:57 +0100 Subject: [PATCH] doc: add tip on extracting binary release --- doc/getting-started/getting-started/installation.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/getting-started/getting-started/installation.md b/doc/getting-started/getting-started/installation.md index cfe53ecf3b85..bc085c38068a 100644 --- a/doc/getting-started/getting-started/installation.md +++ b/doc/getting-started/getting-started/installation.md @@ -17,7 +17,11 @@ sudo snap install bitcoin-core sudo ln -s /snap/bitcoin-core/current/bin/bitcoin{d,-cli} /usr/local/bin/ ``` -Then you can fetch a pre-compiled binary from the [releases](https://github.com/ElementsProject/lightning/releases) page on GitHub. Core Lightning provides binaries for both Ubuntu and Fedora distributions. +Then you can fetch a pre-compiled binary from the [releases](https://github.com/ElementsProject/lightning/releases) page on GitHub. Core Lightning provides binaries for both Ubuntu and Fedora distributions. Normally these binaries are extracted into /usr/local: + +```shell +sudo tar -xvf .tar.xz -C /usr/local --strip-components=2 +``` You will need some Python packages if you want to use clnrest. Unfortunately there are some Python packages which are not packaged in Ubuntu, and so you will need to force installation of these (I recommend --user which will install them in your own .local directory, so at least you won't run the risk of breaking Python globally!).