<commit_before>
***************
Getting started
***************

============
Installation
============

MacOS X
-------

* Download `yacas-1.3.6-Darwin.dmg <http://sourceforge.net/projects/yacas/files/yacas-binary/yacas-1.3.6-Darwin.dmg/download>`_
* Double-click the file to open it

Microsoft Windows
-----------------

* Depending on the version you use, download
    * `yacas-1.3.6-win64.exe <http://sourceforge.net/projects/yacas/files/yacas-binary/yacas-1.3.6-win64.exe/download>`_ (Windows 7 or newer, 64 bit)
    * `yacas-1.3.6-win32.exe <http://sourceforge.net/projects/yacas/files/yacas-binary/yacas-1.3.6-win32.exe/download>`_ (Windows 7 or newer, 32 bit)
    * `yacas-1.3.6-winxp.exe <http://sourceforge.net/projects/yacas/files/yacas-binary/yacas-1.3.6-winxp.exe/download>`_ (Windows XP)
* Run the downloaded installator program, which will guide you through the installation process

Alternatively, download `yacas-1.3.6-win64.zip <http://sourceforge.net/projects/yacas/files/yacas-binary/yacas-1.3.6-win64.zip/download>`_
and unpack it. Then, you can run yacas by executing yacas.exe from the bin subdirectory. This method, while not recommended , allows
one to use yacas without having to install it system-wide.

.. _installation_linux:

Linux
-----



=========================
Installation from sources
=========================

Getting sources
---------------

Either download `yacas-1.3.6.tar.gz <http://sourceforge.net/projects/yacas/files/yacas-source/1.3/yacas-1.3.6.tar.gz/download>`_
and unpack it or 

Compilation
-----------

MacOS X
~~~~~~~

Microsoft Windows
~~~~~~~~~~~~~~~~~

Linux
~~~~~

    mkdir build
    cd build
    cmake ..
    make

To install newly built binaries either make install or build the binary packages using make package and `install it <install_linux>`_<commit_msg>update installation instructions<commit_after>
***************
Getting started
***************

============
Installation
============

MacOS X
-------
* Download `yacas-1.4.0-Darwin.dmg
  <https://github.com/grzegorzmazur/yacas/releases/download/v1.4.0/yacas-1.4.0-Darwin.dmg>`_
  from `<https://github.com/grzegorzmazur/yacas/releases/>`_
* Double-click the file to open it

Microsoft Windows
-----------------
* Depending on the Microsoft Windows version you use, download
  
  * `yacas-1.4.0-win64.exe
    <https://github.com/grzegorzmazur/yacas/releases/download/v1.4.0/yacas-1.4.0-win64.exe>`_
    (Windows 7 or newer, 64 bit)
  * `yacas-1.4.0-win32.exe
    <https://github.com/grzegorzmazur/yacas/releases/download/v1.4.0/yacas-1.4.0-win32.exe>`_
    (Windows 7 or newer, 32 bit)
  * `yacas-1.4.0-winxp.exe <https://github.com/grzegorzmazur/yacas/releases/download/v1.4.0/yacas-1.4.0-winxp.exe>`_ (Windows XP)

  from `<https://github.com/grzegorzmazur/yacas/releases/>`_
* Run the downloaded installator program, which will guide you through the installation process

Alternatively, download either `yacas-1.4.0-win64.zip
<https://github.com/grzegorzmazur/yacas/releases/download/v1.4.0/yacas-1.4.0-win64.zip/download>`_
or `yacas-1.4.0-win32.zip
<https://github.com/grzegorzmazur/yacas/releases/download/v1.4.0/yacas-1.4.0-win32.zip/download>`_
and unpack it. Then, you can run yacas by executing ``yacas.exe`` from
the ``bin`` subdirectory. This method, while not recommended, allows
one to use yacas without having to install it system-wide.

Ubuntu
------
* Download `yacas-1.4.0-1_amd64.deb
  <https://github.com/grzegorzmazur/yacas/releases/download/v1.4.0/yacas-1.4.0-1_amd64.deb>`_
  from `<https://github.com/grzegorzmazur/yacas/releases/>`_
* Double-click the file to open it in Ubuntu Software Center and click
  the :guilabel:`Install` button

=========================
Installation from sources
=========================

Getting sources
---------------

Version 1.4.0 can be downloaded from
`<https://github.com/grzegorzmazur/yacas/archive/v1.4.0.zip>`_ or
`<https://github.com/grzegorzmazur/yacas/archive/v1.4.0.tar.gz>`_,
while the current development version is accessible from
`<https://github.com/grzegorzmazur/yacas/archive/master.zip>`_.

Compilation
-----------

MacOS X
~~~~~~~

* open ``Terminal`` window
* change directory to the yacas source directory
* execute

  .. code-block:: bash
                
     mkdir build
     cd build
     cmake -G Xcode ..
                  
* open generated project in ``Xcode``

Microsoft Windows
~~~~~~~~~~~~~~~~~

* open ``Command Prompt`` window
* change directory to the yacas source directory
* execute

  .. code-block:: bat
                
     mkdir build
     cd build
     cmake -G "Visual Studio 14 2015 Win64" ..

* open generated project in ``Visual Studio``

Linux
~~~~~

* open ``Terminal`` window
* change directory to the yacas source directory
* execute

  .. code-block:: bash
                
     mkdir build
     cd build
     cmake ..
     make

* to install newly built binaries either ``make install`` or build the
  binary package using ``make package`` and install it

Java
~~~~
* open ``Terminal`` or ``Command Prompt`` window
* change directory to the yacas source directory
* execute ``ant jar``
{'fraction_non_alphanumeric': 0.18862392494136043, 'fraction_numerical': 0.03205629397967162, 'mean_word_length': 3.3511904761904763, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 13, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 26, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2212582', 'n_tokens_mistral': 1919, 'n_tokens_neox': 1781, 'n_words': 403}