Stable version (tarballs)
Download tarballs
- hachoir-core-1.2.1.tar.gz
- hachoir-parser-1.2.1.tar.gz
- hachoir-metadata-1.2.1.tar.gz
- hachoir-urwid-1.1.tar.gz
- hachoir-wx-0.3.tar.gz
- hachoir-subfile-0.5.3.tar.gz
- hachoir-regex-1.0.3.tar.gz
Dependencies
- hachoir-regex 1.0
- (nothing)
- hachoir-core 1.2.1
- (nothing)
- hachoir-parser 1.2.1
- hachoir-core 1.2.1
- hachoir-metadata 1.2.1
- hachoir-core 1.2.1
- hachoir-parser 1.2.1
- optional: profiler module of Python
- hachoir-urwid 1.1
- hachoir-core 1.2
- hachoir-parser 1.0
- urwid 0.9.4
- optional: profiler module of Python
- hachoir-wx 0.3
- hachoir-core 1.2
- hachoir-parser 0.7
- wxPython with Unicode support (2.6.3+ or 2.7.2+)
- hachoir-subfile 0.5.3
- hachoir-core 1.1
- hachoir-parser 1.1
- hachoir-regex 1.0.2
- optional: profiler module of Python
Notes for Windows user (urwid)
If you want to use hachoir-urwid program, follow these instructions.
hachoir-urwid requires urwid library, but urwid requires curses Python module but also small patches for urwid:
- Patch from Gottfried Ganßauge
- wcurses (curses of AdamV), for Python 2.5, download curses-python2.5-win32 => decompress curses/ directory in Hachoir directory
Another version of curses: PDCurses (Public Domain Curses).
Uncompress and run setup.py
- Uncompress each tarball, eg. tar -xvzf hachoir-metadata-0.8.1.tar.gz
- Go to Hachoir directory, eg. cd hachoir-metadata-0.8.1
- (with administrator privileges) Run setup.py: python setup.py install
Install without administrator privileges
If you don't have administrator privileges, you install Hachoir in your home. Use same instruction than above but instead of running setup.py directory, use:
DIR=$HOME/hachoir ./setup.py install --install-script=$DIR --install-purelib=$DIR
Developer version (SubVersion)
The latest version of Hachoir is always in Subversion. Instruction to install Hachoir using Subversion is similar to an installation from source code. But instead of downloading tarballs, use:
# hachoir libraries svn co http://hachoir.org/svn/trunk/hachoir-core svn co http://hachoir.org/svn/trunk/hachoir-parser # programs svn co http://hachoir.org/svn/trunk/hachoir-urwid svn co http://hachoir.org/svn/trunk/hachoir-metadata svn co http://hachoir.org/svn/trunk/hachoir-wx # experimental programs/libraries svn co http://hachoir.org/svn/trunk/hachoir-regex # needed by hachoir-subfile svn co http://hachoir.org/svn/trunk/hachoir-subfile svn co http://hachoir.org/svn/trunk/hachoir-editor # needed by hachoir-strip svn co http://hachoir.org/svn/trunk/hachoir-tools # hachoir-grep, hachoir-strip, ... # correct path for all modules for i in hachoir-*; do export PYTHONPATH=$PYTHONPATH:`pwd`/$i; done
Windows user, use TortoiseSVN to download Subversion source code.