How do you find out where your package has been installed? More importantly, where are the setting files for it (for instance, httpd.conf with Apache, or php.ini with PHP)?

link|improve this question

78% accept rate
feedback

1 Answer

up vote 7 down vote accepted
dpkg -L <packetname>

on debian etc. and

rpm -ql <packetname>

on rpm based distributions (redhat, suse, centos)

The settings files will usually be located somewhere below /etc.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.