I installed Steam with apt. However, to uninstall steam I entered the following commands:
$ sudo apt purge steam
$ sudo apt autoremove –purge
$ sudo apt autoclean
$ sudo find / -iname ‘steam‘ -delete
However, many Steam items remained in /snap. I couldn’t remove them. I tried to mount /snap as writable with root permissions using a terminal, but it failed and permission was denied. The following command still produces output, specifically in places like /snap/gtk-common-themes/1535/share/icons/Papirus-Maia/22×22/places/folder-blue-steam.svg
(And the steam section is in these places instead of /snap):
sudo find / -iname ‘steam‘
This output shows the gtk-common-themes related to Steam in /snap. There are a few Steam remnants in ~/snap. The following command was run:
$ sudo snap remove gtk-common-themes && sudo snap install gtk-common-themes
However, the output of sudo find / -iname ‘steam‘ still shows Steam remnants in /snap, and Steam was installed with apt, so it can’t be removed with either snap or flatpak.
I want to clean up the Steam leftovers in /snap. So, do I need to completely purge snapd and delete Steam-related items with the following command (I also know that this command will remove everything related to snapd and then I know that snap related stuff will be reloaded):
$ sudo apt purge snapd && sudo apt install snapd
I can also check which files will be affected with the following command:
$ snap list
-
bare
-
core22
-
firefox
-
firmware-updater
-
gnome-42-2204
-
gtk-common-themes
-
snap-store
-
snapd
-
snapd-desktop-integration
-
thunderbird
(^abbreviated^)
What do you think should be done in this situation? And what steps should be taken specifically from /snap to completely remove Steam?
I asked the same question on Reddit and got a response saying “nothing” should be done. So, in short, are these files related to Snap? But are they Steam’s own files? Or are Snap’s own files not even directly related to Steam?
Reddit link: https://www.reddit.com/r/linuxquestions/comments/1o4nmyp/comment/nj3sn5p/
I am using Ubuntu 24.04.03 LTS.