doc/INSTALL.md: fix up Fedora instructions.

We need sudo on all the commands, and we have more dependencies (esp. if
we want to do development).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2018-06-21 11:27:39 +09:30 committed by Christian Decker
parent 14a5cbb820
commit 1fc9770cfe

View file

@ -75,10 +75,11 @@ OS version: Fedora 27 or above
Get dependencies:
```
$ sudo dnf update -y && \
dnf groupinstall -y \
sudo dnf groupinstall -y \
'C Development Tools and Libraries' \
'Development Tools' && \
dnf install -y \
sudo dnf install -y \
asciidoc \
clang \
gmp-devel \
libsq3-devel \
@ -89,8 +90,9 @@ $ sudo dnf update -y && \
net-tools \
net-tools \
valgrind \
wget && \
dnf clean all
wget \
zlib-devel && \
sudo dnf clean all
```
Make sure you have [bitcoind](https://github.com/bitcoin/bitcoin) available to run