How to compile CdFly

In my thread How to organize disks with Disk Explorer Pro 3 under wine, I got many replies with other similar tools. One if them was CdFly.

How to compile CdFly
First you need to download the source or from SVN repository.

Install libraries needed to compile CdFly
$ sudo apt-get install build-essential libqt4-dev

Go to the directory with the extracted source and create a Makefile and compile it
$ qmake-qt4
$ make

Now you can start CdFly by
./cdfly

How to find the package which contains a specific file or directory

I found the webpage Ubuntu Tips and Tricks which has some nice hints on how to find the package that provides a file or directory

How to find the package that provides a specific file:
$ dpkg ?S /bin/ls
coreutils: /bin/ls

How to find the package even if it’s not installed that provides a specific file:
First you need to install apt-file
$ sudo apt-file update

Now you can look for the packe by
$ apt-file search /usr/bin/jove
jove: usr/bin/jove