Want to remove data from a software package on KDE Discover

I want to remove all data from an application I removed a while back but I am having problems doing this since the original data automatically comes back even after removing the software and reinstalling it to see if the data still comes back.

There used to be an option to remove data after uninstalling an app from KDE in its GUI but its seems to not be a feature anymore in its GUI as well for some reason.

Any ideas on how to properly remove the softwares contents?

The option to remove application data in KDE’s discover is limited to applications installed via flatpak. if this option is missing, it likely means you’ve installed the application from a traditional RPM repository.

If the application’s data is present after reinstalling it, then it’s either the applications packaging that’s provisioning the data, or the application itself.

Without knowing any specifics, it’ll be hard to say if what you’re seeing is intentional behaviour for said application.

1 Like

Ah okay that’s fair enough, I installed Steam via the Fedora Linux package, not the flathub or flathub (user) option. Is there a way to remove the data from the Fedora Linux version?

When you say data here, I assume you mean the ~/.steam directory? if you’ve uninstalled steam you should be able to safely remove that directory

1 Like

Ah yeah I do mean the ~/.steam directory. But I cannot remove the data from the folder even after removing steam since when I reinstall steam all the data comes back for some odd reason.

My two cents:

  • usually when you remove an appication from a “linux” system the directories in “/home” are NOT deleted. You must proceed manually.
  • If you delete files and then they come back I guess they are stored on some sort of backup and they are restored from there.
1 Like

ok so a few questions:

  • Are you explicitly deleting the folder ~/.steam?
  • After you reinstall steam, do you launch it?

Steam provisions the contents of ~/.steam on launch.

Yes to both of those questions. I remove rpm steam, then delete ~/.steam and then reinstall steam then launch it and then all data comes back.

And as far as I can see, ~/.steam contains a bunch of binaries, i.e. the actual software, not only the “user data”?

I believe this is expected for steam.

If you don’t want that data to be there, don’t launch steam.

Yeh from what I can tell the steam RPM package has a wrapper for the steam update agent which fetches all the runtime stuff and dumps it in ~/.steam.

1 Like

I am trying to delete data of my old steam account from RPM’s steam and it doesnt seem to want to do this for some reason. I want to get RPM steam back to its default state but it doesnt want to

Ok so the core of your question is: “how do I fully reset steam”.

it’s been a while since I last used the RPM installation, but I believe it also stores data at ~/.local/share/Steam and ~/.local/share/steam-wrapper

you might want to do something like find -name "Steam" -or -name "steam*" from your home directory to see if there’s anything else you might have missed.

1 Like

Ah i’ve found ~/.local/share/Steam but no ~/.local/share/steam-wrapper

what will i have to do from here to fully reset steam?

1 Like

If you delete the ~/.local/share/Steam and ~/.steam directories, that should be enough.

1 Like

Ah sweet, I think its worked. I also used steam --reset as well and it seemed to fix the problem.

I do see that my old steam games still show in my application launcher even though they aren’t in and directories from what i see for some reason

But yeah, when it comes to RPM packages, delete the ~/.local/share/Steam and ~/.steam directories and run Steam --reset

Thanks for helping me out guys

Also I do not know why RPM doesn’t just implement the data deletion feature like with flathub and flatpak, I wish they would look into that

1 Like

They may be left over .desktop files in ~/.local/share/applications

1 Like

ah sweet, thank you so much for helping me out with this, it meant alot