Wiki

Clone wiki

hachoir / Install / source

Stable version (tarballs)

Download tarballs

Dependencies

  • hachoir-regex 1.0
    • (nothing)
  • hachoir-core 1.3.3
    • (nothing)
  • hachoir-parser 1.3.3
    • hachoir-core 1.3
  • hachoir-metadata 1.3.2
    • hachoir-core 1.3
    • hachoir-parser 1.3
    • 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.5
    • 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:

Another version of curses: PDCurses (Public Domain Curses).

Uncompress and run setup.py

1. Uncompress each tarball, eg. tar -xvzf hachoir-metadata-0.8.1.tar.gz 1. Go to Hachoir directory, eg. cd hachoir-metadata-0.8.1 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 (Mercurial)

The latest version of Hachoir is always in Mercurial. Instruction to install Hachoir using Mercurial is similar to an installation from source code. But instead of downloading tarballs, use:

hg clone http://bitbucket.org/haypo/hachoir/

Use "source setupenv.sh" to setup the PYTHONPATH environment variable (to use Hachoir without installation).

Windows user, use TortoiseHg to download the Mercurial source code.

Statistics about source code

Updated