From dc91fbea9b0f419cac75a8622fc8f183c90df0ad Mon Sep 17 00:00:00 2001 From: Arc <33088785+arcbtc@users.noreply.github.com> Date: Mon, 10 Feb 2025 20:32:33 +0000 Subject: [PATCH] Tweak: Updated Poetry install to include headers and make copy/paste easier (#2948) * Tweak: Adds $USER to poetry install guide Means a copy/paste will work for most * auto agree for easy copy/paste * poetry install and export * ensure correct headers * whoops * typo --- docs/guide/installation.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/guide/installation.md b/docs/guide/installation.md index d1f0f874..38fe2cce 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -29,19 +29,18 @@ It is recommended to use the latest version of Poetry. Make sure you have Python ### Install Python 3.12 ```sh -sudo add-apt-repository ppa:deadsnakes/ppa -sudo apt update -sudo apt install python3.12 -sudo apt-get install python3.12-dev # ensure correct headers needed for secp256k1 +sudo add-apt-repository -y ppa:deadsnakes/ppa +sudo apt update -y +sudo apt install -y python3.12 python3.12-dev # ensure correct headers needed for secp256k1 +sudo apt install -y pkg-config python3-dev build-essential # ensure correct headers python3 --version ``` ### Install Poetry ```sh -curl -sSL https://install.python-poetry.org | python3 - -# Once the above poetry install is completed, use the installation path printed to terminal and replace in the following command -export PATH="/home/user/.local/bin:$PATH" +# If path 'export PATH="$HOME/.local/bin:$PATH"' fails, use the path echoed by the install +curl -sSL https://install.python-poetry.org | python3 - && export PATH="$HOME/.local/bin:$PATH" ``` ### install LNbits