Install Snapcraft 2.9 on Linux Ubuntu Systems. Snapcraft is a tool for creating Snaps on Ubuntu 16.04 Systems. Snapcraft 2.9 is the first release since Xenial Xerus 16.04 has been released.
Snapcraft is a build and packaging tool which helps you package your software as a snap. It makes it easy to incorporate components from different sources and build technologies or solutions.
A .snap package for the Ubuntu Core system contains all its dependencies. This has a couple of advantages over traditional deb or rpm based dependency handling, the most important being that a developer can always be assured that there are no regressions triggered by changes to the system underneath their app.
Snapcraft makes bundling these dependencies easy by allowing you to specify them as “parts” in the snapcraft.yaml file.
Snapcraft 2.9 release brings the following new changes and updates:
- A `confinement` property which indicates if the snap should be installed with devmode to function (for snaps still under development but worth sharing out) or strictly confined.
- Implemented support for upcoming epoch feature that will enable snaps to perform stepped upgrades through critical revisions.
- Bash completion for snapcraft commands.
With this release and a point release for 2.8 there have been many polishing bug fixes. Polish is one of the main focuses for snapcraft now. Please refer to the changelogs to read about these “micro” improvements.
Install Snapcraft 2.9 On Ubuntu
Snapcraft 2.9 is available via the Ubuntu repositories. Run the following commands to install Snapcraft 2.9 on Ubuntu:
sudo apt update
sudo apt install snapcraft
sudo apt install snapcraft-examples
After installing this you can find them in /usr/share/doc/snapcraft-examples/examples.
To get the source for Snapcraft 2.9 release check it out at https://github.com/ubuntu-core/snapcraft/releases/tag/2.9