Windows DatabaseebooksStatistical Information

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

Symptom:

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

Cause:

none

Solution:

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
/etc
/etc/init.d
/etc/init.d/postgresql-8.3
ls02:/etc#

Now you do this for the other packages postges installed.


Disclaimer:

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-2011 Lubby (V3.0.10 Aug 2011)
Sponsored by Keskon.
Statistical information by Google Analytics