50
submitted 2 months ago by maliciousonion@lemmy.ml to c/linux@lemmy.ml

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?

you are viewing a single comment's thread
view the rest of the comments
[-] maliciousonion@lemmy.ml 4 points 2 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 8 points 2 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 4 points 2 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.

this post was submitted on 29 Aug 2024
50 points (98.1% liked)

Linux

47964 readers
1051 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS