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

FPM requires a few things before you can use it. This document will show you
how to install all the necessary things :)

Depending on what you want to do with FPM, you might need some extra things installed (like tooling to build rpms, or solaris packages, or something else), but for now, let's just get ruby so we can start using fpm!

Installing things FPM needs
--------------

.. warning::
  This section may be imperfect due to the inconsistencies across OS vendors

fpm is written in Ruby, you'll need to provide Ruby. Some operating systems,
like OSX, come with Ruby already, but some do not. Depending on your operating system, you might need to run the following commands:

On OSX/macOS::

    brew install gnu-tar

On Red Hat systems (Fedora 22 or older, CentOS, etc)::

    yum install ruby-devel gcc make rpm-build

On Fedora 23 or newer::

    dnf install ruby-devel gcc make rpm-build

On Debian-derived systems (Debian, Ubuntu, etc)::

    apt-get install ruby ruby-dev rubygems build-essentials
<commit_msg>docs/installing: Fix build deps on Debian-derived systems (#1321)<commit_after>Installation
============

FPM requires a few things before you can use it. This document will show you
how to install all the necessary things :)

Depending on what you want to do with FPM, you might need some extra things installed (like tooling to build rpms, or solaris packages, or something else), but for now, let's just get ruby so we can start using fpm!

Installing things FPM needs
--------------

.. warning::
  This section may be imperfect due to the inconsistencies across OS vendors

fpm is written in Ruby, you'll need to provide Ruby. Some operating systems,
like OSX, come with Ruby already, but some do not. Depending on your operating system, you might need to run the following commands:

On OSX/macOS::

    brew install gnu-tar

On Red Hat systems (Fedora 22 or older, CentOS, etc)::

    yum install ruby-devel gcc make rpm-build

On Fedora 23 or newer::

    dnf install ruby-devel gcc make rpm-build

On Debian-derived systems (Debian, Ubuntu, etc)::

    apt-get install ruby ruby-dev rubygems build-essential

{'fraction_non_alphanumeric': 0.076042143838754, 'fraction_numerical': 0.005497022446174988, 'mean_word_length': 3.7685589519650655, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '3174911', 'n_tokens_mistral': 649, 'n_tokens_neox': 577, 'n_words': 327}