In Ubuntu you can remove the installed applications in may ways. But for beginners removing the applications are still confusing. In Ubuntu there is a not a single control panels to remove applications like Windows. In this tutorial we will see the methods of removing the installed Ubuntu applications one by one.
Remove applications using Ubuntu Software:
This is the easiest and the best way to remove installed Ubuntu application. Using this method you can remove Ubuntu Software. Using this you can remove or pre-installed, manually installed applications, Flatpak applications and Snap packages.
click the show applications in the Ubuntu Gnome dock or Press the Windows key on your keyboard and type Ubuntu Software in the search box and Ubuntu Software to open it. Wait for three or four minutes. It will take some time to load all your installed applications.
After that click the Installed menu from the top. It will show all Ubuntu installed applications. click Remove button next to an application in the Installed list to remove the application. It will open the Authentication required box. Just type your user Ubuntu password. It will remove the application in Ubuntu.
Remove Ubuntu native applications via the terminal:
Ubuntu native applications are Debian packages found in the Ubuntu software sources. You can remove these applications via Terminal app.
Open your terminal app (Ctrl+Alt+T) and run the command in below format. You can replace the “packagename” with your real application package name.
sudo apt-get remove packagename
Example: If you want to remove the OpenTTD Transport Tycoon game then the package name for OpenTTD is “openttd”. just replace packagename with openttd like the below command.
sudo apt-get remove openttd
This will remove the application from your system but keeps the config files, plugins and settings for future use. To remove the application completely from your system use the below command.
sudo apt-get purge packagename
sudo apt-get purge openttd
You can list all installed application packages via below command in terminal
Press the enter key repeatedly to scroll and view the all installed packages.
Remove Snap packages via the terminal:
You can also remove the installed snap packages via your favorite terminal app. You can find the installed snap applications via running the below command in terminal. Open terminal (Ctrl+Alt+T).
Then the format to remove the snap package is
sudo snap remove packagename
You can replace the “packagename” with your real snap application package name.
Example: If you want to remove the Xonotic shooter game then the package name for Xonotic shooter game is “xonotic”. just replace packagename with xonotic like the below command.
sudo snap remove xonotic
Remove Flatpak applications via the terminal:
If you installed the applications via the flatpak , then you can also remove it via terminal. First get the installed flatpak list via running the below command in terminal.
It will show the all installed flatpak applications. Then use the below coomad syntax to remove the flatpak applications.
sudo flatpak uninstall packagename
You can replace the “packagename” with your real flatpak application name.
Example: If you want to remove the celluloid media player then the application name for celluloid is “io.github.celluloid_player.Celluloid”. just replace packagename with io.github.celluloid_player.Celluloid like the below command.
sudo flatpak uninstall io.github.celluloid_player.Celluloid
Remove Debian packages (.deb) via Synaptic Package Manager:
When you install the application via downloaded .deb file then the best way to remove your application is via Synaptic Package Manager. You can install Synaptic Package Manager via Ubuntu software. Press the Windows key on your keyboard and type Ubuntu Software in the search box and select Ubuntu Software to open it. Then search Synaptic from the search box. and install it.
Select the installed package then right-click on it and select Mark for Removal and click on Apply to remove the installed application.
Remove application and PPAs via terminal:
If you installed the application via using the PPA then you need to remove the application and also the added PPA. The syntax for that is below.
sudo apt-get remove packagename
sudo add-apt-repository --remove ppa:name
Example: If you installed the flightgear via below method
sudo add-apt-repository ppa:saiarcot895/flightgear
sudo apt-get update
sudo apt-get install flightgear
Then you can remove the flightgear app and its ppa via running below command one by one in terminal.
sudo apt-get remove flightgear
sudo add-apt-repository --remove ppa:saiarcot895/flightgear