Installing Python-LLFUSE¶
Dependencies¶
In order to build and run Python-LLFUSE you need the following software:
- Linux, FreeBSD, NetBSD 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, including development headers (typically distributions provide them in a libfuse-devel or libfuse-dev package).
In case of FreeBSD and NetBSD you will need:
- The FUSE4BSD kernel module.
For OS-X, you need:
- the FUSE4X package, version 0.9.1 or newer.
Stable releases¶
Python-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 Python-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