Anyone know of a way to remove Steam from Ubuntu 12.04? Looked around the net but could not find an straight forward solution. Thanks.
8 Answers
You can use Ubuntu Software Center to uninstall or Open Terminal and execute the following command:
sudo apt-get remove steam steam-launcher
Purge Steam Perfectly with Configuration files with the following:
sudo apt-get purge steam steam-launcher
Never forget to delete its directory and links located at home folder:
rm -rf ~/.local/share/Steam && rm -rf ~/.steam*
If your downloaded games are located on a specific location, you have to those delete folders (could be possibly hidden in home folder).
-
4Good morning, I installed steam using the steam install packaged from the steam site. At the present moment I have deleted the directory for it. Not sure if that is the best way to accomplish this. Thanks. Nov 16, 2012 at 15:06
-
14
-
3
-
8steam:i386 is not installed so not removed. whats the 64bit version? Jun 7, 2015 at 13:00
-
3
The .deb package is just a wrapper. Steam's launcher installs itself to ~/.local/share/Steam
and can be over 1GiB so make sure you remove it.
sudo apt-get purge steam
sudo apt-get purge steam-launcher
cd ~/.local/share && rm -rf Steam
rm ~/.steampath
rm ~/.steampid
You may have only one of "steam" or "steam-launcher".
-
41
rm -rf ~/.local/share/Steam
is correct but a tiny mistake--a space between~
and/
or between/
and.
--would result in every file in the home directory being deleted, including all the user's documents! Therefore, I recommend instead using:cd ~/.local/share && rm -rf Steam
Feb 15, 2013 at 16:22 -
1@EliahKagan Yes, but when u are using "tab" completion you will not have this kind of mistake. Dec 24, 2016 at 23:51
-
3@RomanM.Kos I don't follow. When users make this mistake, I think it's almost always before they've typed enough characters for tab completion to be useful (whether or not they actually use tab completion). Replacing
rm -rf
withls
so it's safe and easy to test, typingls ~
and then pressing tab displays a list of~
-shortened home directories (i.e.,~
followed by a username) for all user accounts, including those that don't correspond to a human user of the machine (likebackup
). More typing is required after this. Dec 27, 2016 at 15:37 -
Removing Steam using the Ubuntu Software Centre:
Open the Ubuntu Software Centre, by clicking on the appropriate icon in the launcher, or opening the dash and searching for it.
Search for "Steam" in the Ubuntu Software Centre.
Select it, and click "Remove"
This will remove Steam from your system. Only system files, however, will be removed, user files will not. For most programs, user files are very small and not worth worrying about, but for Steam, they include all your downloaded games, and can be quite large. To delete your user files:
Open Nautilus, the default file explorer.
Click "View", "Show Hidden Files", or press Ctrl-H.
Navigate to
.local/share/
and delete thesteam
folder.
Removing steam using the command-line:
You can do the equivalent of the previous steps in just two commands:
$ sudo apt-get remove steam
$ rm -r ~/.local/share/steam
In general, programs on Linux tend to keep user files in hidden directories in the home folder, either under .local/share
, .config
or .cache
, or in a separate .PROGRAMNAME
directory. Hidden files and directories always begin with a dot.
I had the same issue - installed with the .deb package from the website rather than using Terminal. I fixed by running:
sudo apt-get purge steam
cd ~/.local/share && rm -rf Steam
And then clicking on the menu and searching for the Steam app that was still present, right clicking it and selecting uninstall
which removed the rest of the files. I hope this helps!
This is to complement any of the answers mentioned here regarding Steam installed via Software Center. If you happened to have installed Steam through Wine and wanted to uninstall it you can go to ~/.wine/dosdevices/c:
or by typing the letter C in Dash.
In there you will find the Program Files
folder which holds the Steam client. If you deleted Wine, this folder and any other install apps will still reside here. They are not gone even if you uninstall wine. You would have to delete them manually. On the other hand, if you still have Wine installed, typing wine uninstaller
will get you to the Wine uninstaller, similar to the Windows "Add & Remove app".
You can also remove everything by simply rm -fr ~/.wine
assuming you already uninstalled Wine and do not care about anything else in the Wine folder.
You uninstall Steam just as you would uninstall every other application. You search for it in Ubuntu Software Center and then you remove it.
If you also want to remove the data created by your Steam installation (like downloaded game files) there are two possible locations where Steam stores these files. One a directory called Steam directly in your home directory. The other is in the hidden directory .local/share/Steam in your home directory (you can view hidden files and directories by pressing CTRL+H).
Removing this directory means you will have to re-download your games when you decide to play them again. There is an option to backup your games from inside Steam.
I've searched an other way to uninstall it if you have the package .deb. You do secundary click, select open with and choose Installer GDebi package, wait still that charge and after click uninstall all