Linux – How to find out all the software packages installed by default on a linux install

imageslinuxpackage-managementUbuntuvps

I am thinking of getting a VPS and using Ubuntu with it. I've installed linux on home servers and I almost always choose a very bare system and then install packages manually after the install is complete.

However for a VPS, some providers have pre-made images that can be used. If I were to use one of them, what is the easiest way of finding out/listing what is already installed, including things like locations and versions?

Best Answer

dpkg -l will give you a list of all the applications installed on a debian based box. For more info, check this page.

Also, dpkg -L <pkgname> shows the files installed for .