Skip to content

Commit

Permalink
[#396] List libatomic on the requirements list
Browse files Browse the repository at this point in the history
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
  • Loading branch information
fluca1978 committed Feb 8, 2024
1 parent 981b4ff commit b73fb43
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,29 @@ See [Architecture](./doc/ARCHITECTURE.md) for the architecture of `pgagroal`.
* [OpenSSL](http://www.openssl.org/)
* [systemd](https://www.freedesktop.org/wiki/Software/systemd/)
* [rst2man](https://docutils.sourceforge.io/)
* [libatomic](https://gcc.gnu.org/wiki/Atomic)

On Rocky Linux (and similar) operating systems, the dependencies
can be installed via `dnf(8)` as follows:

```sh
dnf install git gcc cmake make \
libev libev-devel \
openssl openssl-devel \
systemd systemd-devel \
python3-docutils \
libatomic
```

Please note that, on Rocky Linux, in order to install the `python3-docutils`
package (that provides `rst2man` executable), you need to enable the `crb` repository:

```sh
dnf install git gcc cmake make libev libev-devel openssl openssl-devel systemd systemd-devel python3-docutils
dnf config-manager --set-enabled crb
```

Alternative [clang 8+](https://clang.llvm.org/) can be used.

Alternatively to GCC, [clang 8+](https://clang.llvm.org/) can be used.

### Release build

Expand Down

0 comments on commit b73fb43

Please sign in to comment.