Skip to content

Commit ddece5c

Browse files
committed
docs: Fixing Ubuntu installation guide
1 parent 55617a5 commit ddece5c

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

doc/getting-started/getting-started/installation.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -70,23 +70,22 @@ You will also need a version of bitcoind with segregated witness and `estimatesm
7070

7171
## To Build on Ubuntu
7272

73-
OS version: Ubuntu 15.10 or above
73+
OS version: Ubuntu 22.04 or above
7474

7575
Get dependencies:
7676
```shell
77-
sudo apt-get update
78-
sudo apt-get install -y \
79-
jq autoconf automake build-essential git libtool libsqlite3-dev libffi-dev \
80-
python3 python3-pip net-tools zlib1g-dev libsodium-dev gettext lowdown
81-
pip3 install --upgrade pip
77+
sudo apt update
78+
sudo ln -snf /usr/share/zoneinfo/UTC /etc/localtime && echo UTC > /etc/timezone
79+
sudo apt install -y \
80+
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
8281
curl -LsSf https://astral.sh/uv/install.sh | sh
8382
```
8483

85-
After installing uv, restart your shell or run `source ~/.bashrc` to ensure `uv` is in your PATH.
84+
After installing uv, restart your shell or run `source ~/.local/bin/env` to ensure `uv` is in your PATH.
8685

8786
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).
8887
```shell
89-
sudo apt-get install snapd
88+
sudo apt install snapd
9089
sudo snap install bitcoin-core
9190
# Snap does some weird things with binary names; you'll
9291
# want to add a link to them so everything works as expected
@@ -101,18 +100,19 @@ cd lightning
101100

102101
Checkout a release tag:
103102
```shell
104-
git checkout v25.02
103+
git checkout v26.06
105104
```
106105

107106
For development or running tests, get additional dependencies:
108107
```shell
109-
sudo apt-get install -y valgrind libpq-dev shellcheck cppcheck \
110-
libsecp256k1-dev lowdown
108+
sudo apt install -y valgrind libpq-dev shellcheck cppcheck
111109
```
112110

113111
If you want to build the Rust plugins (cln-grpc, clnrest, cln-bip353 and wss-proxy):
114112
```shell
115-
sudo apt-get install -y cargo rustfmt protobuf-compiler
113+
sudo apt install -y protobuf-compiler
114+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
115+
source ~/.cargo/env
116116
```
117117

118118
> 📘

0 commit comments

Comments
 (0)