I recently installed chromium, created a new user and logged into a website. After my work was done, I removed chromium with “sudo dnf remove chromium”.

A few days later I installed chromium again through dnf. My user account was still there and I was logged into the same site.

Is there a way to avoid this and uninstall an app along with all its user data?

  • just_another_person@lemmy.world
    link
    fedilink
    arrow-up
    29
    ·
    4 months ago

    That is at the discretion of the developer who packaged it up. Linux is designed to NOT do such things by default, and is therefore more resilient to “oopsie” moves.

    • maliciousonion@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      4 months ago

      Yeah It’s more reliable in that way.

      Still, I wish there was a something like a simple flag for the package manager so I could control if user data gets preserved.

      I’m a bit surprised that that isn’t a feature.

      • Album@lemmy.ca
        link
        fedilink
        arrow-up
        8
        ·
        4 months ago

        You’d be surprised maybe how many developers don’t properly remove all files they put on your computer. Adobe is notorious for this.

      • just_another_person@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        4 months ago

        Package management isn’t intentionally separated from running code operations for a reason. If you want to do something specific like this regularly though, just write a simple two like script that handles it for you: 1) uninstall 2) rm directories.