How To Uninstall App On Ubuntu

6 min read

How to uninstall an app on Ubuntu is a common task for every user who wants to keep their system clean, free up disk space, or replace a program with a better alternative. Whether you prefer a graphical interface or the power of the command line, Ubuntu offers several straightforward methods to remove applications safely. This guide walks you through each approach, explains what happens behind the scenes, and answers typical questions to ensure you can confidently uninstall any app without leaving behind orphaned files or configuration remnants.

Introduction

Ubuntu, based on the Debian Linux distribution, provides a user‑friendly environment for both newcomers and advanced users. Managing software is one of its strongest points, offering a graphical Software Center and a reliable package manager via the terminal. Knowing how to uninstall an app on Ubuntu is essential for maintaining system health and customizing your desktop experience. In this article we’ll cover the graphical uninstallation via the Ubuntu Software app, the command‑line method using apt and dpkg, and the removal of Snap packages. We’ll also explore what occurs during the removal process and address common concerns in the FAQ section That's the whole idea..

Steps to Uninstall an App

Using the Ubuntu Software Center (GNOME)

  1. Open the Software Center
    Click the “Ubuntu Software” icon in the application launcher or press Super (Windows key) and type “Software”.

  2. Locate the installed application
    In the “Installed” tab, scroll or use the search bar to find the program you want to remove Small thing, real impact. No workaround needed..

  3. Select “Remove”
    Click on the app’s entry, then press the “Remove” button. Ubuntu will ask for confirmation; click “Remove” again Took long enough..

  4. Confirm the action
    If the app has configuration files you might want to keep, you can choose to Keep configuration files before removal That's the part that actually makes a difference..

5..arrow right

The Software Center will now delete the application binaries, shared libraries, and associated desktop entries.

Using the Command Line (apt and dpkg)

The command line offers precise control and is especially useful for batch removals or when the graphical tools are unavailable The details matter here..

  1. Open a terminal
    Press Ctrl + Alt + T or search for “Terminal” in the launcher.

  2. Update the package list (optional but recommended)

    sudo apt update
    
  3. Identify the exact package name
    Use dpkg -l | grep <package_name> or apt list --installed | grep <package_name>. Take this: to uninstall the text editor gedit:

    dpkg -l | grep gedit
    
  4. Remove the package

    sudo apt remove 
    

    This command removes the installed files but keeps configuration files by default. If you also want to delete those, add --purge:

    sudo apt purge 
    
  5. Clean up unused dependencies
    If the removal leaves behind packages that were installed only to satisfy the uninstalled app’s dependencies, you can clean them with:

    sudo apt autoremove
    
  6. Optional: Remove orphaned configuration files
    For a more thorough cleanup, you can run:

    sudo apt clean
    sudo apt autoclean
    

Removing Snap Packages

Snap packages run in a isolated environment and are managed by the snap daemon.

  1. Check if the app is a Snap

    snap list | grep 
    
  2. Remove the Snap

    sudo snap remove 
    
  3. Delete the snap cache (optional)

    sudo snap cache purge
    

Understanding What Happens During Uninstallation

When you uninstall an app on Ubuntu, the system performs several operations that can be grouped into three phases: removal of installed files, handling of configuration data, and dependency cleanup Worth knowing..

  • Removal of installed files: The package manager locates the files associated with the application—binaries, libraries, documentation, and desktop shortcuts—and moves them to the trash or deletes them permanently, depending on the distribution’s settings Most people skip this — try not to..

  • Configuration files: By default, Ubuntu’s apt tool retains configuration files to preserve user customizations. If you use --purge or select “Remove configuration files” in the graphical interface, these files are also deleted. Snap packages, however, store configuration under ~/.snap and can be removed entirely with snap remove.

  • Dependency cleanup: Many packages depend on others to function. When you uninstall a package, Ubuntu marks it as “auto-installed” and later removes it with apt autoremove if no other packages require it. This prevents accumulation of unnecessary software Less friction, more output..

The dpkg utility is the low‑level tool that actually carries out file deletion, while apt provides a higher‑level interface, handling dependencies and repository updates. Snap uses its own stack, isolating the application from the system root, which simplifies removal but also requires its own command set.

Frequently Asked Questions

Q: Can I uninstall an app without affecting other programs?
A: Yes. Using sudo apt remove <package> will delete the application’s binaries and libraries but keep its configuration files, leaving dependencies intact.

Q: What’s the difference between apt remove and apt purge?
A: apt remove deletes the installed files but leaves configuration files; apt purge also deletes configuration files, providing a more thorough uninstall.

Q-exclamation: How do I know if a package is installed via Snap or apt?
A: Run snap list to see Snap packages, and dpkg -l or apt list --installed for Debian‑based packages.

Q: My graphical Software Center doesn’t show the “Remove” button.
A: This usually means the application is installed via Snap or a third‑party repository. Try using the command line or the Snap GUI (available via the “Snap” app in Ubuntu Software).

Q: After uninstalling, why does the application still appear in the application launcher?
A: Residual desktop entries can linger. You can manually delete them from ~/.local/share/applications/ or run sudo apt autoremove --purge to clear orphaned entries.

Q: Is it safe to run sudo apt autoremove?
A: It is safe when performed after removing unnecessary packages. It only removes packages that were automatically installed as dependencies and are no longer needed.

Q: Can I reinstall an app after uninstalling?
A: Absolutely. The package repository still contains the software, so you can reinstall it using sudo apt install <package_name> or by searching for it in Ubuntu Software Easy to understand, harder to ignore..

Q: What about flatpak applications?
A: Flatpak apps are managed by flatpak command (flatpak uninstall <app>). They are separate from

apt and Snap package ecosystems. So naturally, to remove a Flatpak application, use flatpak uninstall <app>, and prune any cached runtimes with flatpak uninstall --unused. As with snaps, cleanup may be needed to avoid orphaned dependencies or runtime data And that's really what it comes down to..

Conclusion

Uninstalling applications on Ubuntu is rarely a one-size-fits-all process. The method depends on where the app came from: traditional .deb packages managed by apt, Snap bundles isolated under /snap, or Flatpak packages distributed through Flathub. Each has its own removal commands, configuration locations, and cleanup behavior Took long enough..

For Debian-based packages, apt remove is gentle, apt purge is thorough, and apt autoremove clears orphaned dependencies. For Snaps, snap remove deletes both user data and configuration by default. For Flatpak, flatpak uninstall handles the app while separate runtime cleanup may be required Worth knowing..

The key to a clean system is not just pressing “Remove” in a graphical store, but understanding the package type. So use the command line when precision matters, check for residual configuration or launcher entries, and run automatic cleanup tools when appropriate. With the right approach, uninstalling apps on Ubuntu can be done without leaving behind clutter or breaking dependent software.

People argue about this. Here's where I land on it.

New and Fresh

Out This Week

Cut from the Same Cloth

Also Worth Your Time

Thank you for reading about How To Uninstall App On Ubuntu. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home