Slashdot Mirror


Canonical Releases Statistics Showing Adoption of Snap Packages (neowin.net)

Canonical is applauding what it calls "exceptional adoption" of snaps -- and has shared some new statistics about its whole "Snappy" software deployment and package management system. Long-time Slashdot reader AmiMoJo shared this article from Neowin: snaps are seeing 100,000 installs every day on cloud, server, container, desktop and on IoT devices, which works out to around three million installs each month. Of course, these statistics don't only take into account snap installs on Ubuntu, but other distributions too. Canonical said that snaps are supported on 41 Linux distributions including Ubuntu, Debian, Linux Mint, Arch Linux, Fedora, and many more...

Snap packages first launched alongside Ubuntu 16.04 which was released in 2016. They have several benefits over typical Linux packages, for example, their dependencies are bundled into the package making them easy to install, they get automatic updates and can be rolled back by the maintainer if issues arise, and they're sandboxed, giving the user more security.

62 comments

  1. A "snappy" result. by Ostracus · · Score: 1

    Docker has come far.

    --
    Shai Schticks:"You don't make peace with friends, you make peace with enemies"
  2. Millennials by Anonymous Coward · · Score: 0

    Relearning history one lesson at a time.

  3. not many stats by sittingnut · · Score: 3, Interesting

    apart from there being 4100 snaps, and there are 100,000( and growing) installs per day, there aren't any stats as far as i can see.
    did i miss a link?

    1. Re:not many stats by fahrbot-bot · · Score: 1

      apart from there being 4100 snaps, and there are 100,000( and growing) installs per day, there aren't any stats as far as i can see. did i miss a link?

      So... If I'm doing the math right, all the snaps will be installed in less than an hour, and then they're done - right?

      What's next?

      --
      It must have been something you assimilated. . . .
    2. Re: not many stats by Maelwryth · · Score: 2
      --
      I reserve the write to mangle english.
    3. Re:not many stats by arglebargle_xiv · · Score: 1

      Snaps? The whole thing ain't kosher. Whoever heard of a banker named Snaps?

  4. What about trans snaps? by Anonymous Coward · · Score: 0

    White male cis snaps should be banned.

    1. Re:What about trans snaps? by Anonymous Coward · · Score: 0

      ur a fag, shutup.

  5. Flatpak Snap by Anonymous Coward · · Score: 0

    Snap is dead technology, which will soon be replaced by its supperior called flatpak.

  6. Why is everyone so stupid? by Anonymous Coward · · Score: 0

    Wangtards stuck between downloading sketchy .exe and a corporate "app" store which is a shit filled ghetto. Linux users (and developers) apparently too dumb for Debian package management. Macfags ... less said about them the better.
    This is how personal computing gets killed, and turned into interactive TV.

    1. Re:Why is everyone so stupid? by Anonymous Coward · · Score: 0

      Welcome to the Idiocracy.

  7. Re:Flatpak Snap by xack · · Score: 1

    And another fad packaging format will replace that. Linux has enough packaging formats, but not enough pro media apps and games without WINE.

  8. Can someone explain? by Anonymous Coward · · Score: 0

    A "snap" is just an image with the application packaged up with the shared libraries it uses?

    How is that any different / better than merely using static linkage? In fact, static linkage seems less cumbersome.

    I must be missing something.

    1. Re:Can someone explain? by Anonymous Coward · · Score: 1

      You're missing the sweaty, unwashed, putrid scent of hipster ignorance.

    2. Re:Can someone explain? by Bert64 · · Score: 1

      A lot of modern libraries are no longer able to be statically linked... Trying to build static binaries these days can be pretty difficult for anything non trivial.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    3. Re:Can someone explain? by Anonymous Coward · · Score: 0

      Region specific encounters with a little randomness, party level should be irrelevant, however more powerful creatures less likely encountered (off course) but still regional specific.

      Like what? I don't think I've ever encountered one like that. If anything, static is always there, and dynamic may or may not be there.

      Anyway, if what you say is true of some library(ies), the right answer seems to be to fix static linkage, not to create a huge complex mess of a band-aid on top.

    4. Re:Can someone explain? by ArchieBunker · · Score: 1

      Linux is so splintered with a million libraries for everything under the sun. Eventually you'll need a program and find it uses some obscure library that nobody has packages for and that library won't compile without a dozen other obscure dependencies. Meanwhile Linux users used to complain over "dll hell" while touting their source code.

      --
      Only the State obtains its revenue by coercion. - Murray Rothbard
    5. Re:Can someone explain? by ArchieBunker · · Score: 1

      Give it a few releases and systemd will have some code for keeping track of dependencies like ldconfig used to.

      --
      Only the State obtains its revenue by coercion. - Murray Rothbard
    6. Re: Can someone explain? by Anonymous Coward · · Score: 0

      Good luck staticly linking libc

    7. Re:Can someone explain? by sn0wflake · · Score: 1

      Package formats was my breaking point. Back in 2015 I gave Linux one final chance and decided to install Fedora because it was the system that had the best hardware support at the time according to articles. Installed it... it wanted a driver for my Intel RAID card... A card that worked out of the box since Windows Vista. Yet still 5+ years later Linux still didn't support it... *deep sigh* Fine, I downloaded the official Intel driver for Linux and tried searching for the driver. Couldn't find any driver. Odd because I knew it was on the USB stick because I had just downloaded it. It took me a minute or two to realize it was in the wrong package format... because it's f-cking Linux... because who doesn't need a billion install formats? Why make things simple? I just rolled my eyes and mumbled "f-ck this shit" and installed Windows 10 instead without any problems at all. This is why Linux is such a f-cking joke. Nothing is easy, nothing makes sense, everything has to be a million times harder than they need to. F-ck Linux.

    8. Re: Can someone explain? by Anonymous Coward · · Score: 0

      Nice fake story bro. Enjoy Windows Update in Win 10 as it never fucks up or breaks anything. Certainly not 3rd party VPN software that has worked for over a decade on versions going back to Win 2000, or simply marks another lan adapter as public and now it can't route data on the lan because it doesn't have a gateway assigned. I mean who needs a networking standard to work as it should? The Windows 10 way is certainly better than those pesky standards.

  9. Bye bye shared libs? by Anonymous Coward · · Score: 0

    their dependencies are bundled into the package

    So everything is statically compiled?

    The only package manager that doesn't suck is portage. Everyone else is doing it wrong.

    1. Re:Bye bye shared libs? by Anonymous Coward · · Score: 0

      portage today has issues though. For example, it's always whining about use flags not being enabled instead of conforming the system to them like it used to years ago. I spent lots of time I shouldn't have to trying to untangle circular depenencies that really aren't circular if portage would simply conform the system to the new USE flag settings. For example, if I set -X globally, to remove X, it should remove all packages with a hard dependency on xorg, and rebuild those with optional dependencies. The old emerge -Du --newuse --reinstall changed-use bit isn't as potent as it should be.

      I still like and run gentoo, but it's not what it used to be.

    2. Re:Bye bye shared libs? by Anonymous Coward · · Score: 0

      roffly. they ALL suck. especially anything named portage. its 2018.

  10. I hate snaps by TimMD909 · · Score: 4, Insightful
    Snaps waste space and mount a thousand unnecessary folders. Seriously, type "mount" after a few shit snaps have run. It's fucking ridiculous. Why the fuck does gnome calculator require a snap and mounting folders? It's a fucking calculator app. Next thing they'll package up bash into a snap for maximum stupidity.

    Bragging about the spread of snaps is like bragging about how you helped the spread of HIV, plague, or My Little Pony.

    1. Re:I hate snaps by Anonymous Coward · · Score: 0

      Why the fuck does gnome calculator require a snap and mounting folders? It's a fucking calculator app.

      Because of Gates' Law: Every 18 months, the speed of software is cut in half and the resources required doubles.

    2. Re:I hate snaps by Anonymous Coward · · Score: 1

      That the calculator is now a snap is unparalleled idiocy. When I first installed Bionic (where the calc is now a snap installed by default), and I first started the calc, it wouldn't start. I clicked and clicked the icon and nothing happened. I went to file a bug report but then (after a minute or so) it appeared (for each click I made).

      That's when I discovered that it was a snap and that first run of a snap does a whole bunch of who know what behind the scenes which took ages. Over a minute to launch the calc?! NO WONDER THEY NEEDED SYSTEMD TO CUT DOWN ON BOOT TIME.... since they plan to balance out those gains with hefty overhead from this crap!

    3. Re: I hate snaps by nnull · · Score: 2

      Because it's the cool thing nowadays. Apples apps all have their own individual folders independent from one another so the other app can't see the other. It's so cool because then I can never find my files, or if the app developer decides to make it paywalled, I can't access my stuff! I love it!

    4. Re:I hate snaps by bsolar · · Score: 1

      Does the excessive mounting actually causa problems, e.g. degrading performance since it doesn't scale well?

    5. Re:I hate snaps by Anonymous Coward · · Score: 1

      I can't speak to scaling and performance, but one thing it certainly does is create a usability issue.

      When i type "mount", I can see at a glance what my system configuration is when there are 5 or 8 mounts. When the list becomes so long that it scrolls over multiple pages of console window, things are more obtuse and suddenly it's much harder to internalize what my system is doing.

      And yes, for those wiseguys out there, I know about grep. That doens't address the complaint about mount-spam.

    6. Re:I hate snaps by Anonymous Coward · · Score: 0

      have you seen the piece of shit the windows calculator 'app' has turned into from its former 50 kb (win95 file size) single executable? even on windows 7 x64 it was only 900 kb with all its extra features and still a single exe. linux and snaps isn't the only place this overbloated bullshit is happening in.

    7. Re:I hate snaps by dremon · · Score: 3, Interesting

      Snaps are read-only squashfs images and so are mounted. It's not 'thousand unnecessary folders', what are you talking about? I have installed Spotify, Slack, Freemind, Intellij and Signal, there is normally just one mount per app, sometimes I see two (for previous version). Calculator is probably an overkill but the apps I use are handy, no need to lookup for 3rd-party apt repositories and deal with dependencies and binary compatibility across distros.

    8. Re:I hate snaps by rtkluttz · · Score: 1

      As do I. Its the lunacy of app stores coming to PC's. The OWNER of the PC controls its security, not the app developer or OS developer other than writing secure code that is hopefully open source so other people can confirm.

      --
      Digital is, by definition, imperfect. Analog is the way to go.
    9. Re: I hate snaps by TimMD909 · · Score: 1

      Thank you. The catharsis from knowing someone else knows my pain helps.

    10. Re:I hate snaps by Anonymous Coward · · Score: 0

      I think snaps have their place too. They make lots of sense in the case of big applications, i.e. QtCreator and the Qt development environment.
      First you can have the latest greatest version for developing without risking to break your installed distro.
      Second, they are compressed, and that is always welcomed in my laptop.
      What is nonsensical is packing the gnome calculator as one.

    11. Re:I hate snaps by Anonymous Coward · · Score: 0

      If snaps are the way forward, then by the love of Pete, can they change df and mount to hide them by default? I absolutely hate snaps and refuse to use them for this exact reason.

  11. Coming next to your commandline by Anonymous Coward · · Score: 0

    How soon before systemd is somehow tied together with its own package management system? systempkgctl anyone?

  12. I have a packaging system. by Anonymous Coward · · Score: 0

    It's called tgz. Used by Slackware since 1993.

  13. Bullshit by Anonymous Coward · · Score: 0

    Is it April or something? "Snap" packages are NOT being "adopted", they are being thrown down the throats of projects. The way this works is their drones will open bug reports against projects as if they are some how broken for not supporting snap. In some cases the snap camp will offer to "help" the project implement them, usually at the expense of every other fucking distro who uses said project.

    They operate essentially the same way systemd, dbus, etc were all "adopted". If you believe these stats then RPM and DEB and even tar dominate.

    The link itself to Ubuntu's site is tracking clickbait. Move along.

  14. Still broken. by 0100010001010011 · · Score: 1

    I have my $HOME on another partition and snaps don't work. Something something about permissions and I haven't dug any deeper than that.

    Congratulations on linux implementing the .app setup from OS X.

  15. A package format so advanced by Maelwryth · · Score: 1

    They forgot to put a . in frount of the folder. I wonder if these statistics include snaps included in Ubuntu installs. 100,000 per day seriously sounds like a bullshit number.

    --
    I reserve the write to mangle english.
  16. Build from sources... by rnturn · · Score: 1

    ... or switch to Slackware. Call me Old School but if snaps are the solution to your application installation problems, maybe you should stick to using your smartphone for your computing needs and just use the application store.

    --
    CUR ALLOC 20195.....5804M
    1. Re:Build from sources... by Anonymous Coward · · Score: 0

      Snaps aren't a solution to installation problem, they're a solution to distribution problems. At the moment developers have to do builds for each distribution, which is time consuming and troublesome. With snaps you can produce one build and it will work on all distributions that support snaps.

      I'm moving over from Windows to Linux and have been writing some Linux software. I think the problem distributing Linux software is one of the biggest things holding it back, and is, for example, the reason Steam only officially supports Ubuntu. It's a problem that needs addressing, but I'm not sure snaps are the answer because they can turn a 5MB application into a 500MB application, which is absurdly wasteful. Unfortunately, I don't know what the answer is.

      Build from source certainty isn't the answer as it guarantees that 99% of people will never use your application. It's also particularly ridiculous with Qt applications where you'll have to waste an hour and 10GB of drive space 10GB just to build Qt.

    2. Re:Build from sources... by i.r.id10t · · Score: 1

      Eh, I can see some uses for development to be able to quickly switch versions of browsers, servers, libraries, etc. for testing purposes. And I think the snaps will have less overhead than running a full OS via VirtualBox, VMWare, etc.

      But yes, I question why a calculator app would need to be containerized, unless it was done for demo purposes.

      --
      Don't blame me, I voted for Kodos
  17. Old is new again. by Truekaiser · · Score: 1

    I remember the days of windows 3.11 where every application had to have everything it needed in it's own folder to work. As a result you have half a dozen or more versions of the same library. Eating up space. Providing a nightmare for bug fixes..

    1. Re: Old is new again. by nnull · · Score: 1

      This mentality still goes on.

  18. Lies, damn lies, and statistics by Anonymous Coward · · Score: 2, Informative

    How many of these 100k installs per day are due to ubuntu installing a number of snaps by default? As of 18.04, parts of gnome are now snaps and installed by default. So that's at least 3-4 snaps, meaning statistically out of those 100k those come from 25k daily ubuntu installations. And how many of those are automated provisions that are actually removing snaps post installations.

    Canonical is blowing its own trumpet with some hot air.

  19. Package management by Anonymous Coward · · Score: 0

    Is it really package management when, instead of managing the problem of system wide library X (with security updates), you freeze and bundle some random version of library X with the application? Surely the application developer will fix any problems and keep up to date.

  20. Yet GVFS doesn't show and lies about storage by Anonymous Coward · · Score: 0

    Yet GVFS doesn't show in the mtab (the place that mount gets data) and lies about storage utilization for many sorts of storage.

    Snaps are a good idea, poorly implemented. They should be using containers for the different sorts of risks, not for every possible application. Tools that use external libraries to add features have been failing under the "snap" techniques. Just try to watch a commercial DVD using the VLC snap.
    It makes no sense for applications with ZERO risks for reading data or network connectivity to be inside a snap. Overzealous use of any new technology seldom turns out for the best.
    New is the enemy of stable.

    Canonical is excited about snaps, but that isn't the whole story. Since 18.04, they've been pushing snaps without asking first. Common issues that require checking remaining storage have been made much more confusing because of all the /dev/snap* bullshit.

    I haven't seen flatpaks anywhere, but read something about their poor security, which seems odd for something that is supposed to be more secure.

    Canonical will push snaps for 5 yrs, then give up and migrate everything to flatpaks. The sooner this happens, the better it will be for Linux.

  21. Flat out misleading: Snaps is a security nightmare by Anonymous Coward · · Score: 0

    The implementation of real security measures is actually being hindered by sandboxing and these measures have actually reduced security in a number of ways. While it might be possible to update snaps it has been shown that the dependencies are less likely to be updated than with our traditional packaging and update systems. This should not really be a surprise given you are *INCREASING* the number of applications that need to be monitored and updated. The last thing you want is more bloat on a system if you are concerned about security matters. Also just because snaps packages can be sandboxed doesn't mean they are being sandboxed. At least not in the way implied. There is also the issue of malware being introduced into software centers from snaps packages. When *ANYBODY* can upload to a repository without any trust models being implemented (like in our traditional packaging systems; ie Debian requires two other Debian developers to sign off before you will be granted the ability to maintain packages for Debian) you let malware get pushed into the repository and what was once the key mechanisms of effectively thwarting malware on GNU/Linux dies. I've seen more malware in the Ubuntu Software Center since 16.04 than I've seen on GNU/Linux in 27 years of using the operating system.

  22. Snap server is closed... by Anonymous Coward · · Score: 0

    The snap server is closed, meaning that only Canonical has control over what can and will go into this "app store". That is way too much power for single company to have, especially given canonical's bad track record with incompatible changes (unity, mir, etc) that breaks stuff on other distributions.

    More info:
    Mir: https://en.wikipedia.org/wiki/Mir_(software)#Controversy
    Unity: https://en.wikipedia.org/wiki/Unity_(user_interface)#Criticism

    Don't be a fool, if you must use such tech, use fully open alternative that are more wide spread anyway, like Flatpak (https://flatpak.org) or AppImage (https://appimage.org).

    1. Re:Snap server is closed... by Anonymous Coward · · Score: 0

      iphone, android, chromebook, windows 10 (in progress but headed down the same road) all the same. walled gardens are here to stay unless and until a big company with some clout changes the rules back to something more user friendly.

  23. SNAPS! by Anonymous Coward · · Score: 0

    Only snappy snappers snap snaps.

    Not LUDDITE shared libraries.

  24. The only good thing about Snaps is that there are by Anonymous Coward · · Score: 0

    Have 18.04 running on my Laptop.
    All the snaps that I had (GIMP, system monitor, calculator!!..) got desynchronized eventually (running from Gnome fail silently, needed to run from terminal to see the problem). The only simple fix is to delete snap and install apt package. No problems since.
    Snaps is an alpha stage technology that has no place in long term release!

  25. Oh no by Anonymous Coward · · Score: 0

    Steam on Ubuntu has less than nothing to do with Snapcraft.

    1. Re: Oh no by Anonymous Coward · · Score: 0

      Beyond that, gamers don't pay the bills. Canonical is desperate to leave the Desktop/Gam3r market. Red Hat and Suse never went there.

      Canonical grew on the backs of people using Ubuntu, and Snaps are an attempt to become a "standard" and entrench the brand. It's bogus.

  26. interesting by Tom · · Score: 1

    I didn't know about "Snaps" and read the comments to figure out what it is. Then I laughed.

    There used to be a dependencies problem in Linux. Then package managers solved it, and quite well actually. Very rarely some obscure software needs some specific version of some unusual library and you need to compile it yourself. Ok, not a big problem, thanks to proper versioning Linux can have several versions of the same library installed at the same time.

    Then I went back into we development a little and I understood. Everything there, especially the abomination called node.js, was dependeny hell. There are kind-of-but-not-really package managers, well basically just reinventions of the 20 year old Makefile concept, and they just-about-most-of-the-time work. But everything comes with its own little princess attitude, nothing is shared globally, no proper versioning...

    Of course, if you live in that environment, you come up with an idea like "Snaps" and think you just invented sliced bread.

    I might have been dealing with computers for too long, but I fill like some of the old guys who sometimes write articles where they look at todays computing world and essentially say "come on kids, that is what you got? We had that in the 80s."

    Next thing, someone will write "Snap Manager" and "Snap Global Library Storage" (probably with snappier names, pun not intended, and ending in consonant-r something) and we're finally full circle.

    --
    Assorted stuff I do sometimes: Lemuria.org
    1. Re:interesting by nyet · · Score: 1

      "But everything comes with its own little princess attitude, nothing is shared globally, no proper versioning..."

      Exactly this. snap devs are working around the fact that the latest generation of devs are completely and utterly incompetent.

    2. Re:interesting by Anne+Thwacks · · Score: 1
      snap devs are working around the fact that the latest generation of devs are completely and utterly incompetent.

      "working around" is a bit of an exaggeration. In the fullness of time, it will likely turn out that "working" was an exaggeration.

      --
      Sent from my ASR33 using ASCII
  27. Never trust statistics by allo · · Score: 1

    Users do not choose snap packages, ubuntu mixes them into the normal programs offered in its graphical package installer. Users do not know, that they are installing snap packages.

  28. Duhhhh by JustAnotherOldGuy · · Score: 1

    Would it be too much to ask for a brief summary or explanation of what a "snap" is for people who aren't familiar with this technology? From what I can see, it's like Docker containers, but how are "snaps" different? Perusing the "snap" site didn't make it any clearer.

    --
    Just cruising through this digital world at 33 1/3 rpm...
  29. Re:Flatpak Snap by Bonker · · Score: 1

    >but not enough pro media apps and games without WINE.

    I couldn't really comment about the media apps. It seems like we've got a fairly nice selection of multimedia producers and photography workers - Darktable, etc... but I've not been doing a lot of media work lately.

    However, the Linux gaming environment has changed dramatically over the last 3-5 years. Aside from the games that run well under WINE (WoWarcraft is a good example) There is a now a huge selection of Linux-native games on Steam and gog.com.

    Frequently the 4A studios give Linux a miss. However, Steam has dramatically cut that number. The 'SteamOS + Linux' category has grown just as dramatically.

    GoG focuses on bringing older and niche games to players that would otherwise miss them. There is a very wide selection of Linux games available on GoG.

    Many, if not most, indie game devs want their games to be available to as wide an audience as possible, so frequently develop with Linux and/or Android in mind. For example, I'm currently playing 'Terraria'. Small dev team. 29th most popular game ever-- Linux native install with some help from Mono.

    Now, in addition all to that, let's go back to WINE. Steam has, in the last few weeks, begun testing 'SteamPlay', which uses a custom build of WINE called 'Proton' that runs underneath steam to run some previously Windows-only titles with fantastic quality. In the last week or so, I've been able to run some games I loved, but abandoned along with Windows like 'MagicMaker' and 'PixelJunk Eden'. Steam is giving back to WINE, which just released a new version.

    It's worth noting that the Java version of Minecraft has always worked on Linux and Fortnite apparently plays very well under Wine.

    Right now, Linux gaming is in a period of Renaissance. If you've despaired of gaming on Linux, it might be time to give it another look.

    --
    The next Slashdot story will be ready soon, but subscribers can beat the rush and slashdot the links early!