anchor.diff:  * libxslt-devel
   * libtool
   * perl-XML-XPath
  -
  ++
   (some of these are optional, if they are not detected, openscap will be compiled
   without respective optional features). On RHEL / Fedora / CentOS, the command to
   install these packages is:
  
positive.code:  libgcrypt-devel libselinux-devel libxml2-devel libxslt-devel make openldap-devel \
   pcre-devel perl-XML-Parser perl-XML-XPath perl-devel python-devel rpm-devel swig \
   bzip2-devel gcc-c++
  
  On Ubuntu 16.04 the command to install these package is
  
   sudo apt-get install -y autoconf automake libtool make libdbus-1-dev libdbus-glib-1-dev libcurl4-openssl-dev libgcrypt20-dev libselinux1-dev libxslt1-dev libgconf2-dev libacl1-dev libblkid-dev libcap-dev libxml2-dev libldap2-dev libpcre3-dev python-dev swig libxml-parser-perl libxml-xpath-perl libperl5.22 libbz2-dev librpm-dev g++
  
  When you have all the build dependencies installed you can build the library:
  
  3) Run the following commands to build the library.
  
   $ cd build/
   $ cmake ../
   $ make
  
  
  4) After building the library you might want to run library self-checks. To do
  that you need to have these additional packages installed:
  
   wget lua which procps-ng initscripts chkconfig sendmail
  
  and it is also required to have `sendmail` service running on the system:
  
   $ systemctl start sendmail.service
  
  Now you can execute the following command to run library self-checks:
  
   $ ctest
  
  Note: If you want to run `make distcheck` you will also need to install
  `asciidoctor`. You can either install `rubygem-asciidoctor` package (available
  on Fedora), or you can install `rubygems` package and then run
  `gem install asciidoctor`.
  
  It's also possible to use the make check to test any other oscap binary present in the system. You just have to set the path of the binary to the CUSTOM_OSCAP variable:
  
   $ export CUSTOM_OSCAP=/usr/bin/oscap; make test
  
  Not every check tests the oscap tool, however, when the CUSTOM_OSCAP variable is set, only the checks which do are executed.
  
  
  5) Run the installation procedure by executing the following command:
  
   $ make install
  
  
negative.code: If you want to build the ```libopenscap``` library and the ```oscap``` tool from
  the {oscap_git}[source code] then follow these instructions:
  
  . Get the source code
  +
  Choose *1a* or *1b* depending on whether you want sources from a release tarball or the git repository.
  
  .. Use a release tarball:
  
   # replace ${version} with the desired version
   wget https://github.com/OpenSCAP/openscap/releases/download/${version}/openscap-${version}.tar.gz
   tar -xzpf openscap-${version}.tar.gz
   cd openscap-${version}
  +
  **OR**
  
  .. Use fresh sources from git repository.
  
   $ git clone https://github.com/OpenSCAP/openscap.git
   $ cd openscap
  +
  NOTE: The *cmake* tools are required to be installed on your system.
  
  . To build the library you will also need the following build dependencies.
  +
  Build dependencies may vary depending on enabled features (by the ```cmake``` command).
  By default, you need the following packages installed on your system:
  +
  * swig
  * libxml2-devel
  * rpm-devel
  