Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

Blog posts tagged
"snapcraft"


Jeremie Deray
5 August 2022

How to build a snap using ROS 2 Humble

Robotics Article

We’ve recently celebrated the release of ROS 2 Humble Hawksbill with a post detailing how to get started developing for the new release in containers. In addition, we shared an overview of the new features included with this new release, particularly its enhanced security features. This week we are tackling the logical next step in ...


Igor Ljubuncic
24 June 2022

The new classic confinement in snaps – Even the classics need a change

Ubuntu Article

As part of their fundamental, security-driven design, snaps are meant to run isolated from the underlying system. In most cases, the idea works well, and granular access to system resources using the mechanism of interfaces allows snap developers to ship their applications packaged with strict confinement. However, there are some scenario ...


Igor Ljubuncic
25 February 2022

Three ways to package your Electron apps as snaps

Ubuntu Article

Software comes in many shapes and forms. One of the popular cross-platform, cross-architecture frameworks for building and distributing applications in Electron, which combines the Chromium rendering engine and the Node.js runtime. This makes Electron-based applications relatively easy to create. If you want to deploy Electron apps in Lin ...


Igor Ljubuncic
8 February 2022

How Snapcraft helps developers map out their application dependencies and efficiently build snaps

Ubuntu Article

One of the core concepts of snaps is cross-distro compatibility. Developers can build their snaps once, and they should run well on more than 40 different Linux distros. But how does one take care of all the required runtime dependencies? By providing them inside the snap, as part of the bundle. In the snap ecosystem, ...


Igor Ljubuncic
21 January 2022

Let’s build a snap together – a complex snapcraft.yaml walkthrough

Ubuntu Article

It has been a while since we talked about how to build snaps. In the past, we went through a number of detailed examples, focused on different programming languages and the use of various useful components that can be declared in snapcraft.yaml, like extensions, stage packages, layouts, and more. Today, we want to give you ...


Igor Ljubuncic
7 January 2022

The Future of Snapcraft

Ubuntu Article

System hysteresis, when applied to software, can roughly be defined as an overall lag between desired implementation of code and actual implementation of said code. Ideally, this delay should be minimal, and programmers would be able to make instantaneous changes and improvements to their applications. In reality, things are more complex ...


Igor Ljubuncic
3 December 2021

Ubuntu Frame – A picture is worth a thousand snaps

Internet of Things Article

The development of graphical applications intended for use on IoT devices isn’t trivial. The complexity goes beyond the usual challenges that exist in the classic desktop and server domains. One, the IoT world is much less mature. Two, developers need to take into consideration various edge cases that do not apply to hands-on devices like ...


Igor Ljubuncic
26 November 2021

Craft Parts – Reusable code, Snapcraft style

Ubuntu Article

Throughout the ages, humans have always used simpler tools and materials to create more complex ones. Wood and stone for smelting bronze and iron; iron to create steel; vacuum tubes to create logical gates; logical gates to create advanced arithmetic engines, and so on. Modern software is no different. With Snapcraft in particular, the sn ...


Igor Ljubuncic
12 November 2021

Snapcraft offline mode – Build snaps while saving data

Ubuntu Article

As part of the snap creation cycle, the Snapcraft tool creates isolated build instances inside which all of the necessary work – download of sources, compilation, packaging, etc. – is done in a safe manner, without touching the host system. While there are many advantages to the use of the virtual machines (via Multipass) or ...


Igor Ljubuncic
20 October 2021

Snapcraft experimental login – new, secure Web-based authentication method

Ubuntu Article

Some Snapcraft operations mandate that users identify themselves. For example, if you want to push your snap to the Snap Store, you need to login on the command line. The process relies on the internal login mechanism built into Snapcraft. A preview functionality for a new Web-based authentication flow is available as an experimental feat ...


Igor Ljubuncic
8 October 2021

How to make snaps faster

Ubuntu Article

A great user experience is (or at least, should be) an integral part of any software that involves user interaction. On the desktop, this starts with the application launch, and continues through the session. The overall time to completion of tasks as well as interactive responsiveness are a core element in this journey. If you’re ...


Igor Ljubuncic
3 September 2021

Snapcraft 6.0 is around the corner

Ubuntu Article

A good sign of maturity and confidence in software is when said software utilizes its own components for future development and enablement. Snapcraft is a command-line utility that allows developers to package and distribute their applications as snaps. But Snapcraft itself is also distributed as a snap, and built in the same manner! Toda ...