Skip to content

Commit

Permalink
docs: Fix build dependencies list for newer distributions
Browse files Browse the repository at this point in the history
  • Loading branch information
evgenyz committed Jul 18, 2019
1 parent b0362cc commit e8b5e34
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion docs/developer/developer.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Build dependencies may vary depending on enabled features (by the `cmake` comman
Some of the dependencies are optional, if they are not detected, openscap will be compiled
without respective optional features.

On RHEL / Fedora / CentOS, the command to install the build dependencies is:
On RHEL 7 / Fedora 23 / CentOS 7, the command to install the build dependencies is:

----
sudo yum install \
Expand All @@ -55,6 +55,26 @@ pcre-devel perl-XML-Parser perl-XML-XPath perl-devel python-devel rpm-devel swig
bzip2-devel gcc-c++
----

On Fedora 24+, the command to install the build dependencies is:

----
sudo yum install \
cmake dbus-devel GConf2-devel libacl-devel libblkid-devel libcap-devel libcurl-devel \
libgcrypt-devel libselinux-devel libxml2-devel libxslt-devel libattr-devel make openldap-devel \
pcre-devel perl-XML-Parser perl-XML-XPath perl-devel python3-devel rpm-devel swig \
bzip2-devel gcc-c++
----

On RHEL 8 / CentOS 8, the command to install the build dependencies is:

----
sudo yum install \
cmake dbus-devel libacl-devel libblkid-devel libcap-devel libcurl-devel \
libgcrypt-devel libselinux-devel libxml2-devel libxslt-devel libattr-devel make openldap-devel \
pcre-devel perl-XML-Parser perl-XML-XPath perl-devel python36-devel rpm-devel swig \
bzip2-devel gcc-c++
----

On Ubuntu 16.04, the command to install the build dependencies is:

----
Expand Down

0 comments on commit e8b5e34

Please sign in to comment.