r/linux4noobs • • Jul 21 '25

storage How do I delete Steam off of Linux?

Post image

So I made the mistake of not considering that maybe I shouldn’t run steam on Linux since it’s not windows, and from the fact that this Linux laptop is not made to run games at all, so, if anyone could tell me how to remove applications off of this Linux I would be glad.

291 Upvotes

84 comments sorted by

39

u/Shadow_Bisharp Jul 22 '25

if you installed using apt , sudo apt remove steam

33

u/LesStrater Jul 22 '25

Yes, and also use 'purge ' instead of remove.

5

u/Cold-Sandwich-34 Jul 22 '25

I have seen suggestions to do both?

→ More replies (4)
→ More replies (1)

4

u/CXMattTA Jul 22 '25

This is their home directory which apt will never touch.

OP: rm -rf $HOME/.local/share/Steam

1

u/AggressiveLet7486 Jul 23 '25

apt remove steam *sudo apt remove steam

9

u/iammoney45 Jul 22 '25

You can uninstall any package/program by using the package manager you installed it with, just add the correct flag to the command. For apt you just need to do "apt remove <package name>" in this case the package is steam. If you installed with a GUI package manager there should be an uninstall button in there.

Steam is great on Linux, the steam deck runs on Linux. That said, take a look at lutris if you are trying to get games running on Linux without steam.

9

u/SmallMongoose5727 Jul 22 '25

Steam works great on Linux just don't use bootlegs

2

u/Damglador Jul 23 '25

Tbh Steam on Linux is a bootleg by itself, because instead of letting package manager do the package managing it installs itself in your home directory. And uninstalling the package will do basically nothing, since the package is just an installer, probably a desktop file and a script for /bin.

→ More replies (1)

10

u/8null8 Jul 22 '25 edited Jul 23 '26

Feather lavender teapot acorn cobalt trumpet juniper peach teapot

This post was anonymized with Redact.dev

4

u/PhoenixLandPirate Jul 22 '25

Valve recommends that you run Steam on Linux, and sell devices on with Linux pre-installed, so Idk where you get the idea that "maybe I shouldn’t run steam on Linux since it’s not windows"

4

u/Corvus1412 Jul 22 '25

What do you mean? Steam works great on Linux and Linux can run games pretty well.

I mean, valve themselves ship Linux with their hardware.

But uninstalling is done with "sudo apt remove <package_name>" or "sudo apt purge <package_name>" if you also want to delete the config files.

3

u/skyfishgoo Jul 22 '25

you would uninstall it the same way you installed it.... did you use the software store, did you download something from the internet, did you add a repository to your system?

you are the only one who knows how steam got there.

as for all the space it's using, that is likely due to the games you installed, which you can also uninstall using the steam application (see their support page for instructions if you can't figure it out).

even after uninstalling there still might be folders in your /home that need to be deleted, you sill just have to cruse the file system looking or anything "steam" or "valve" related.

you can also delete your ~/.cache folder as that can build up a "crust" sometimes.

1

u/Rhaegg Jul 23 '25

It says 3GB

2

u/Sorry-Committee2069 Jul 22 '25

"apt remove steam" and then "apt autoremove" will remove the packages, but you also need to "rm -rf ~/.steam ~/.local/share/Steam" to get rid of the runtime and games and cache and whatnot.

2

u/SHUTDOWN6 Jul 22 '25

Valve is literally one of the most linux supportive corpos out there. Steam works natively on Linux and even the games that are not linux native, work with their built-in Proton. Is this post a troll? It feels like one.

1

u/bialyikar Jul 22 '25

You can do it through the application manager, and then manually delete the configuration files and the games themselves (like on Windows). But it's easier, like someone already said here, by running these commands in the terminal: sudo apt purge steam; sudo rm -rf $HOME/.steam $HOME/.local/share/Steam Additionally, if you had other Steam libraries, you need to run: sudo rm -rf path_to_the_library Be careful with the rm command – don’t delete something important!

1

u/roboticax Jul 22 '25

sudo apt-get remove steam

or

sudo apt remove --purge steam

1

u/[deleted] Jul 22 '25

sudo apt remove steam OR sudo pacman -R steam OR sudo dnf remove steam or whatever else people use these days

1

u/Real-Abrocoma-2823 Jul 22 '25

Why would you think steam with game would run on 4gb pc? Even on phones it is hard to install any uptodate appsince 4gb is so not enough. Also even if you had more storage then ram cpu gpu and temps will not allow you to game on this.

1

u/denis870 Jul 22 '25

its a chromebook bruh. they have trouble running slither.io in 60 fps

1

u/LordAnchemis Jul 22 '25

Apt remove steam

1

u/Rhaegg Jul 23 '25

Dude, how much storage do you have? How is 3GB 99% of it?

1

u/T47MB Jul 24 '25

Something to note here, if storage space is your main concern — this graph is showing space taken up by all files in the steam directory, not steam itself. That means it’ll include any games or other applications you have installed thru steam. Older games and more basic 2D indie titles should run fine even on very low end hardware, and you can circumvent any storage limitations by installing them to an SD card or usb drive - just set it up as a new library in steam settings.

1

u/SmallMongoose5727 Jul 22 '25

99% CPU usage delete steam lol use lutris

3

u/ranisalt Jul 22 '25

How did you conclude that the 99% refers to CPU usage?

→ More replies (6)