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


Generic Installation
====================


Build-time dependencies:

* Rust_ compiler 0.12 (``rustc``)
* ``make`` (probably gnu variant)
* ``git`` (when installing from git source)

Run-time dependencies (basically none):

* ``glibc``


.. note:: Vagga uses linux_ namespaces, so works on linux system only.


Process is as simple as following::

    git submodule update --init
    make
    sudo make install


.. _Rust: http://rust.org
.. _linux: http://kernel.org


Ubuntu
======

Installing ``rustc``::

    sudo apt-add-repository ppa:hansjorg/rust
    sudo apt-get update
    sudo apt-get install rust-0.12

Building vagga::

    git clone git://github.com/tailhook/vagga
    cd vagga
    git submodule update --init
    make

Installing::

    sudo make install PREFIX=/usr

<commit_msg>Updated docs (rust-0.12 PPA doesn't work)<commit_after>============
Installation
============


Generic Installation
====================


Build-time dependencies:

* Rust_ compiler 0.12 (``rustc``)
* ``make`` (probably gnu variant)
* ``git`` (when installing from git source)

Run-time dependencies (basically none):

* ``glibc``


.. note:: Vagga uses linux_ namespaces, so works on linux system only.


Process is as simple as following::

    git submodule update --init
    make
    sudo make install


.. _Rust: http://rust.org
.. _linux: http://kernel.org


Ubuntu
======

Unfortunately rust-0.12 PPA doesn't work. You need to setup rust from
binaries::

    wget https://static.rust-lang.org/dist/rust-0.12.0-x86_64-unknown-linux-gnu.tar.gz
    tar -xf rust-0.12.0-x86_64-unknown-linux-gnu.tar.gz
    cd rust-0.12.0-x86_64-unknown-linux-gnu
    ./install.sh --prefix=/usr

Building vagga::

    git clone git://github.com/tailhook/vagga
    cd vagga
    git submodule update --init
    make

Installing::

    sudo make install PREFIX=/usr


{'fraction_non_alphanumeric': 0.165176223040505, 'fraction_numerical': 0.020515518148342977, 'mean_word_length': 3.2837837837837838, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '4187620', 'n_tokens_mistral': 677, 'n_tokens_neox': 600, 'n_words': 182}