As a direct answer: /etc
is the default location for configuration files, so you can just look there, but that's not always obvious.
The better approach to find onfiguration files for a given package would be to follow these steps (goes for any package):
To find the configuration files of any rpm, you can use rpm -qc package
Example:
# rpm -qc yum
/etc/logrotate.d/yum
/etc/yum.conf
/etc/yum/version-groups.conf
Alternatively, you can use man
with the name of the executable in question, and look at the related man pages. Any man page with a (5) relates to configuration files. For example, if you man yum
, and look at the related man pages, you'll find this:
SEE ALSO
pkcon (1)
yum.conf (5)
yum-updatesd (8)
package-cleanup (1)
repoquery (1)
yum-complete-transaction (1)
yumdownloader (1)
yum-utils (1)
yum-security (8)
http://yum.baseurl.org/
http://yum.baseurl.org/wiki/Faq
yum search yum
Then you can call man yum.conf
to call the full documentation on the configuration file options and syntax.
Alternatively, you can also check the /usr/share/doc/$package_name
for more documentation.
You can also run makewhatis
and then man -k <keyword>
to see all man pages relating to a specific keyword.