Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Check for applications that have configurations left behind:

    Code Block
    languagebash
    dpkg --list | grep '^rc\b'
  2. Now you can to a dpkg -P for each individual package, or if you wish to purge everything in the list, you can run the following command: 

    Code Block
    languagebash
    dpkg --list | grep '^rc\b' | awk '{ print $2 }' | xargs dpkg -P
  3. To finish, you run the following commands to finalize the cleanup, and sync of apt-cache and lists: 

    Code Block
    languagebash
    apt-get autoremove
    apt-get clean

Manually Uninstall Package

Code Block
themeEmacs
languagebash
mv /var/lib/dpkg/info/PACKAGE.* /tmp/
dpkg --remove --force-remove-reinstreq PACKAGE