Pinterest Stumbleupon Whatsapp
Ads by Google

Ubuntu’s long-term support releases come with a trade off. New versions come every two years. During that time, your system stays consistent and receives the latest security updates. Unlike regular releases, you don’t have to update them every nine months Why You Need to Upgrade Ubuntu Every 9 Months Why You Need to Upgrade Ubuntu Every 9 Months It's that time again, when Canonical announce that support for one of its standard Ubuntu builds has come to an end. But what does this mean to the end user? Read More .

But don’t try installing the latest version of software. Chances are your libraries will be out of date.

This isn’t a problem limited to LTS releases or Ubuntu in general. Even distributions running cutting edge code start looking dated before the next release. And some software never makes it into the repositories, regardless of age.

In version 16.04, Ubuntu is hoping to strike a balance between having stability and staying up-to-date. You won’t just have the option to install applications via debs. You will also be able to use snaps.

UbuntuSnap-Snap

What are Snaps?

Snap packages can contain application binaries and any dependencies needed to run. They stem from click packages, which Canonical developed to package apps for Ubuntu Touch How To Install The Ubuntu Touch Preview On Your Nexus Android Device How To Install The Ubuntu Touch Preview On Your Nexus Android Device Ubuntu is developing on a touch-focused interface for smartphones and tablets, with plans to ship Ubuntu smartphones in 2014. If you’re interested in trying it right now, there’s good news: You can install the preview... Read More .

Ads by Google

Snap packages are coming to Ubuntu 16.04 as a technology preview. Debs will continue to form the core of the classic desktop and its Unity7 interface. Click packages will remain the default in Unity8 (which is also a technology preview for now). Consider 16.04 a chance to meet snaps before developing a more intimate relationship in the future.

What are the Benefits?

Canonical views snaps as the next generation of apps for all Ubuntu devices. Here are some of the reasons why you may want to get excited.

1. Faster and Easier Access to Software

With snaps, developers will no longer have to supply a PPA for Ubuntu users What Is An Ubuntu PPA & Why Would I Want To Use One? [Technology Explained] What Is An Ubuntu PPA & Why Would I Want To Use One? [Technology Explained] Read More to get an application and its dependencies. Instead, people can download a single package and know it will run on their system. This saves them from having to copy and paste lines of code into a terminal that they may not understand.

This doesn’t just apply to applications. Snaps could improve access to new versions of desktop environments like GNOME or KDE It's Your Choice: The Top 10 Linux Desktop Environments It's Your Choice: The Top 10 Linux Desktop Environments From Gnome to KDE, from MATE to Unity, there's a lot of choice out there. Where should you start? Overwhelmed? Start here. Read More .

2. Long-Term Reliability

Linux desktop environments and libraries tend to change rapidly. As a result, software that worked in 2012 may not run on the same computer four years later. Don’t even bother trying to install an old version of Firefox, for example.

This is a pain for developers and discourages some of them from creating software for Linux. After creating an application once, they have to modify it regularly to keep working in a year or two. And that’s not even considering all the variations between different distributions.

Since a snap package provides its own dependencies, the application should have what it needs to run today, tomorrow, and a couple of years from now.

3. Isolation and Security

UbuntuSnap-Mark-Shuttleworth

Snap packages run independently of the rest of the system. This means you don’t have to worry about installation impacting the rest of your setup. A developer can also patch a vulnerability and immediately send the fix out to users.

This is a double-edged sword. Since snap packages can make you run multiple copies of the same dependencies, you have to update each one when an issue is disclosed. If one developer doesn’t update an application, you’re left with a compromised version. Traditionally that would have been fixed when your distribution sent out security updates.

4. Paid Software Support

When you pay for an application, you expect it to work. This makes maintaining software for Linux especially unappealing to people selling software. Users expect you to support multiple distributions, with each changing in unpredictable ways every six months or so.

By using a snap package, a developer knows they have a version that works. It’s also easier to troubleshoot issues when each copy is the same.

For these reasons, Canonical plans to migrate paid applications to snaps by autumn of this year.

5. Familiar Development Experience

UbuntuSnap-Snapcraft

The mobile market has changed expectations around how software gets developed and distributed. The specifics may vary between working with Google Play, the Apple App Store, the Windows Store, and other marketplaces, but you’re still developing a package and uploading to a distribution center for review. Snapcraft, Canonical’s tool for building and packaging snaps, brings a similar experience to Ubuntu developers.

6. You Can Rollback

Not every upgrade goes as planned. Sometimes newer software introduces bugs that hamper the experience. In some instances, applications no longer launch at all. In these cases, developers can undo an update, and users have the option to re-install an old snap that worked.

How Will This Impact Other Distros?

Snap developers have built the format to work with Unity. Technically, this means the software can work on other distributions. But like Unity itself, snaps probably won’t see much adoption outside of the Ubuntu ecosystem.

This could stir interest in alternative but similar package formats. One example is AppImage, which you can already install on your Linux desktop today. A number of apps are available, such as Atom, Blender, Chromium, Firefox, and VLC.

UbuntuSnap-AppImage

AppImage is a continuation of Klik, which released back in 2006. It’s not the only one. PortableLinuxApps descended from Klik to create software you can boot from a flash drive The Top 5 Portable Apps For Linux The Top 5 Portable Apps For Linux Most of us know about portable apps for Windows, and how useful they can be sometimes. It's great to simply have your favorite programs and add-ons with you, especially in the case of browsers. However,... Read More .

Regardless of whether snaps appear elsewhere, they could encourage developers to distribute apps in a package format that works across distributions and regardless of dependencies. That’s the dream, anyway. What form reality takes remains to be seen.

Oh Snap, This Could Be Good

Installing software on Linux can be a pain. If it’s in the repositories, great! If not, you’re left hoping the developer provided a way to install software on your distribution. Each project has its own preferred method of managing applications and updates. It’s challenging to support them all. However at present, we have to be aware that the snap system could represent a security risk.

How would you like to see Ubuntu address this issue? Are you excited for snaps? What about other distributions? What formats should they embrace? There are conflicted opinions surrounding this matter. What’s yours?

Image Credit: conveyor belt by Vivi-o via Shutterstock

  1. zeroconf
    May 31, 2016 at 4:27 pm

    Why do you need new system when AppImage exist already? Why not adopt it?

  2. jymm56
    April 26, 2016 at 11:19 am

    I installed Ubuntu Mate on my computer. The next thing I did after updating the system was to install Synaptic. I like to see a prover track record for new things, like new package management.

  3. Adrian
    April 26, 2016 at 2:59 am

    The problem I found with 16.04 is the lack of lsb dependency, so to install many printers drivers is a nightmare. I felt really disappointed. In my job and friends I insisted in Ubuntu as a best option over others OS, and now I face myself with the impossibility to work with some hardware I was able before, or..... downgrade to a previous ubuntu version.

  4. fcd76218
    April 25, 2016 at 10:30 pm

    I noticed that you boldly enumerated the benefits of snaps up front but only mentioned a major disadvantage (lack of security) in passing in the last sentence.

    "snap packages can make you run multiple copies of the same dependencies"
    How wonderful! The return of DLL Hell. Is Canonical developing a Registry for Ubuntu also?!

    "Canonical plans to migrate paid applications to snaps by autumn of this year."
    As far as I know, there are no paid applications in Ubuntu. Unless Canonical is going to start charging for the distro.

    • Bertel King, Jr.
      April 26, 2016 at 3:19 pm

      I agree with you that running multiple copies of the same dependencies is a potential negative. That's why I referred to that as a double-edged sword in section #3. I would not say that Snaps are inherently more secure, just that they do offer some specific advantages.

      The link in the last paragraph is there because that ZDNet article came up before this post went live but after I had already submitted what I had written. As a result, the link's current placement was an editorial decision, but an argument can be made that it's a good closing thought opposed to another counterpoint listed in section #3.

Leave a Reply

Your email address will not be published. Required fields are marked *