Welcome to Webune Support Forums

We provide web hosting to people just like you who are just beginning to program their websites. We provide excellent support service, that is why we have created this post to show you how you list all installed packages in ubuntu

the command is simple:

dpkg --get-selections |more

lest say i want to know where tomcat6 is installed, this will display the location or path:
dpkg -L tomcat6