As far as I now, if you install an app with sudo apt install app
you can then remove it via sudo apt remove app
or sudo apt purge app
. I think the difference is that the second method will also remove all application dependencies, like application settings. If I install an application, let's say visual studio code via Ubuntu-Software-Center, save some settings within vscode and then uninstall it via Ubuntu-Software, the settings are stored. I can see that when I reinstall it via Ubuntu-Software-Center, but I definitely don't want that! If I remove an application it shall be gone and free all the memory that it took. I don't see an option to really purge installed applications - How can I remove applications that I installed via Ubuntu-Software-Center, including all dependencies?
The Ubuntu Software Center does not currently have functionality equivalent to
apt purge <package name>
. To completely remove the application and configuration files from your computer you will need to use the command line and complete some manual cleanup.From the man pages for apt
man apt
:This indicates running
apt purge <package name>
twice may be necessary as well as manually deleting files left behind in the user's home directory~
and (likely)~./.config
.Though posted a while back, you may find this reference useful (What is the correct way to completely remove an application?)