I was wondering if the yum remove command removes the configuration file(s) of a package or if YUM has a command like apt-get purge to remove it(them). After a little Googling I found that there is no such command like purge of the apt-get in YUM. Only using yum remove it's enough to remove a package and its configuration file(s).
You can retrieve the configuration file(s) of a package using the rpm -q --configfiles PACKAGE command:
/[root@rafael ~]# rpm -q --configfiles gparted
/etc/pam.d/gparted
/etc/security/console.apps/gparted
No comments:
Post a Comment