Uninstall steam and its games

i can’t find steam in my manjaro or cannot uninstall it as well
i have just 128GB SSD and .steam/share is using 30GB almost i cant even update my other apps
i search in my laptop there are two games CS (counter strike) and TM launcher for mincraft

i don’t play those game because i can’t due to graphic card or i am not interested such game
i have xbox for that i use my laptop just for smooth working

when i try to uninstall it i got error

[zeeshan@pits ~]$ sudo pacman -Rns steam
error: target not found: steam

but when i try to check i got this result

[zeeshan@pits ~]$ pacman -Ss steam
community/game-devices-udev 0.18-1
    Udev rules for controllers
community/gamescope 3.11.47-1
    SteamOS session compositing window manager
community/sl 5.05-3
    Steam Locomotive runs across your terminal when you type "sl" as you meant to type "ls"
community/steamos-compositor-plus 1.9.0-1
    Compositor used by SteamOS 2.x with some added tweaks and fixes
multilib/linux-steam-integration 0.7.3-10
    Helper for enabling better Steam integration on Linux
multilib/steam 1.0.0.75-2
    Valve's digital software delivery system
multilib/steam-native-runtime 1.0.0.70-4
    Native replacement for the Steam runtime using system libraries

i think package is broken maybe
please guide me i will be thankful to you

As far as I know, the game data in your /home folder will not be removed when you uninstall steam, so you need to delete it yourself. It should mostly be found in your users ./local folder.

sudo pacman -Rns steam-native-runtime

You can delete ~/.steam/share manually afterwards.

Thank you for your quick response

here is result that i get after typing this command

[zeeshan@pits ~]$ sudo pacman -Rns steam-native-runtime
[sudo] password for zeeshan: 
error: target not found: steam-native-runtime

should I remove manually, it will harm my system ? or it will be safe ?

Yes you are right its in, actually .local/share when I check its have CS
here is screenshot https://i.imgur.com/LNfw1Yt.png

check if you have steam installed:
pacman -Qs steam
if you want to make some space, remove cache:
sudo pacman -Scc
clear your journal:
sudo journalctl --rotate
sudo journalctl -m --vacuum-time=1s

1 Like

nothing happen with this command

so you dont have it installed… you can have it as snap though …

i don’t know how i have installed it but i can see with ncdu its taking my 29 GB https://i.imgur.com/ZwEJnEF.png

it will be okay if i removed with rm -rf .local/share ?

that is just a directory
a directory called “Steam”
in it are 29 GiB of data
the PATH is:
~/.local/share/Steam

so delete just that directory - not the whole ~/.local/share with everything else in it
which is probably not all steam related

rm -rf ~/.local/share/Steam

Just find the directory and remove stream from there.

Thanks i have done this

can you please let me know what is this if its installation of softwares in snap can i make them in 1 directory or its working like this always ?

/dev/loop0       64M   64M     0 100% /var/lib/snapd/snap/core20/1634
/dev/loop4       56M   56M     0 100% /var/lib/snapd/snap/core18/2566
/dev/loop6      112M  112M     0 100% /var/lib/snapd/snap/chronoburn/16
/dev/loop5      128K  128K     0 100% /var/lib/snapd/snap/bare/5
/dev/loop1       15M   15M     0 100% /var/lib/snapd/snap/aws-cli/130
/dev/loop8       71M   71M     0 100% /var/lib/snapd/snap/core22/275
/dev/loop7      115M  115M     0 100% /var/lib/snapd/snap/core/13741
/dev/loop9       56M   56M     0 100% /var/lib/snapd/snap/core18/2620
/dev/loop2       64M   64M     0 100% /var/lib/snapd/snap/core20/1695
/dev/loop11     7.4M  7.4M     0 100% /var/lib/snapd/snap/cornyjokes/187
/dev/loop12     7.5M  7.5M     0 100% /var/lib/snapd/snap/cornyjokes/192
/dev/loop3      115M  115M     0 100% /var/lib/snapd/snap/core/13886
/dev/loop13      87M   87M     0 100% /var/lib/snapd/snap/deckboard/3
/dev/loop10      73M   73M     0 100% /var/lib/snapd/snap/core22/310
/dev/loop15      82M   82M     0 100% /var/lib/snapd/snap/discord/145
/dev/loop14      82M   82M     0 100% /var/lib/snapd/snap/discord/143
/dev/loop16      78M   78M     0 100% /var/lib/snapd/snap/disk-space-saver/40
/dev/loop17      78M   78M     0 100% /var/lib/snapd/snap/disk-space-saver/41
/dev/loop18     165M  165M     0 100% /var/lib/snapd/snap/gnome-3-28-1804/161
/dev/loop21     148M  148M     0 100% /var/lib/snapd/snap/figma-linux/156
/dev/loop19     512K  512K     0 100% /var/lib/snapd/snap/github-package-manager/51
/dev/loop20     148M  148M     0 100% /var/lib/snapd/snap/figma-linux/154
/dev/loop22     219M  219M     0 100% /var/lib/snapd/snap/gnome-3-34-1804/72
/dev/loop25      82M   82M     0 100% /var/lib/snapd/snap/gtk-common-themes/1534
/dev/loop24     347M  347M     0 100% /var/lib/snapd/snap/gnome-3-38-2004/119
/dev/loop23     219M  219M     0 100% /var/lib/snapd/snap/gnome-3-34-1804/77
/dev/loop27     347M  347M     0 100% /var/lib/snapd/snap/gnome-3-38-2004/115
/dev/loop26     415M  415M     0 100% /var/lib/snapd/snap/gnome-42-2204/29
/dev/loop29     261M  261M     0 100% /var/lib/snapd/snap/kde-frameworks-5-core18/32
/dev/loop30      92M   92M     0 100% /var/lib/snapd/snap/gtk-common-themes/1535
/dev/loop28     425M  425M     0 100% /var/lib/snapd/snap/kde-frameworks-5-qt-5-15-3-core20/8
/dev/loop32     400M  400M     0 100% /var/lib/snapd/snap/obs-studio/1284
/dev/loop31      53M   53M     0 100% /var/lib/snapd/snap/orion-desktop/57
/dev/loop34     259M  259M     0 100% /var/lib/snapd/snap/qt551/42
/dev/loop36     302M  302M     0 100% /var/lib/snapd/snap/qt5-core20/12
/dev/loop35      53M   53M     0 100% /var/lib/snapd/snap/orion-desktop/58
/dev/loop33     259M  259M     0 100% /var/lib/snapd/snap/qt551/41
/dev/loop38     142M  142M     0 100% /var/lib/snapd/snap/skype/231
/dev/loop37     302M  302M     0 100% /var/lib/snapd/snap/qt5-core20/14
/dev/loop41     113M  113M     0 100% /var/lib/snapd/snap/slack/66
/dev/loop40     142M  142M     0 100% /var/lib/snapd/snap/skype/235
/dev/loop42      46M   46M     0 100% /var/lib/snapd/snap/snap-store/592
/dev/loop39     113M  113M     0 100% /var/lib/snapd/snap/slack/67
/dev/loop43      46M   46M     0 100% /var/lib/snapd/snap/snap-store/599
/dev/loop45     1.4M  1.4M     0 100% /var/lib/snapd/snap/terminal-parrot/59
/dev/loop46      50M   50M     0 100% /var/lib/snapd/snap/snapd/17576
/dev/loop44      48M   48M     0 100% /var/lib/snapd/snap/snapd/17336
/dev/loop48      89M   89M     0 100% /var/lib/snapd/snap/termius-app/135
/dev/loop47      89M   89M     0 100% /var/lib/snapd/snap/termius-app/134
/dev/loop49      90M   90M     0 100% /var/lib/snapd/snap/whatsapp-for-linux/47
/dev/loop50      90M   90M     0 100% /var/lib/snapd/snap/wordpress-desktop/109
/dev/loop51      90M   90M     0 100% /var/lib/snapd/snap/whatsapp-for-linux/48

i don’t mind these in that way i just want to organize things and be good in manjaro

This is the way snaps work.

Perhaps this helps to get rid of older, duplicate ones:

https://askubuntu.com/questions/1047456/why-are-all-snaps-being-mounted-and-listed-as-block-devices-or-partitions-for-ub

The first answer there, marked with a green check mark, is the info that I mean.

two (or three?) versions of “core”
two times cornyjokes
two times discord
two times disk-space-saver
two times skype
four versions of gnome
two times whatsapp

perhaps some maintenance can reduce the space that is occupied?

I have never used snaps until now - and don’t intend to do so if I can avoid it.