Skip to content

Commit 14d5baa

Browse files
committed
README: add CentOS Stream 9 & 10, rm 8
Remove outdated RHEL/CentOS 8 build instructions. Add RHEL/CentOS Stream 9 and 10. Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent bb7c4fe commit 14d5baa

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

Diff for: README.md

+18-15
Original file line numberDiff line numberDiff line change
@@ -56,31 +56,34 @@ These dependencies are required for the build:
5656
### Fedora
5757

5858
```console
59-
$ sudo dnf install -y make python git gcc automake autoconf libcap-devel \
60-
systemd-devel yajl-devel libseccomp-devel pkg-config \
61-
go-md2man glibc-static python3-libmount libtool
59+
$ sudo dnf install -y \
60+
autoconf automake gcc git-core glibc-static go-md2man \
61+
libcap-devel libseccomp-devel libtool make pkg-config \
62+
python python-libmount systemd-devel yajl-devel
6263
```
6364

64-
### RHEL/CentOS 8
65+
### RHEL/CentOS Stream 9
6566

6667
```console
67-
$ sudo yum --enablerepo='*' --disablerepo='media-*' install -y make automake \
68-
autoconf gettext \
69-
libtool gcc libcap-devel systemd-devel yajl-devel \
70-
glibc-static libseccomp-devel python36 git
68+
$ sudo dnf config-manager --set-enabled crb
69+
$ sudo dnf install -y \
70+
autoconf automake gcc git-core glibc-static go-md2man \
71+
libcap-devel libseccomp-devel libtool make pkg-config \
72+
python python-libmount systemd-devel yajl-devel
7173
```
7274

73-
go-md2man is not available on RHEL/CentOS 8, so if you'd like to build
74-
the man page, you also need to manually install go-md2man. It can be
75-
installed with:
75+
### RHEL/CentOS Stream 10
7676

7777
```console
78-
$ sudo yum --enablerepo='*' install -y golang
79-
$ export GOPATH=$HOME/go
80-
$ go get github.com/cpuguy83/go-md2man
81-
$ export PATH=$PATH:$GOPATH/bin
78+
$ sudo dnf config-manager --set-enabled crb
79+
$ sudo dnf install -y \
80+
autoconf automake gcc git-core glibc-static go-md2man \
81+
libcap-devel libseccomp-devel libtool make pkg-config \
82+
python python-libmount systemd-devel
8283
```
8384

85+
NOTE that you need to add `--enable-embedded-yajl` to `./configure` flags below.
86+
8487
### Ubuntu
8588

8689
```console

0 commit comments

Comments
 (0)