docs: fixing Fedora installation
What changed, and why it matters
This commit only updates the Fedora installation instructions in the documentation. It changes command syntax, adds required build dependencies (openssl, openssl-devel, uv), bumps the example release tag, and switches the build instructions to use the uv Python package manager. There is no code change and no security issue.
No security action needed. Treat as routine documentation update.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies doc/getting-started/getting-started/installation.md only. It updates dnf groupinstall to group install for dnf4/dnf5 compatibility, adds openssl/openssl-devel and uv installation steps, bumps the checkout tag from v24.05 to v26.04, and replaces the plain make invocation with uv sync and uv run make. These are documentation/build-instruction maintenance changes.
Changed components
doc/getting-started/getting-started/installation.mdInspect captured patch +15 / −6
diff --git a/doc/getting-started/getting-started/installation.md b/doc/getting-started/getting-started/installation.md
index 0bfbed54..29e7627e 100644
--- a/doc/getting-started/getting-started/installation.md
+++ b/doc/getting-started/getting-started/installation.md
@@ -157,7 +157,7 @@ OS version: Fedora 39 or above
Get dependencies:
```shell
sudo dnf update -y && \
- sudo dnf groupinstall -y \
+ sudo dnf group install -y \
'c-development' \
'development-tools' && \
sudo dnf install -y \
@@ -178,7 +178,9 @@ sudo dnf update -y && \
which \
sed \
postgresql-devel \
- python3-mako && \
+ python3-mako \
+ openssl \
+ openssl-devel && \
sudo dnf clean all
```
@@ -188,6 +190,12 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
```
+Install uv (Python package manager, used by the build):
+```shell
+curl -LsSf https://astral.sh/uv/install.sh | sh
+export PATH="$HOME/.local/bin:$PATH"
+```
+
Install lowdown (for documentation generation):
```shell
cd /tmp && \
@@ -204,7 +212,7 @@ rm -rf /tmp/VERSION_1_0_2.tar.gz /tmp/lowdown-VERSION_1_0_2
Make sure you have [bitcoind](https://github.com/bitcoin/bitcoin) available to run.
-Clone lightning:
+Clone lightning (including submodules):
```shell
git clone https://github.com/ElementsProject/lightning.git
cd lightning
@@ -212,14 +220,15 @@ cd lightning
Checkout a release tag:
```shell
-git checkout v24.05
+git checkout v26.04
```
Build and install lightning:
```shell
+uv sync --all-extras --all-groups --frozen
./configure
-make
-sudo make install
+RUST_PROFILE=release uv run make -j$(nproc)
+sudo RUST_PROFILE=release make install
```
Running lightning (mainnet):
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.