The fastest way to delete an app in Ubuntu
The simplest method is to open the Activities menu (top left corner), search for "Software" or "Ubuntu Software", and click the app you want to remove. Look for the trash or minus icon, click it, and confirm the removal. Ubuntu will uninstall the program and its core files immediately.
If you installed the app from the Ubuntu Software Center (the graphical store), this method works cleanly. If you installed it from the command line or from a third-party source, you may need a different approach — but we'll cover those below.
Key Takeaways
- The Ubuntu Software Center is the easiest way to remove apps you installed from there — search, click the app, and click the remove button.
- Apps installed via the command line need to be removed the same way: open Terminal and type sudo apt remove [app-name], then confirm.
- Snap packages (self-contained apps that update automatically) require sudo snap remove [app-name] instead of the apt command.
- Removing an app leaves behind configuration files in your home folder; you can delete these manually if you want a completely clean removal.
- If you do not know the exact name of an app, type sudo apt list --installed in Terminal to see everything you have installed.
Removing apps through the Ubuntu Software Center
Open the Activities menu by clicking the top left corner or pressing the Super key (Windows key). Type the name of the app you want to remove — for example, "Blender" or "VLC". When the app appears in the search results, click it to open its page.
On the app's page, look for a trash icon or a button labeled "Remove". Click it, and Ubuntu will ask you to confirm. Type your password if prompted, and the app will be deleted. This method removes the program and its dependencies (other programs it relied on) if nothing else needs them.
This works only for apps you installed from the Ubuntu Software Center or from Canonical's official repositories. If you installed something from a website or a personal repository, you will need to use the Terminal instead.
Removing apps from the Terminal using apt
Open Terminal by pressing Ctrl+Alt+T or by searching for "Terminal" in Activities. Type the following command, replacing app-name with the actual name of the program:
sudo apt remove app-name
Press Enter and type your password when prompted. Ubuntu will show you what it is about to remove and ask you to confirm by typing y and pressing Enter. The app will be deleted.
If you want to remove the app and also clean up configuration files it left behind, use sudo apt purge app-name instead. This is more thorough but rarely necessary unless you plan to reinstall the app later and want a fresh start.
Removing Snap packages
Snap packages are self-contained programs that update automatically and do not depend on other system libraries. Ubuntu comes with some Snap apps pre-installed, and you may have installed others from the Ubuntu Software Center.
To remove a Snap, open Terminal and type:
sudo snap remove app-name
Press Enter, type your password, and confirm. Snap packages are cleaner to remove than traditional apps because they do not leave configuration files scattered across your system. If you are unsure whether something is a Snap or a traditional app, you can check by typing snap list in Terminal to see all installed Snaps.
Finding the exact name of an app you want to remove
If you do not know the exact name of the program, open Terminal and type:
sudo apt list --installed
This will display every program installed through apt on your system. Scroll through the list or pipe it to grep to search: sudo apt list --installed | grep firefox (replace "firefox" with part of the app name you remember). Once you find the exact name, use it in the remove command above.
For Snap packages, type snap list to see all installed Snaps with their exact names.
Cleaning up leftover configuration files
When you remove an app with apt remove, Ubuntu leaves behind configuration files and settings in hidden folders inside your home directory (usually in a folder like .config or .local). These take up minimal space and do not affect performance, so most people leave them alone.
If you want to delete them manually, open the file manager, press Ctrl+H to show hidden files, and navigate to your home folder. Look for folders with the app's name (for example, .config/blender) and delete them. Be careful not to delete folders belonging to other apps.
Alternatively, use the Terminal command sudo apt purge app-name when removing the app — this automatically deletes most configuration files, though some may remain in your home folder.
What to do if the app will not remove
If you get an error message saying the app is "locked" or "in use", close the program first and try again. If Terminal says the app is not found, you may have mistyped the name — use apt list --installed to find the correct spelling.
If you installed an app from a website or a personal repository and it did not come from Ubuntu's official sources, it may not be removable through apt. Check the app's website or documentation for uninstall instructions. Some programs include their own uninstaller; others may require you to manually delete files from specific folders.
Frequently Asked Questions
Will removing an app delete my files or documents?
No. Removing an app deletes only the program itself and its system files. Your personal documents, photos, and other files remain untouched. Configuration files specific to that app may be deleted (depending on whether you use remove or purge), but these are program settings, not your data.
Can I undo a removal if I change my mind?
Yes. You can reinstall any app you removed by opening the Ubuntu Software Center and searching for it again, or by typing sudo apt install app-name in Terminal. If you used purge instead of remove, your old settings will not come back, but the program itself will reinstall cleanly.
What is the difference between remove and purge?
Remove deletes the program but leaves configuration files behind. Purge deletes the program and most of its settings. Use purge if you want a completely clean removal; use remove if you might reinstall the app later and want to keep your settings.
How do I know if an app is a Snap or a traditional app?
Type snap list in Terminal to see all Snap packages. If the app appears there, it is a Snap and should be removed with snap remove. If it does not appear, it is a traditional app and should be removed with apt remove.
Is it safe to remove apps that came pre-installed with Ubuntu?
Most pre-installed apps are safe to remove. However, do not remove system packages like ubuntu-desktop, grub, or systemd — these are core to how Ubuntu runs. If you are unsure whether something is essential, search for the app name online before removing it.