Oh man, let me tell you about this little adventure I had today with my Linux machine. So, I’ve been messing around with different apps and stuff, trying out new things, you know how it is. And somewhere along the line, I ended up with Flatpak on my system. Don’t get me wrong, Flatpak’s cool and all, but I realized it just wasn’t my cup of tea. It’s those containerized apps, they take up a bit more space, and honestly, I like keeping things simple.
So, I decided, “Alright, time to get rid of Flatpak.” First, I wanted to see what Flatpak apps I even had installed. A quick “flatpak list –app” in the terminal, and boom, there’s the list. Each app has an ID, kind of like a name tag.
Then came the fun part – actually removing these apps. I used “flatpak uninstall –delete-data” followed by the app ID. For example, if there was an app with ID “*”, I typed “flatpak uninstall –delete-data *”. Hit enter, and poof, the app was gone. I did this for each Flatpak app I had installed, it was kind of like cleaning up a closet.
But I wasn’t done yet. I wanted to remove the whole Flatpak setup. After a bit of searching, I found out I could just remove the ‘flathub’ remote, which is like the main source for Flatpak apps. So I typed “flatpak remote-delete flathub” and that was it. I thought that if I wanted to be thorough, I could also look for any Flatpak-related packages. I ran “sudo dpkg -l grep flatpak”, it gave me all the packages related to flatpak, then I used “sudo apt-get remove –purge” followed by the package name to get rid of each one. I felt like a digital janitor, sweeping up all the leftovers.
And that’s pretty much it! My system is now Flatpak-free. It was a nice little project for the day, and now my Linux setup feels a bit cleaner and more to my liking. Plus, I learned a few things along the way, which is always a bonus. Who knew cleaning up your digital space could be so satisfying?