<commit_before>Installation
============

This chapter will guide you through all the steps needed to setup Cekit on your operating system.

.. contents::

We provide RPM packages for Fedora, CentOS, RHEL distribution.
Cekit installation on other platforms is still possible via ``pip``

On RHEL derivatives we strongly suggest installing Cekit using the YUM/DNF package
manager. We provide a `COPR repository for Cekit <https://copr.fedorainfracloud.org/coprs/g/cekit/cekit/>`_
which contains everything needed to install Cekit.

.. warning::

   Make sure you read the `dependencies`_ section of this documentation which contains important
   information about how Cekit dependencies are handled!

Fedora
-------------------

Supported versions: 27+.

For Fedora we provide custom Copr repository. To enable the repository and install Cekit on your system please run:

.. code-block:: bash

    dnf install dnf-plugin-copr
    dnf copr enable @cekit/cekit
    dnf install python3-cekit

CentOS / RHEL
-------------------

Supported versions: 7.x

For RHEL / CentOS we provide custom Copr repository. To enable the repository and install
Cekit on your system please run:

.. code-block:: bash

    yum install yum-plugin-copr epel-release
    yum copr enable @cekit/cekit
    yum install python2-cekit
<commit_msg>Use curl to install COPR repo file on CentOS/RHEL<commit_after>Installation
============

This chapter will guide you through all the steps needed to setup Cekit on your operating system.

.. contents::

We provide RPM packages for Fedora, CentOS, RHEL distribution.
Cekit installation on other platforms is still possible via ``pip``

On RHEL derivatives we strongly suggest installing Cekit using the YUM/DNF package
manager. We provide a `COPR repository for Cekit <https://copr.fedorainfracloud.org/coprs/g/cekit/cekit/>`_
which contains everything needed to install Cekit.

.. warning::

   Make sure you read the `dependencies`_ section of this documentation which contains important
   information about how Cekit dependencies are handled!

Fedora
-------------------

Supported versions: 27+.

For Fedora we provide custom Copr repository. To enable the repository and install Cekit on your system please run:

.. code-block:: bash

    dnf install dnf-plugin-copr
    dnf copr enable @cekit/cekit
    dnf install python3-cekit

CentOS / RHEL
-------------------

Supported versions: 7.x

For RHEL / CentOS we provide custom Copr repository. To enable the repository and install
Cekit on your system please run:

.. code-block:: bash

    curl https://copr.fedorainfracloud.org/coprs/g/cekit/cekit/repo/epel-7/group_cekit-cekit-epel-7.repo -o /etc/yum.repos.d/cekit-epel-7.repo
    yum install python2-cekit

{'fraction_non_alphanumeric': 0.09666788722079825, 'fraction_numerical': 0.004760161113145368, 'mean_word_length': 3.500823723228995, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2186140', 'n_tokens_mistral': 813, 'n_tokens_neox': 774, 'n_words': 324}