Remove package + config


Apt package manager has a --purge flag for removing packages that will also delete any associated config files

Does zypper have a similar thing ?

No, RPM does not have similar step. When package is removed, its configuration files are either deleted or renamed (depending on individual file attributes). Renamed files fall outside of package management.

1 Like

While Zypper doesn’t have a built-in option to remove user configuration files like apt purge, you can use the rpmconf tool to achieve a similar result.

1 Like