Snaps and Flatpaks (SOLVED)

Post Reply
benali72
Posts: 57
Joined: Thu Oct 01, 2020 3:41 am
Been thanked: 17 times

Snaps and Flatpaks (SOLVED)

Post by benali72 »

I worked on refurbishing a 6 yr old computer this weekend. It ran Kubuntu pretty well but, unfortunately, the person who had it before me had installed snaps.

Snap services added 25 seconds wall time to the boot process. And then when you tried to load a snap product, like a browser like Firefox or Chromium, ouch again! More than 15 seconds to get a browser up and running.

I kind of concluded that snaps and flatpaks may be great for ease of use, elminiating shared library problems, etc. But they're pretty bad from the performance standpoint, at least on older computers.

Anybody else have a similar experience?

Last edited by benali72 on Sat Jun 11, 2022 10:08 am, edited 1 time in total.
User avatar
Grey
Posts: 2052
Joined: Wed Jul 22, 2020 12:33 am
Location: Russia
Has thanked: 77 times
Been thanked: 387 times

Re: Snaps and Flatpaks

Post by Grey »

benali72 wrote: Tue Jun 07, 2022 6:13 am

But they're pretty bad

The thing is that the subject under discussion is "crutches". You can walk (use)... but it is extremely inconvenient and only in extreme circumstances.
A healthy person (a confident user) should avoid using medical "stuff" in every possible way for no reason ;)

Different devices. Different approach.

User avatar
mouldy
Posts: 592
Joined: Tue Dec 08, 2020 3:53 pm
Has thanked: 38 times
Been thanked: 170 times

Re: Snaps and Flatpaks

Post by mouldy »

Whats annoying some linux version software now only offered as snap/flatpak. I get it they want to make it as idiot-proof and as linux universal as possible, but its annoying and they can be extremely huge. I havent tried taking one of these apart.

Now the appimage, they offer some portability without being super sized. So for somethings they make sense.

Clarity
Posts: 4067
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1711 times
Been thanked: 554 times

Re: Snaps and Flatpaks

Post by Clarity »

Yes, Snaps, Flatpaks, Appimage, and portables intend to relieve the confusion associated with Linux app installation, setup, and use, as well as the package managers for any given system. ALL have advantages AND disadvantages.

Use whatever that you find comfortable in adding, setup, access, and/or performance.

User avatar
wiak
Posts: 4249
Joined: Tue Dec 03, 2019 6:10 am
Location: Packing - big job
Has thanked: 70 times
Been thanked: 1261 times
Contact:

Re: Snaps and Flatpaks

Post by wiak »

Clarity wrote: Tue Jun 07, 2022 7:16 pm

Yes, Snaps, Flatpaks, Appimage, and portables intend to relieve the confusion associated with Linux app installation, setup, and use, as well as the package managers for any given system. ALL have advantages AND disadvantages.

Use whatever that you find comfortable in adding, setup, access, and/or performance.

I only ever use snaps or flat packs as a last resort. Even some packages that now officially come in snap form from Ubuntu repositories usually have someone's private PPA that doesn't need huge snap (chromium for example). Of course you have to check private PPA trust reputation. I certainly don't want to encourage every package to become snap or similar.

https://www.tinylinux.info/
DOWNLOAD wd_multi for hundreds of 'distros' at your fingertips: viewtopic.php?p=99154#p99154
Αξίζει να μεταφραστεί;

User avatar
bigpup
Moderator
Posts: 7298
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 951 times
Been thanked: 1615 times

Re: Snaps and Flatpaks

Post by bigpup »

For snaps slow to load.

Found this:

In my case, removing the .local/share/flatpak folder and restarting the session fix the problem.
After that snap apps run just in a second

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

benali72
Posts: 57
Joined: Thu Oct 01, 2020 3:41 am
Been thanked: 17 times

Re: Snaps and Flatpaks

Post by benali72 »

mouldy wrote: Tue Jun 07, 2022 6:29 pm

Whats annoying some linux version software now only offered as snap/flatpak. I get it they want to make it as idiot-proof and as linux universal as possible, but its annoying and they can be extremely huge. I havent tried taking one of these apart.

Now the appimage, they offer some portability without being super sized. So for somethings they make sense.

Hear, hear! I think if the person who had the computer before me had installed the browsers natively, instead of as snaps, they would have loaded and performed better.

But I looked in the Kubuntu repository, and snaps were all it offered for browsers and many other programs. So essentially, if you use Kubuntu these days, you will use snaps (unless you go to a lot of trouble to avoid it).

Bigpup, thanks for the tip! I tried it and it seemed to help somewhat for flatpaks, but not for snaps.

benali72
Posts: 57
Joined: Thu Oct 01, 2020 3:41 am
Been thanked: 17 times

Re: Snaps and Flatpaks

Post by benali72 »

In the end, here's what I did to solve the problem of slow snaps on that computer I've been refurbishing.

I listed which apps are installed as snaps -- snap list

After identifying them, I deinstalled them. I followed the instructions here -- https://askubuntu.com/questions/1280707 ... stall-snap

Then I re-installed them as regular apps, through commands such as -- apt-get install firefox

This worked fine on my computer (although I read that it can get complicated for removing certain apps, as shown in this blog about how to remove the Chromium snap https://blog.pagefault-limited.co.uk/re ... eb-package ).

I read that Canonical invented snaps and that they now litter their repository. IMHO, that's not good if you're looking to install Kubuntu or Xubuntu on an older computer and need speed. It's sure nice that Puppy avoids these problems.

Post Reply

Return to “Off-Topic Area”