You must have python installed (at least version 1.5.2 is recommended).

debian(potato) users:
  type dpkg-buildpackage -rfakeroot in this directory
  dpkg -i ../pydf*deb

others:
  edit first line of pydf to point to your python interpreter,
  copy pydf somewhere into your path, 
  copy pydf.1 where your manpages reside (e.g. /usr/local/man/man1)
  and copy pydfrc into /etc/pydfrc, or ~/.pydfrc
  If you have older ( <1.5.2 ) python interpreter without os.statvfs 
    function, you need to install my statfs program 
    (http://melkor.dnp.fmph.uniba.sk/~garabik/statfs/). Edit /etc/pydfrc
    and change the line 
    statfs_command = "/usr/local/bin/statfs -t"
    to point to statfs. The -t option is important!
    Or you can use stat(1) from debian distribution, at least version 2.2
    (http://www.debian.org/Packages/unstable/utils/stat.html)


Modify /etc/pydfrc according to your taste.
