Skip to content

Commit b73fb43

Browse files
committed
[#396] List libatomic on the requirements list
Improve the documentation listing `libatomic`, a possible way to install all the dependencies on Rocky Linux and provides some instructions for enabling `crb` so to install `rst2man`. Close #396
1 parent 981b4ff commit b73fb43

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,29 @@ See [Architecture](./doc/ARCHITECTURE.md) for the architecture of `pgagroal`.
6868
* [OpenSSL](http://www.openssl.org/)
6969
* [systemd](https://www.freedesktop.org/wiki/Software/systemd/)
7070
* [rst2man](https://docutils.sourceforge.io/)
71+
* [libatomic](https://gcc.gnu.org/wiki/Atomic)
72+
73+
On Rocky Linux (and similar) operating systems, the dependencies
74+
can be installed via `dnf(8)` as follows:
75+
76+
```sh
77+
dnf install git gcc cmake make \
78+
libev libev-devel \
79+
openssl openssl-devel \
80+
systemd systemd-devel \
81+
python3-docutils \
82+
libatomic
83+
```
84+
85+
Please note that, on Rocky Linux, in order to install the `python3-docutils`
86+
package (that provides `rst2man` executable), you need to enable the `crb` repository:
7187

7288
```sh
73-
dnf install git gcc cmake make libev libev-devel openssl openssl-devel systemd systemd-devel python3-docutils
89+
dnf config-manager --set-enabled crb
7490
```
7591

76-
Alternative [clang 8+](https://clang.llvm.org/) can be used.
92+
93+
Alternatively to GCC, [clang 8+](https://clang.llvm.org/) can be used.
7794

7895
### Release build
7996

0 commit comments

Comments
 (0)