doc: Update installation instruction on Fedora
What changed, and why it matters
This commit only updates the user documentation for installing Core Lightning on Fedora. It changes the recommended Fedora version from 27 to 39 and adds a few required build dependencies and tools (Rust, lowdown, PostgreSQL development files, etc.). There is no code change and no security issue in the commit itself.
No security action needed. Treat as a normal 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. It updates the minimum supported Fedora version and expands the dnf install list to include which, sed, protobuf-compiler, protobuf-devel, and postgresql-devel. It also adds instructions to install Rust via rustup and to compile lowdown from source. No source code, build scripts, cryptographic logic, or network handling is changed.
Changed components
doc/getting-started/getting-started/installation.mdInspect captured patch +27 / −2
diff --git a/doc/getting-started/getting-started/installation.md b/doc/getting-started/getting-started/installation.md
index 4a106c67..692c72d9 100644
--- a/doc/getting-started/getting-started/installation.md
+++ b/doc/getting-started/getting-started/installation.md
@@ -152,7 +152,7 @@ bitcoind &
## To Build on Fedora
-OS version: Fedora 27 or above
+OS version: Fedora 39 or above
Get dependencies:
```shell
@@ -174,10 +174,35 @@ sudo dnf update -y && \
wget \
jq \
zlib-devel \
- libsodium-devel && \
+ libsodium-devel \
+ which \
+ sed \
+ protobuf-compiler \
+ protobuf-devel \
+ postgresql-devel && \
sudo dnf clean all
```
+Install Rust via rustup (required for Cargo lockfile v4 support):
+```shell
+curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
+source $HOME/.cargo/env
+```
+
+Install lowdown (for documentation generation):
+```shell
+cd /tmp && \
+wget https://github.com/kristapsdz/lowdown/archive/refs/tags/VERSION_1_0_2.tar.gz && \
+tar -xzf VERSION_1_0_2.tar.gz && \
+cd lowdown-VERSION_1_0_2 && \
+./configure && \
+make && \
+sudo make install && \
+sudo ldconfig && \
+cd ~ && \
+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:
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.