diff --git a/doc/getting-started/getting-started/installation.md b/doc/getting-started/getting-started/installation.md index 8236c0d147bf..dcba5c23a9ae 100644 --- a/doc/getting-started/getting-started/installation.md +++ b/doc/getting-started/getting-started/installation.md @@ -70,23 +70,22 @@ You will also need a version of bitcoind with segregated witness and `estimatesm ## To Build on Ubuntu -OS version: Ubuntu 15.10 or above +OS version: Ubuntu 22.04 or above Get dependencies: ```shell -sudo apt-get update -sudo apt-get install -y \ - jq autoconf automake build-essential git libtool libsqlite3-dev libffi-dev \ - python3 python3-pip net-tools zlib1g-dev libsodium-dev gettext lowdown -pip3 install --upgrade pip +sudo apt update +sudo ln -snf /usr/share/zoneinfo/UTC /etc/localtime && echo UTC > /etc/timezone +sudo apt install -y \ + curl autoconf jq libsecp256k1-dev libsodium-dev automake build-essential git libtool libsqlite3-dev libffi-dev python3 python3-pip net-tools zlib1g-dev gettext pkg-config libssl-dev lowdown python3-mako curl -LsSf https://astral.sh/uv/install.sh | sh ``` -After installing uv, restart your shell or run `source ~/.bashrc` to ensure `uv` is in your PATH. +After installing uv, restart your shell or run `source ~/.local/bin/env` to ensure `uv` is in your PATH. 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). ```shell -sudo apt-get install snapd +sudo apt install snapd sudo snap install bitcoin-core # Snap does some weird things with binary names; you'll # want to add a link to them so everything works as expected @@ -101,18 +100,19 @@ cd lightning Checkout a release tag: ```shell -git checkout v25.02 +git checkout v26.06 ``` For development or running tests, get additional dependencies: ```shell -sudo apt-get install -y valgrind libpq-dev shellcheck cppcheck \ - libsecp256k1-dev lowdown +sudo apt install -y valgrind libpq-dev shellcheck cppcheck ``` If you want to build the Rust plugins (cln-grpc, clnrest, cln-bip353 and wss-proxy): ```shell -sudo apt-get install -y cargo rustfmt protobuf-compiler +sudo apt install -y protobuf-compiler +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y +source ~/.cargo/env ``` > 📘