Score:0

How to list configuration file for a specific package on Ubuntu 20.04

jp flag

In CentOS, there is this command rpm -qc packagenameto list all the configuration for a specific package.

[spiderman@MyFirstLinuxVM ~]$ rpm -qc sudo
/etc/pam.d/sudo
/etc/pam.d/sudo-i
/etc/sudo-ldap.conf
/etc/sudo.conf
/etc/sudoers

Is there any similar command in Ubuntu using aptor dpkg ?

muru avatar
us flag
Does this answer your question? [What's the equivalent of rpm -qc PACKAGE\_NAME in Ubuntu?](https://askubuntu.com/questions/433810/whats-the-equivalent-of-rpm-qc-package-name-in-ubuntu)
Terrance avatar
id flag
Installed app or not installed app? If installed, https://askubuntu.com/questions/281853/how-to-list-all-configuration-files-for-an-already-installed-package
Score:0
aq flag

I've used cat for finding config files. for example, lighttpd would look like this

cat /var/lib/dpkg/info/lighttpd.conffiles

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.