Unix / Linux installation guide

Debian and Debian-based distributions

There are two different packages for debian depending on your python version. In order to know which version of python is installed, either type the following command in a terminal or use synaptic:

#> python --version

For version 2.5, download DFF-Py2.5-0.4.2.deb
For version 2.6, download DFF-Py2.6-0.4.2.deb

To install the package, type the following command in a shell or use synaptic.

dpkg -i DFF-Py2.X-0.4.2.deb

It will install all the dependencies required to run DFF.

RedHat and RedHat-based distributions

There are two different packages for RedHat depending on your python version. In order to know which version of python is installed, type the following command in a terminal:

#> python --version

For version 2.5, download DFF-Py2.5-0.4.2.rpm
For version 2.6, download DFF-Py2.6-0.4.2.rpm

To install the package, type the following command in a terminal:

#> rpm -i DFF-Py2.X-0.4.2.rpm

It will install all the dependencies required to run DFF.

Gentoo

No ebuild is provided for now but it will be soon available. In order to compile and run DFF you will need to install some dependencies.

#> emerge -av cmake
#> echo ">=dev-lang/swig-1.3.38" >> /etc/portage/package.keywords
#> emerge -av swig
#> echo ">=dev-python/PyQt4-4.4.4-r2" >> /etc/portage/package.keywords
#> emerge -av PyQt4
#> echo "x11-libs/qscintilla python qt4" >> /etc/portage/package.use
#> emerge -av qscintilla

Then, refer to the section Installing from sources

Installing from sources

Dedicated page to build on MacOSX.
There are two ways to obtain sources of DFF. Either you download the latest available gziped tarball in the download section or you can get the sources from the GIT repository by typing:

 git clone git://git.digital-forensic.org/dff.git 

Compilation requirements

  • Cmake
  • Swig (>= 1.3.38)
  • Python development libraries (depends on your operating system)

Some distributions does not provide the required version of swig in their repository. If it is the case, you just have to download sources of swig and then compile it:

> tar zxf swig-1.3.40.tar.gz
> cd swig-1.3.40
> ./configure
[...]
> make
[...]
> sudo make install
[...]

Compilation process of DFF

  • Based on the actual dff-0.5-src.tar.gz
> tar zxf dff-0.5-src.tar.gz
> cd dff-0.5
> cmake .   //Do not forget the dot
[...]
> make
[...]
> sudo make install
[...]
  • Based on the MASTER branch of the GIT repository

If you are going to compile DFF from the sources based on the GIT repository, you have the possibility to use another way to compile the project. It permits to distinguish build files from source files.

> git clone git://git.digital-forensic.org/dff.git dff
> cd dff
> mkdir build
> cd build
> cmake ..   //Do not forget the dotdot
[...]
> make
[...]
> sudo make install
[...]

Also available in: HTML TXT