Finding where ubuntu installs programs

Whenever you install something in Ubuntu it unpacks a .deb file and saves it in the right location. The problem is that I never know the contents of a given package and where each file will end up on my machine.

The answer is dpkg -L .

So for instance, I just did:

apt-get install ktouch

and then used

dpkg -L ktouch

to figure out where the tutorial file got saved to.

(Ktouch is a typing program - we just had a little competition in the office to determine who gets what swag from the OpenMRS conference I just attended.)