1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
===================
Installing LLFUSE
===================
.. highlight:: sh
Dependencies
============
In order to build and run LLFUSE you need the following software:
* Linux, FreeBSD or MacOS X system
* Python_ 2.6 or newer (including Python 3.x), installed with
development headers
* The `setuptools`_ Python module, version 1.0 or newer.
* the `pkg-config`_ tool
* the `attr`_ library
* A C compiler (only for building)
When using Linux, you also need:
* Kernel 2.6.9 or newer. Starting with kernel
2.6.26 you will get significantly better write performance, so under
Linux you should actually use *2.6.26 or newer whenever possible*.
* Version 2.8.0 or newer of the FUSE_ library.
In case of FreeBSD, you will need:
* The FUSE4BSD_ kernel module.
For OS-X, you need:
* the FUSE4X_ package, version 0.9.1 or newer.
Stable releases
===============
LLFUSE can be installed like any other Python extension. Make sure
that you have all necessary dependencies installed (when installing
packages from a distribution, make sure to also install the
corresponding *-dev* or *-devel* development packages), then download
and extract the LLFUSE tarball and run ::
sudo python setup.py install
or ::
python setup.py install --user
Development Version
===================
If you have checked out the unstable development version from the
Mercurial repository, a bit more effort is required. You need to also
have Cython_ (0.16 or newer) and Sphinx_ (1.1 or newer) installed, and
the necessary commands are::
python setup.py build_cython
python setup.py build_ext --inplace
python setup.py build_sphinx
python setup.py install
.. _Cython: http://www.cython.org/
.. _Sphinx: http://sphinx.pocoo.org/
.. _Python: http://www.python.org/
.. _FUSE: http://fuse.sourceforge.net/
.. _attr: http://savannah.nongnu.org/projects/attr/
.. _`pkg-config`: http://www.freedesktop.org/wiki/Software/pkg-config
.. _FUSE4BSD: http://www.freshports.org/sysutils/fusefs-kmod/
.. _FUSE4X: http://fuse4x.org/
.. _setuptools: https://pypi.python.org/pypi/setuptools
|