packages:remove_config_files
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
packages:remove_config_files [2016/07/04 08:26] – peter | packages:remove_config_files [2019/12/01 12:03] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Packages - Remove Config Files ====== | ||
- | |||
- | If you uninstall stuff with **apt-get remove** sometimes Debian does not removes config files and they also take up space. | ||
- | |||
- | One approach is to use **apt-get purge**. | ||
- | |||
- | An alternative is as follows: | ||
- | |||
- | This command lists all the packages which are removed but still have config files on your system: | ||
- | |||
- | <code bash> | ||
- | dpkg --list | grep '^rc ' | ||
- | |||
- | rc binutils | ||
- | rc dbus | ||
- | rc dpkg-dev | ||
- | rc erlang-base | ||
- | rc fakeroot | ||
- | </ | ||
- | |||
- | Now, just to make sure check the output and then remove the config files with this command: | ||
- | |||
- | <code bash> | ||
- | dpkg --list | grep ' | ||
- | </ | ||
packages/remove_config_files.1467620808.txt.gz · Last modified: 2020/07/15 09:30 (external edit)