doc: Update installation instruction on Fedora

This commit is contained in:
ShahanaFarooqui 2026-01-15 13:35:59 +10:30 committed by Rusty Russell
parent 4d76ec8bf7
commit daa3b06b95

View file

@ -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: