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!