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

.. _user-getblender:

Install Blender
---------------

Windows
~~~~~~~

.. warning::

   The recommended procedure for installing concurrently with the
   old 2.49b version of blender is:

   1. Uninstall all versions of blender that you have installed already
      (2.4x *and* 2.5x versions):

      * Uninstall them via the control panel.

      * Just to make sure,
        search your ``Program Files`` folder for any traces of Blender
        and wipe them out.

   2. Download the 
      `old blender 2.49b .exe installer
      <http://download.blender.org/release/Blender2.49b/blender-2.49b-windows.exe>`_
      and install it **in a non-default folder**, such as
      ``C:\Program Files\Blender Foundation\Blender 2.49b``.

   3. Install the `old blender nif scripts
      <http://sourceforge.net/projects/niftools/files/blender_nif_scripts/2.5.x/>`_.

   4. Install the latest version of blender, as described below.

Download the
`blender .exe installer <http://www.blender.org/download/get-blender/>`_
for your platform (32-bit or 64-bit; if unsure, pick the 32-bit version)
and follow the instructions.

Fedora
~~~~~~

For Fedora 16 and up, Blender 2.5x is available via yum::

  sudo yum install blender

For Fedora 15, first `setup a development environment
<http://fedoraproject.org/wiki/How_to_create_an_RPM_package>`_::

  sudo yum groupinstall "Development Tools" -y
  sudo yum install rpmdevtools -y
  rpmdev-setuptree

Then, clone the spec file, install the sources, install the build
dependencies, and kick off an rpm build::

  git clone git://pkgs.fedoraproject.org/blender
  cd blender
  cp * ~/rpmbuild/SOURCES/
  wget http://download.blender.org/source/blender-2.59.tar.gz
  mv blender-2.59.tar.gz ~/rpmbuild/SOURCES/
  cat blender.spec | grep ^BuildRequires | gawk '{ print $2 }' | xargs sudo yum install -y
  rpmbuild -ba blender.spec

Building blender takes a long time. When the build is finished,
install the rpm::

  sudo yum localinstall ~/rpmbuild/RPMS/x86_64/blender-2.59-1.fc15.x86_64.rpm

.. warning::

   The package upgrades Blender 2.49b, so if you had it installed
   previously, it will no longer be available. Do::

     sudo yum erase blender
     sudo yum install blender

   to get your old Blender 2.49b back.

Install PyFFI
-------------

.. warning::

   This section is a stub, pyffi for py3k isn't released yet.

1. Download the `pyffi .exe release
   <http://sourceforge.net/projects/pyffi/files/pyffi-py3k/>`_.
<commit_msg>Updated Fedora 15 instructions for Blender 2.60.<commit_after>Installation
============

.. _user-getblender:

Install Blender
---------------

Windows
~~~~~~~

.. warning::

   The recommended procedure for installing concurrently with the
   old 2.49b version of blender is:

   1. Uninstall all versions of blender that you have installed already
      (2.4x *and* 2.5x versions):

      * Uninstall them via the control panel.

      * Just to make sure,
        search your ``Program Files`` folder for any traces of Blender
        and wipe them out.

   2. Download the 
      `old blender 2.49b .exe installer
      <http://download.blender.org/release/Blender2.49b/blender-2.49b-windows.exe>`_
      and install it **in a non-default folder**, such as
      ``C:\Program Files\Blender Foundation\Blender 2.49b``.

   3. Install the `old blender nif scripts
      <http://sourceforge.net/projects/niftools/files/blender_nif_scripts/2.5.x/>`_.

   4. Install the latest version of blender, as described below.

Download the
`blender .exe installer <http://www.blender.org/download/get-blender/>`_
for your platform (32-bit or 64-bit; if unsure, pick the 32-bit version)
and follow the instructions.

Fedora
~~~~~~

For Fedora 16 and up, Blender 2.5x is available via yum::

  sudo yum install blender

For Fedora 15, first `setup a development environment
<http://fedoraproject.org/wiki/How_to_create_an_RPM_package>`_::

  sudo yum groupinstall "Development Tools" -y
  sudo yum install rpmdevtools -y
  rpmdev-setuptree

Then, clone the spec file, install the sources, install the build
dependencies, and kick off an rpm build::

  git clone git://pkgs.fedoraproject.org/blender
  cd blender
  cp * ~/rpmbuild/SOURCES/
  wget http://download.blender.org/source/blender-2.60.tar.gz
  mv blender-2.60.tar.gz ~/rpmbuild/SOURCES/
  cat blender.spec | grep ^BuildRequires | gawk '{ print $2 }' | xargs sudo yum install -y
  rpmbuild -ba blender.spec

Building blender takes a long time. When the build is finished,
install the rpm::

  sudo yum localinstall ~/rpmbuild/RPMS/x86_64/blender-2.60-1.fc15.x86_64.rpm

.. warning::

   The package upgrades Blender 2.49b, so if you had it installed
   previously, it will no longer be available. Do::

     sudo yum erase blender
     sudo yum install blender

   to get your old Blender 2.49b back.

Install PyFFI
-------------

.. warning::

   This section is a stub, pyffi for py3k isn't released yet.

1. Download the `pyffi .exe release
   <http://sourceforge.net/projects/pyffi/files/pyffi-py3k/>`_.

{'fraction_non_alphanumeric': 0.1123152709359606, 'fraction_numerical': 0.027389162561576353, 'mean_word_length': 3.1101214574898783, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 14, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '880583', 'n_tokens_mistral': 1815, 'n_tokens_neox': 1604, 'n_words': 560}