I would like to completely uninstall a snap application from my Ubuntu OS.
Usually, I use the command sudo snap remove <app-name>
. But I noticed that if I search inside the root folder of my system for <app-name>
, there are residues from this program.
The way I access the root directory is through the command sudo nautilus
. After accessing nautilus, I select Filesystem root and then search for the <app-name>
in the Search bar. Finally, after waiting for all files with the same name as the <app-name>
to load on my screen, I delete them manually.
Note: I access nautilus using the command above because super user permission is required to delete program files in the root directory.
My question is:
Is there a way to completely delete everything related to this application with just a few commands via terminal?
Thank you in advance!
sudo snap remove --purge <package_name>
?sudo nautilus
(to have access as an administrator), access thefilesystem root
, enable the option to show hidden files from the system and type the name of the app in the search bar to find everything related to same. This process is time-consuming and boring. I wish there was a simpler solution.