-
Notifications
You must be signed in to change notification settings - Fork 1k
docs: Fixing Ubuntu installation guide #9188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
ddece5c
0545037
8f7ebb7
24b38f7
d2b1cb8
84a3b8b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
|
ScuttoZ marked this conversation as resolved.
Outdated
|
||
| source ~/.cargo/env | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should not be necessary when installing programs from apt since they are installed to paths already in PATH, right?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah you're right, that slipped |
||
| ``` | ||
|
|
||
| > 📘 | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.