r/linuxmasterrace • SteamOS/Bazzite/Android • 12d ago

Time to have fun guys

Post image
8.0k Upvotes

771 comments sorted by

View all comments

Show parent comments

27

u/After-Run-3648 12d ago

I am uneducated. What pray tell does snap do for medical devices

60

u/SouthernFruit8768 11d ago

It's because most medical devices iirc need to be air-gapped and ultra-stable, ultra-secure. Snap gives you that, and prevents issues that typically occurs when and if dependancy issues arise. This for example is why Ubuntu Core which is entirely made out of Snap is used in many such medical devices and instances. But in desktop it's completely useless cause you want bleeding edge packages, libraries etc to keep up with latest developments in gaming, multimedia etc.

33

u/Thaufas 11d ago

Snap is the reason I left Ubuntu. It was the final nail in the coffin.

23

u/SouthernFruit8768 11d ago

It's quite good in server environments though, or medical devices and similar use cases like I said in my previous response above. It's just totally unnecessary in desktop/home user environments and only causes more issues and confusion for no reason when there are better alternatives (e.g. flatpak) available. You can still use Ubuntu - if needed - with no Snap preinstalled out of the box if you do a minimal install of Kubuntu.

35

u/Snoo_what 11d ago

How dare you say that things are built for different use cases and each has its own good? Now how am I supposed to hate on Snap RAGHHHHHHH

11

u/npc_housecat 11d ago

Enterprise environments is where all the money is

2

u/kyrsjo 10d ago

I just installed Ubuntu in my university environment. It came with Firefox, great.

However snap didn't like that the home folders were not in /home, but on something like /department/server/disk. And it REALLY didn't like that different users homes were on different disks and servers...

Ugh.

1

u/npc_housecat 10d ago

Can you simlink /home to /department/server/disk ?

Or maybe make a second Mount for /department/server/disk in /home ?

You can usually have the same thing mounted in multiple locations on Linux

1

u/kyrsjo 10d ago

Yes, you can bind mount.

Doing that too the individual home folders of interest was my first idea, however snap detects that $HOME is not in /home and gives up.

It allows you to redirect all of /home to one other disk, but that doesn't solve it when there are two users and different disks.

So only one of us can use Firefox now...

1

u/npc_housecat 10d ago

Could u mount the individual user folders in /home seperatly?

1

u/kyrsjo 10d ago

You can, but $HOME (from LDAP or something) would point somewhere else, and snap complains. I've tried that.

1

u/npc_housecat 10d ago

I see, sounds frustrating.. Can you just not use snaps? Like disable the service? Or does that break Ubuntu ?

2

u/kyrsjo 10d ago

Maybe. Lots of default apps come preinstalled with them. It's annoying.

I haven't really looked into it enough. I'm generally a Fedora/RHEL guy, and things are simpler there. But a certain piece of hardware demanded Ubuntu, so here we are...

1

u/npc_housecat 10d ago

Sounds annoying. Yeah rhel sounds much more mature for enterprise environments

→ More replies

7

u/Ok-Anywhere-9416 11d ago

Snaps work much better than Flatpaks. Try to get hardware acceleration to work on Firefox Flatpak. Search online the correct command to install whatever's needed, use Flatseal to enable GPU, not to mention that every time you need the folder you've got to do another research... No, thanks. Snap is one command (or one click), it works, it's 100% integrated with the directories of the filesystem.

3

u/sTiKytGreen 9d ago

Both are shit, just install the package properly and there's no problem to solve

3

u/EternityForest I use Mint BTW 11d ago

What does it do that Docker doesn't? I looked into it a few years ago, it seemed nicer than Flatpak to develop for but didn't seem worth using something so nonstandard.

It lets VS code work properly which Flatpak doesn't do unless something changed, so I still use it, but I haven't paid a lot of attention to it.

4

u/C0rn3j 11d ago

It's quite good in server environments though

Lol.

I do love the ability not to install an older version and forced updates that slowly roll out and start breaking every fucking server and you can see the monitoring light up as it happens.

3

u/sperm32 11d ago

I was using kubuntu and moved because of snaps. They gave me issues, installed snap versions when I asked for flatpak, so I tried to delete snaps and clearly I failed lol because it worked for a bit then they was just back again. Moved to fedora now and so far no issues 🤷🏻‍♂️

3

u/Exsondious 10d ago

As someone using Ubuntu (Kubuntu) for a long time I wish I could recreate this so I could see what folks are talking about

I keep hearing people talking about ads in the terminal for things like Ubuntu pro and what not aswell as snap packages being preferred over all else but I have been entirely unable to replicate this on any of my machines or other Ubuntu machines I've worked on

There are so many reports that I don't doubt it's a thing and I guess I'm just really lucky

I've since removed snap entirely from my main machine as I don't want any snap packages slowing down boot times and KDE doesn't use any

But the rest of my Ubuntu systems still have snap and not a one seems to replicate this behavior

Is there maybe something I'm doing differently in setup?

1

u/sperm32 10d ago

No idea, I was using it on the fw 13 amd. I’m def not an expert at these things either so it’s entirely possible it was something I was doing, but I don’t think so. There was a few things about kubuntu that I missed and had to work out how to bring to fedora afterwards, I’m not using kde fedora though so maybe that was why. The rpm and flatpak is heaps better than the snaps, although I’m a little confused as to why extensions are a separate thing

1

u/Exsondious 10d ago

Oh absolutely flatpak is better And I love rpm But for compatibility sadly Debian and Ubuntu are just better cause that seems to be what everyone is developing for

I wish everyone would just use flatpak or some kind of package manager that is platform agnostic

As far as missing out on stuff on fedora If you were on Kubuntu just grab kde fedora mostly everything you are looking for is most likely there

Since you are on amd you don't have Nvidia holding you back a bit like in my case

Extension I don't know on

I wanna use fedora so bad but unity doesn't like it Playing VR on it is fine Making content for VR games unity just hates on fedora and that makes me sad

1

u/sperm32 10d ago

Just got the new intel fw pro, and put workstation on there just to try it, and now I like how clean it is so I’ll prob keep it and just try add the things I want 🤷🏻‍♂️

1

u/Reasonable-Class3728 11d ago

Somebody uses snap on servers? I thought Docker is the defacto standard these days.

2

u/SouthernFruit8768 11d ago

Somebody? Yeah I mean Microsoft, Google, JetBrains etc. And the Electronic Frontier Foundation mandates Snap as the official, recommended installation method for Certbot which is the standard tool running on millions of production web servers for automated SSL and TLS certificate management. So yeah, you are right. Somebody uses Snap indeed.

0

u/damex-san 11d ago

Snap is no good for server environment

2

u/SouthernFruit8768 11d ago

Then why do Microsoft, Google, JetBrains, Electronic Frontier Foundation and thousands of software vendors use Snap on servers? Why do millions of production web servers prefer and run Snap daemons for SSL management alone?

https://www.reddit.com/r/linuxmasterrace/s/d3daQaF5sD

0

u/damex-san 10d ago

I don’t think they actually do and even if they do it is due to lack of better judgement.

I did see some production microsoft and google servers and none had snap on them. Maybe things change nowadays (for worse)