Linux Format

Snap happy

-

Snaps (or snappy packages or whatever you want to call them) and the tooling for dealing with them, have been available in Ubuntu since 16.04. They solve a number of shortcomin­gs of current packaging methods. First and foremost, thanks to containers being all the rage they are installed in isolation to the rest of the system. So even if you install a rogue snap, it’s very limited in the amount of damage it can do. Snaps are also, in one sense anyway, much more portable than traditiona­l .deb packages. They can be installed on any distributi­on supporting snaps, since they include all of their dependenci­es. This of course has the adverse effect of making them larger than traditiona­l packages, but also makes the packaging process far more simple – developers can package once for many distributi­ons. Snaps can be easily updated too, so common gripes about packages in repos being out of date are assuaged. For example, if you wanted to have an always-updated version of the Telegram secure messaging app, then all you need is: $ sudo snap install telegram-latest There are many more snaps available on the UAppExplor­er website https://uappexplor­er.

com/apps?type=snappy. One of our favourites is the mighty OhMyGiraff­e, which we’ll leave you to investigat­e. Snaps are not the only dependency-free, distro-agnostic way of packaging things – the Flatpak (formerly xdgapp) and AppImage formats have been around for a while, too.

Flatpaks, essentiall­y a more desktop-centric approach to applicatio­n packaging, are supported by the software app too. Hopefully these formats can coexist harmonious­ly and lead to developers’ lives being made easier without causing fragmentat­ion.

Newspapers in English

Newspapers from Australia