Completely uninstall and remove apps on Ubuntu

Remove applications from Ubuntu using the App Center or Terminal; delete leftover configuration files, clean unused dependencies, and remove Snap packages to reclaim disk space.

What the video covers

Show how to remove applications installed via the App Center, apt/dpkg, and Snap on an Ubuntu desktop, and how to remove leftover configuration files and unused dependencies.

Watch the video on YouTube

Step-by-step instructions

  1. Remove via App Center
    Open the App Center, go to the Installed tab, locate the app, and use the Uninstall option. Confirm when prompted. This removes apps installed through the graphical store.
  2. Identify apt/dpkg packages
    Open a Terminal and list installed packages to find the exact package name, for example: apt list –installed | grep -i appname or dpkg -l | grep -i appname.
  3. Uninstall with apt
    To remove the package binary: sudo apt remove package-name. This leaves configuration files behind.
  4. Purge configuration files
    To remove package and its system-wide configuration files: sudo apt purge package-name. This helps prevent leftover settings from remaining on the system.
  5. Clean unused dependencies
    Remove packages that were installed as dependencies but are no longer needed: sudo apt autoremove. Optionally run sudo apt autoclean to clear downloaded archives.
  6. Remove Snap packages (if applicable)
    List snaps with snap list to find the snap package name, then remove it with sudo snap remove package-name. Snap applications are managed separately from apt/dpkg.
  7. Verify and remove user config
    Confirm the app no longer appears in apt or snap listings. Check common user config locations (for example ~/.config, ~/.local/share, and ~/snap/name) and remove any leftover folders you no longer need.
  8. Restart and final verification
    If desired, restart the system and verify the application is gone from the App Center, system menus, and that disk usage has decreased.

Watch the video

Video thumbnail for Completely uninstall and remove apps on Ubuntu Play tutorial

Watch on YouTube

Why it matters

Uninstalling only the program binary can leave configuration files and unused packages behind. Purging config files and removing unused dependencies reclaims disk space and helps keep the system clean.

Check your result

After completing the steps, the application should no longer appear in the App Center, apt or snap listings. No related configuration files should remain in common locations and disk usage should be reduced.

Troubleshooting

If a package name isn’t found, confirm whether it was installed via apt/dpkg or as a Snap and use the correct listing command (apt list –installed or snap list). Use sudo for package operations. If packages are held back, check for held packages (apt-mark showhold) and unhold if necessary. If leftover files persist, look in ~/.config, ~/.local/share and /etc for app-specific folders before removing manually.