Author Topic: Remove uninstall delete steam completely  (Read 4638 times)

0 Members and 1 Guest are viewing this topic.

Offline kmartin

  • Vollwertiges Mitglied
  • ***
  • Posts: 203
  • Branch: stable
  • Desktop: Xfce 4.12.3
  • GPU Card: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
  • GPU driver: video-intel 2013.01.12 true PCI
  • Kernel: 4.2.8-4.1-MANJARO x86_64
  • Skill: Novice
Remove uninstall delete steam completely
« on: 14. January 2016, 05:30:09 »
Hi folks, I removed steam using Pamac . I find while doing some housecleaning that I have these files and directories in-place.
/home/kmartin/.local/share/Steam/
/home/kmartin/.steam/
/home/kmartin/.steampath
/home/kmartin/.steampid

I could not find a clear answer in past forum posts or the Wiki. I found https://forum.manjaro.org/index.php?topic=12917.msg116043#msg116043
but as I had already removed steam with Pamac that gave me an error.
I found this: http://askubuntu.com/questions/217872/how-do-i-remove-steam/217875 Which handles the situation in Ubuntu and seams to my prenovice eye to be the same. So I have three questions:
1) If I had
Code: [Select]
$ sudo pacman -Rns steam would that have removed the above files and directories? 
2) Is it safe to delete :
/home/kmartin/.local/share/Steam/
/home/kmartin/.steam/
/home/kmartin/.steampath
/home/kmartin/.steampid
3) Are there any others?
I did think about reinstalling and then useing Esclapion's command,
Code: [Select]
$ sudo pacman -Rns steamThis is a stupid question probably but it will reassure me and may save someone in the future asking a stupid question. ;)

Thanks

Offline handy

  • Global Moderator
  • *****
  • Posts: 5738
  • Desktop: Openbox 3.6.1-3 & Worker :)
  • GPU Card: intel...
  • GPU driver: open-source
  • Kernel: OpenBSD
  • Skill: Intermediate
Re: Remove uninstall delete steam completely
« Reply #1 on: 14. January 2016, 07:32:17 »
You can just manually remove those files inside of your /home ( ~/ ) directory. The only benefit any of them may have is if you reinstall Steam again at a later date the process could be a bit quicker.

Most times when people delete programs from their machines the config files stay. Most commonly in ~/.config directory, though quite a number of applications create their own directories in ~/ &/or use pre-existing directories for their intended purpose.

Using pacman -Rsn should delete the config files too. There are occasionally exceptions to that rule.

Here's that section on the ArchWiki:
« Last Edit: 14. January 2016, 07:33:56 by handy »
The ultimate tyranny in a society is not control
by martial law. It is control by the psychological
manipulation of consciousness, through which reality
is defined so that those who exist within do not even
realize that they are in prison.
  —  Barbara Marciniak

Offline kmartin

  • Vollwertiges Mitglied
  • ***
  • Posts: 203
  • Branch: stable
  • Desktop: Xfce 4.12.3
  • GPU Card: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
  • GPU driver: video-intel 2013.01.12 true PCI
  • Kernel: 4.2.8-4.1-MANJARO x86_64
  • Skill: Novice
[Solved] Re: Remove uninstall delete steam completely
« Reply #2 on: 14. January 2016, 08:11:56 »
Thank you Handy for the quick reply! I did research the man page  for
Code: [Select]
$ sudo pacman -Rns steam
Code: [Select]
man pacman...
       -R, --remove
           Remove package(s) from the system. Groups can also be specified to be removed, in which case every package in that
           group will be removed. Files belonging to the specified package will be deleted, and the database will be updated.
           Most configuration files will be saved with a .pacsave extension unless the --nosave option is used. See Remove
           Options below.
...
      -n, --nosave
           Instructs pacman to ignore file backup designations. Normally, when a file is removed from the system, the database is
           checked to see if the file should be renamed with a .pacsave extension.

       -s, --recursive
           Remove each target specified including all of their dependencies, provided that (A) they are not required by other
           packages; and (B) they were not explicitly installed by the user. This operation is recursive and analogous to a
           backwards --sync operation, and it helps keep a clean system without orphans. If you want to omit condition (B), pass
           this option twice.
The arch page is more aesthetic, and now bookmarked.

I also tried reinstalling steam-manjaro and then removing with
Code: [Select]
$ sudo pacman -Rns steam. The files and directories:
/home/kmartin/.local/share/Steam/
/home/kmartin/.steam/
/home/kmartin/.steampath
/home/kmartin/.steampid
remained. So neather pamac or pacman removed the configs or directories.
I will manualy delete the steam relics and be done with this exercise.

Thanks again for your help Handy, you are a gentleman and a scholar.

martin
« Last Edit: 14. January 2016, 08:13:40 by kmartin »

Offline handy

  • Global Moderator
  • *****
  • Posts: 5738
  • Desktop: Openbox 3.6.1-3 & Worker :)
  • GPU Card: intel...
  • GPU driver: open-source
  • Kernel: OpenBSD
  • Skill: Intermediate
Re: Remove uninstall delete steam completely
« Reply #3 on: 14. January 2016, 08:15:03 »
As I said, there are always exceptions to the rules & I guess its understandable that Steam would be likely to be one of those.

Glad you got it sorted. :)
The ultimate tyranny in a society is not control
by martial law. It is control by the psychological
manipulation of consciousness, through which reality
is defined so that those who exist within do not even
realize that they are in prison.
  —  Barbara Marciniak

Offline Strit

  • Maintainer
  • ***
  • Posts: 746
  • Manjaro Torrent Maintainer
    • Strits.dk
  • Branch: Stable
  • Desktop: XFCE
  • GPU Card: GTX 760 OC
  • GPU driver: Non-free nvidia 361
  • Kernel: 4.4.8-1-MANJARO
  • Skill: Intermediate
Re: Remove uninstall delete steam completely
« Reply #4 on: 14. January 2016, 09:29:08 »
Btw, the packages "steam" and manjaro-steam" are different packages.

The steam package, is the Arch Linux version, from thier repo's. It's a vanilla steam installation.

The manjaro-steam package is a Manjaro specific package only found in the manjaro repos. It has some customized stuff in it, to better function with manjaro, and give a better user experience.

So if you installed manjaro-steam, and run a "sudo pacman -Rns steam" you'd probably only remove some of it. And the config did not get removed, because they where not created by the steam package, but by the manjaro-steam package.
Desktop PC: Manjaro XFCE 15.12 (stable, kernel 4.4)
Private Laptop: Manjaro Strit 16.03 (unstable, kernel 4.6)
Work Laptop: Manjaro Strit 16.03 (stable, kernel 4.4)
Netbook: Arch Linux XFCE/LXqt (i686, kernel 4.0)

Offline kmartin

  • Vollwertiges Mitglied
  • ***
  • Posts: 203
  • Branch: stable
  • Desktop: Xfce 4.12.3
  • GPU Card: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
  • GPU driver: video-intel 2013.01.12 true PCI
  • Kernel: 4.2.8-4.1-MANJARO x86_64
  • Skill: Novice
Re: Remove uninstall delete steam completely
« Reply #5 on: 14. January 2016, 18:16:19 »
Thank you Strit for the clarification. I was indeed sloppy using
Quote
steam
instead of
Code: [Select]
steam-manjaro. :-[ After I reinstalled steam-manjaro i used the command:
Code: [Select]
$ sudo pacman -Rns steam-manjaro( I checked bash history).
I hope that I did not muddy things too much with my misuse of steam and steam-manjaro. sorry... :-[