For context: I habe a PC with an 8gb SSD and I somehow need to get an app on there that only has a flatpak release
Flatpak seems to be the best choice for consistency and to have it working straight out of the box. I think Linux currently needs this because we’re getting a lot less tech-savvy Linux users nowadays. Don’t get me wrong; package managers should still be used, but how are we going to get people to change if they run into package conflicts or accidentally uninstall a wrong package?
And universal compatability. One repo, for all distros. That’s a big plus too!
Great… Now, you just need to convince the big distros to do that… Easy!!!111
Well, that’s the neat part. We don’t need to do that because what Flatpak does, doesn’t matter for them. People can just install Flatpak in their system and they have access to everything. I realise for system components it’s a different story, but that’s not the use case, it’s for applications.
Edit: typo.
Thats… the point of flatpak.
That’s called having just one distro.
It’s useful, but it isn’t the best option for everyone, so other options should be available.
Why would you want the app devs to make that? The whole problem with distro-specific packages is having to package for multiple formats and it’s a painstaking process that really isn’t worth any amount of time investment at all. If you’re an app developer, you’d much rather just make a universal package and hope that some distro package maintainer packages your app for their distro. That’s just basic common sense…
Because Flatpaks can’t share libraries or anything. It creates a lot of bloat that doesn’t need to be there. It’s great for users that want to make sure the app will always work, but it isn’t great for being efficient.
This is just a straight up lie. Flatpaks do share libraries, both as runtimes (as seen even in the screenshot here) and through deduplication between different runtimes and runtime versions. There’s usually very little bloat, if any, especially if you use Flatpaks a lot, which you probably should, given the huge number of advantages especially with proprietary apps.
I just what to install an app. I don’t want to spend an evening figgering out how to get a PWA to install. I don’t want to consult a form or your git repository to install some package I will use once and will be patched out in the next version.
8GB SSD
There’s your problem. The last time 8GB was plenty was in 1998.
Even cheap SD cards are larger these days. The smallest SSD you can buy in the UK right now is 250GB.
Amazon sells 24 GB ones…
Oh really? Wow! Still 3x more than 8GB though :)
Yeah, TinyCore Linux needs 16GB I think. 8GB you might run BusyBox or something
Yup. Those 64 GB SSDs many retailers put into cheap laptops already come dangerously close to violating the Geneva Convention. 8GB is just stupid, even for a Linux system.
If I ever have to use a laptop with 64GB of space, I’m following the Geneva Checklist :3
Are they booting of an SD card? Mabey is a Pi or WiFi router?
No need to hate on someone for their hardware.
Reading through the comments here, the Linux community slowly seems move away from “runs on about every piece of hardware you can think of” to “if you don’t have at least the Nimbus 2000 that’s on you, sucker!”
Gotta run FFMMLXIV at 94fps and 173hz @3890x2669 resolution otherwise you’re betraying the “Linux is the best gaming OS” movement we’ve all sworn fealty to.
don’t wanna be mean to any demographic but it’s literally the windows gamer converts. Not all of them though. At the same time that kills the other linux elites of “you don’t compile gentoo from scratch on every system?” so…
Compile it yourself?
Compile it yourself.
Instructions unclear. Cmake ninja tool chain uses another 8gb and still get compile errors
deleted by creator
Use the flatpak and see if you like it, then compile it yourself.
Oh lmao, I decided to look into this. https://github.com/flathub/com.ktechpit.torrhunt/blob/master/com.ktechpit.torrhunt.yaml
Looks like it just downloads the .snap package (directly from Canonical’s website) and extracts it. It’s also, of course, completely closed source so who knows what it’s doing when it’s running.
oh wow that’s way worse than the crappy one he said in his actual post… He said a totally different software. He’s trying to run several things on this machine lol
did you see those little
<
in front of the download sizes?org.kde.KStyle.Adwaita
,org.kdePlatform.Locale
,org.kde.Platform
andcom.ktechpit.torrhunt
won’t be fully downloaded as those are possibly already installed and can be reused, so in the best case you only downloadorg.freedesktop.Platform.GL.nvidia-570-86-16
fully.There’s also deduplication across the different files. So you could even end up with less overall size over time if you use Flatpaks for everything.
I habe a PC with an 8gb SSD
Are you using a first gen eeePC?
I think I bought one of those for 40€, 12 years ago.Man I miss the netbooks! Loved my Mini 9
In an alternate universe, phones with a fold-out hardware keyboard and full Linux OS are common.
And you can just plug them into a docking station to get a full PC.That alternate universe is this one in 2009… https://en.wikipedia.org/wiki/Nokia_N900
I put OSX on mine. A $200 Macbook mini was a cool project and a neat conversation piece.
Are you me? I hackintoshed mine too for a while! Was still alternating between OSX and Linux at the time.
I wish I had moved to Linux sooner. I was in IT at the time and only saw windows and OSX in the wild. Servers were all windows except for one xserve. I still to this day have no idea what that server did for that customer. My only real experience with Linux at that time was FreePBX when setting up phone systems for offices.
Its a Fujitsu futro s920, got it off ebay
Flatpaks implement deduping, so they actually don’t take that much space when installed.
I habe a PC with an 8gb SSD
I think I found your real problem.
Didn’t know about that, how exactly is that implemented?
its barely legible but isnt that still less than a gb? where you you even get an 8gb ssd? why would you use one outside of some specialized embedded application that shouldn’t even have a desktop interface? and even then why not something lighter than kde or gnome
where you you even get an 8gb ssd
I bought a Fujitsu thin client for 30€, and I decided to spend the 5€ extra to get one with a drive (making it 30€ total.
why would you use one outside of some specialized embedded application that shouldn’t even have a desktop interface?
-
I have way too much free time
-
I have no money
-
Originally it should only have been a minimal void Linux install so it can connect to my local server via RDP. But I just realised that that futro s920 with 4 1,5ghz cores is actually way faster and more reliable than my 4th gen Intel i5 will ever be
and even then why not something lighter than kde or gnome
I ssh’d into the PC. It runs xfce4, and it is just made to display shortwave (an Internet radio player) in full screen on a cashier terminal screen that I ripped from the terminal assembly. I just needed the cheapest thing to run shortwave on so my father has an Internet radio, since the other 2 options were
-
buy a big ass Antenna for his normal radio, or
-
buy a used Internet radio for 200€ (this way it only cost about 90€), wait until its Server is shut down, and then somehow with a mix of wireshark, dns logging, and pure luck somehow locally rerout the domain that the radio tries to connects to, figure out what kind of json file I need to host on my local server in order to make it refresh it’s database of Radios, and maintain these IPs forever.
also, please note, the image is in no way connected to this project, it just reminded me of it
Maybe get the cheapest micro sd card or usb drive you can find and install it on there? You could probably double your storage size for a couple of euros!
-
Yeah flatpak won’t work on my Nokia 3310 either, what a shit software…
Edit: if you upvoted this comment, your kneecaps pop when you pick up things from the ground
I’m too old to pick up stuff from the ground, I use one of them claws on a stick. Also, the 3210 was a nice phone while the 3310 was for the hip kids.
Pff, they’re already doing that for past few years =\
Why the hell do you only have 8GB? Are you trying to install flatpaks on a smart fridge?
Sort of, actually
I was trying to build a PC just to play internet radio on using Shortwave, and a 30€ thin client with 4 1,5Ghz cores and no active cooling, 4 gigs of ram and an 8gb ssd were more than enough for that
I didn’t even know ssd’s(nuts) that small existed
deleted by creator
It was subtle. It was well-done. Roasted, even.
Maybe it’s an eMMC chip on an embedded device?
For your use case, building from source might be more practical.
look into NixOS! there might already be a package for it. and NixOS can be very good about not duplicating dependencies.
I had a 200 gb ssd on my laptop and kept running out of space because all the old generations from nixos,
nix collect-garbage
, comrade! there’s also another command to clean up older generations. if you’re using git to version your nix config, you only really need to keep two generations: the current, and your last successful boot, since you can recover by git checkout.
this? https://gitlab.gnome.org/World/Shortwave
I think on a system like that you shouldn’t even run a GUI or a window manager at most. What is the service that is actually using though, it links to this https://www.radio-browser.info/ I guess I see you can play stations directly from that. It seems it makes more sense to use like lynx browser or something to just browse that website directly.
I’ve clicked like 10 of them they are all mp3 or aac. mpv or vlc can decode those on the command line and play it with using like 15-100mb of space on your storage. Like this random station for example https://stream-uk1.radioparadise.com/aac-320
all in all your total install should be like 400mb
It is not for me personally, but for a person who wants a gui. And a Touch screen. Also I need an on Screen Keyboard because he also does not want to use a keyboard or mouse.
I tried using a very simple compositor like cage to just start shortwave, but I couldnt get my Keyboard to work since it needs gnome accessibility runtime to automatically show when clicking a text field.
And also xfce is more than light enough not to take up more than 1-2 secs of the total boot time
The flatpak thing was just the jellyfin-media-player so I can play my music from jellyfin too, but I guess ill just set up DLNA so I can stream to the device from my Phone
oh you can run the https://github.com/jellyfin/jellyfin-mpv-shim and then just install MPV
Great, thanks
Yes absolutely true, but also no.
https://gitlab.com/TheEvilSkeleton/flatpak-dedup-checker
For me it is 32GB of data with deduplication, and only like 25GB with BTRFS compression.
So while still way too much, not really a problem if you have a reasonable 50mbits+ internet connection and a 200GB+ SSD
There should still be waay more force. There should only be one runtime (FDO) and KDE and GNOME being extensions to that. Not sure if these perfectly dedupe though
Hope you don’t find out about Snaps
“maybe a software being excessively bloated isn’t a good thing”
“just buy more storage bro”
B*tch. i live in a third world country, with limited internet and data plan, and also is still a student. If i can just buy more storage and better hardware i will.
Lol kinda wild to me seeing flatpak hate as a new Linux user (running fedora with kids). Flatpaks have just worked for me and it’s been fantastic
If you’re new to Linux, then your probably not familiar with the full Linux community yet. Much like in real life, online Linux spaces tend to have a very loud minority of conservatives who hate progress.
Usually you’ll see them hating on things like systemd, 64bit architectures, containers, new packaging systems (like Flatpak), immutable and experimental distros (like Nix), Wayland, “bloated” desktops like KDE or Gnome, and much more.
And just like in real life, the antidote is to not take another person’s word for it. Do your own homework/try things out yourself and arrive at your own conclusions.
whoa look at mr rich boy here with a drive that costs more than $2 on ebay
Flatpaks work great on my laptop, but they have can have issues if you use multiple hard-drives or partitions. Especially for gaming.
There’s very good reasons that app developers focus on flatpaks, which mostly revolves around how incredibly terrible the experience is creating native packages for each distro and each release version of those various distros.
Flatpak used to be problematic, but even a loud hater of Flatpak, Richard Brown of openSUSE, now lauds Flatpak as an excellent solution after his criticisms were addressed.
Yes, I personally use flatpak because I want a reliable way to update packages that are not in the native repositories. Still, I would love if it would be like snaps in the sense that I can use the native libraries and only install the app as flatpak.
Its just really frustrating to have to install the whole fricking gnome desktop again just so some flatpak can use it
damn you got ubuntuwashed, not sure if that is worse than windowashed or not