Check out the docs on hackage, and install with a: cabal install directory-tree or if you're on debian it looks like there are packages available: $ apt-get install libghc-directory-tree-dev