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?

  • Leaflet@lemmy.world
    link
    fedilink
    English
    arrow-up
    14
    ·
    3 months ago

    Most package managers do not touch your home directory, so they will not delete user data. That needs to be done manually.

    Snap and flatpak are exceptions, with an optional argument they will also delete the app’s folder (~/snap/appName for snap, ~/.var/app/flatpakID for flatpak).