730
Flatpak be like... (lemmy.dbzer0.com)
you are viewing a single comment's thread
view the rest of the comments
[-] swearengen@sopuli.xyz 26 points 6 months ago* (last edited 6 months ago)

Yeah storage is cheap but I last reformated my boot drive in 2017 so my root partition is 20GB and now I have no room for Flatpak. Now I could just resize it but wheres the fun in that.

TL:DR "A 20GB root partition ought to be enough for anybody."

[-] Takios@feddit.de 16 points 6 months ago

You can have flatpak install it's stuff into your home with the --user flag.

[-] NaoPb@eviltoast.org 8 points 6 months ago

I feel your pain. Flatpack can really ruin partitioning strategies.

[-] AProfessional@lemmy.world 4 points 6 months ago

It has an installations feature to use any location, as well as users home by default.

Before I realized you could install as user and have it install on your home drive I just symlinked the install directory where i wanted to.

[-] lambalicious 1 points 2 months ago

To be fair it's 2024 and I'm still doing this, because adding an alternate location to install flatpaks in results in Flatseal not being able to detect those apps or edit those permissions. Just setting the default location as a symlink to where I want to magically fixes everything.

[-] Blue_Morpho@lemmy.world 7 points 6 months ago

I seriously want to switch some of the small distros like tinycore as a daily driver.

1GB of RAM and 4GB disk space is more than enough for all but the most bloated apps.

[-] Johnmannesca@lemmy.world 6 points 6 months ago

I've put steam on a librebooted chromebook with similar stats, it has to install games on a usb drive/sd card but it works quite well even for casual linux gamers

[-] Churbleyimyam@lemm.ee 1 points 5 months ago

Which Chromebook did you use?

[-] Johnmannesca@lemmy.world 1 points 5 months ago
[-] rickyrigatoni@lemm.ee 6 points 6 months ago

i just gave up on that and have everything i can on one partition

[-] acockworkorange@mander.xyz 3 points 6 months ago
[-] rickyrigatoni@lemm.ee 9 points 6 months ago

I use SSDs so it's pretty quiet actually

[-] acockworkorange@mander.xyz 5 points 6 months ago
[-] limelight79@lemm.ee 3 points 6 months ago

I was starting an install of Debian the other day, and it suggested 25 GB as the root partition (including /usr, but not /var, /home, or /tmp). I had to laugh. My server has a 50 GB partition for that purpose and it's around half full.

I aborted the installation. Might try again later today. (Switching this machine from Kubuntu, using a new drive, so it's not critical that it be done at a certain time.)

[-] dan@upvote.au 2 points 6 months ago

Depends on what you run on the server. A lot of the VMs I use for https://dnstools.ws/ have 5GB space and they use less than 2GB of it. They don't have much installed though.

[-] limelight79@lemm.ee 1 points 5 months ago

I was mistaken in my earlier comment. It's my desktop machine that has 50 gb for everything but home, and it's running very short on space. The server, which is what I thought I was thinking of, has 25 gb for / (not including /var, /tmp, or/home) and I'm using just over half of that space.

[-] MonkderZweite@feddit.ch 1 points 6 months ago

Format with btrfs if you use flatpack, it has deduplication.

[-] limelight79@lemm.ee 5 points 6 months ago

I have to admit, I only have the barest understanding of this flatpak, snap, docker, etc. business. I've been using Linux since the late 90s and missed this development. I haven't been following what was happening in the development end, I suppose - in part because there isn't that much need to, because Linux has gotten so good.

But while I'm a power user (hey, I used Slackware until about 2015), I've found that I much prefer not having to spend hours and hours administering my machines every few weeks or months.

Sorry for the long comment. But this has been bugging me for a long time and you triggered me. No need to try to answer my questions if you're not feeling it, I'm just dumping. You can stop reading here, if you like.

I've used a few appimages for limited cases - BalenaEtcher to burn HomeAssistant on to SD cards for my Raspberry Pi, and I think the scanning software I use is also an AppImage. The idea of having the libraries and binaries all together for certain things is a good one for certain cases, such as software I do not use regularly. BelenaEtcher strikes me as a perfect use case for appimage, because I don't want to spend time installing Balena and keeping it up to date or uninstalling it, when I'm only likely going to use it once or twice. I never even move it out of my Downloads directory, just download, run, and delete.

Ubuntu (I use Kubuntu) moved Firefox to a snap image some time back. I get it, sandboxing, not a bad idea. But I'm pretty sure I had one installed by root, and one erroneously installed by my user account, possibly caused by forgetting to "sudo" during an update one day (I'm really not sure how it happened). And that latter one, if it existed, was almost certainly sitting in my /home directory somewhere, because my user account doesn't have authority to write to /usr or /opt or anywhere like that. I didn't plan to install software in /home, and didn't allocate space for it, and don't really like the concept in general. (I've switched debs for Firefox, and think I got the snaps for it cleaned up.)

If we're going to do images installed by users, /opt seems like a much better choice, albeit with some controls - maybe /opt/username/ with permissions set by user; I'd be okay with the user account being able to install there and being unable to screw up system files. My current backup strategy involves grabbing everything in /home with a few very specific exceptions, and clearly I don't need the current release of Firefox on my backup.

I have OpenProject (community edition) installed for keeping track of a restoration project I'm working on, and I'm pretty sure I used docker to install it. I have to admit it was easy to install (but so are debs 99.9% of the time), but now I'm wondering about the best way to get the data back out so I can migrate that software to my server (it's running on my desktop because my server was that 2008 computer). I assume I can backup and restore, but I haven't yet looked into this. Or heck, maybe it's possible to just move the Docker image, the way I moved the HomeAssistant KVM image. It looks like the data is stored in a separate volume (which I interpret to mean a file that acts as a virtual disk, similar to how KVM has a virtual disk for the OS and apps in the virtual machine). Also, I'm not clear if docker images automatically update or if I should be updating them manually.

Then there's Zwift. Zwift is a virtual cycling program that runs on Windows, Mac, Android, and iOS. No Linux client, which isn't a surprise. I have a whole Windows 10 computer in the basement that only runs Zwift, and it's my only Windows machine that I use. But, someone created a docker image of Zwift! I tried it on my Linux desktop machine a while back, and it worked. Very cool! But Zwift updates the program regularly, introducing new bugs and features - does the maintainer of that image have to do anything? What if he or she loses interest? It'd be nice to ditch Windows, but I have no idea if that docker image will remain usable indefinitely.

I think Zwift is using Wine to run. So it seems the docker image for that has the Zwift Windows client, some Wine libraries, and everything supporting Wine is already supplied by the Kubuntu install...but I'm really not sure. Theoretically I don't need to know, until something breaks.

I have yet to use a flatpak, I think.

I've considered asking about all of this in the Linux community here on Lemmy, but there's probably an article with an overview of it somewhere, and I just need to search for it.

[-] 0x4E4F@lemmy.dbzer0.com 5 points 6 months ago

WTF!? Didn't know you could post dissertations here!

[-] limelight79@lemm.ee 2 points 6 months ago

LOL sorry. It's closer to an unhinged rant, though. :)

[-] 0x4E4F@lemmy.dbzer0.com 2 points 6 months ago

Dude, seriously, your post crashed Jerboa 🤣.

[-] limelight79@lemm.ee 1 points 6 months ago

LOL nice. That's...uh...kind of a surprising bug.

[-] Samueru@lemmy.world 1 points 6 months ago* (last edited 6 months ago)

I’ve used a few appimages for limited cases - BalenaEtcher to burn HomeAssistant on to SD cards for my Raspberry Pi, and I think the scanning software I use is also an AppImage. The idea of having the libraries and binaries all together for certain things is a good one for certain cases

This very much, I use an appimage for gimp because I'm not fucking putting GTK2 in my system lol.

Also if steam came as an appimage with the 32bit libs and a patched glibc it would be amazing, it would save so many headaches for everybody, one can only wish though.

Also they support a portable home, so steam can be on a different partition with all the games and its own user files independent of the distro/home you are using.

[-] AProfessional@lemmy.world 2 points 6 months ago

Flatpak is already deduplicated.

[-] 0x4E4F@lemmy.dbzer0.com 1 points 6 months ago

Yeah, but you have to dedup manually.

Conpression is nice though, zstd at 10 is perfect.

this post was submitted on 15 Mar 2024
730 points (96.1% liked)

linuxmemes

20680 readers
530 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS