Skip to content

Commit daa3b06

Browse files
ShahanaFarooquirustyrussell
authored andcommitted
doc: Update installation instruction on Fedora
1 parent 4d76ec8 commit daa3b06

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

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

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ bitcoind &
152152

153153
## To Build on Fedora
154154

155-
OS version: Fedora 27 or above
155+
OS version: Fedora 39 or above
156156

157157
Get dependencies:
158158
```shell
@@ -174,10 +174,35 @@ sudo dnf update -y && \
174174
wget \
175175
jq \
176176
zlib-devel \
177-
libsodium-devel && \
177+
libsodium-devel \
178+
which \
179+
sed \
180+
protobuf-compiler \
181+
protobuf-devel \
182+
postgresql-devel && \
178183
sudo dnf clean all
179184
```
180185

186+
Install Rust via rustup (required for Cargo lockfile v4 support):
187+
```shell
188+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
189+
source $HOME/.cargo/env
190+
```
191+
192+
Install lowdown (for documentation generation):
193+
```shell
194+
cd /tmp && \
195+
wget https://github.com/kristapsdz/lowdown/archive/refs/tags/VERSION_1_0_2.tar.gz && \
196+
tar -xzf VERSION_1_0_2.tar.gz && \
197+
cd lowdown-VERSION_1_0_2 && \
198+
./configure && \
199+
make && \
200+
sudo make install && \
201+
sudo ldconfig && \
202+
cd ~ && \
203+
rm -rf /tmp/VERSION_1_0_2.tar.gz /tmp/lowdown-VERSION_1_0_2
204+
```
205+
181206
Make sure you have [bitcoind](https://github.com/bitcoin/bitcoin) available to run.
182207

183208
Clone lightning:

0 commit comments

Comments
 (0)