Windows DatabaseebooksStatistical Information

LLE10245 : Howto list the contents of an installed package on a debian alike system


You have debian, kubuntu, ubuntu or knoppix and need to find the contents of an installed package.




To find the contents of an installed package and show all the files you can use the following command dpkg with the parameter -L. e.g.

dpkg -L mysql
dpkg -L apt
To show all the files postgres writes to etc you can use the following. We first find all the postgres packages we use:

ls02:/etc# dpkg -l|grep postgres
ii  postgresql                           8.3.9-0lenny1                 object-relational SQL database (supported version)
ii  postgresql-8.3                       8.3.9-0lenny1                 object-relational SQL database, version 8.3 server
ii  postgresql-client-8.3                8.3.9-0lenny1                 front-end programs for PostgreSQL 8.3
ii  postgresql-client-common             94lenny1                      manager for multiple PostgreSQL client versions
ii  postgresql-common                    94lenny1                      PostgreSQL database-cluster manager
ii  postgresql-contrib-8.3               8.3.9-0lenny1                 additional facilities for PostgreSQL

now we use:

dpkg -L postgesql-8.3|grep etc

ls02:/etc# dpkg -L postgresql-8.3|grep etc

Now you do this for the other packages postges installed.


The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
Copyright © 2004-2016 Lubby (V3.0.11 Jan 2016)
Sponsored by Keskon.
Datenschutzerklaerung - Privacy statement - Privacyverklaring