Today, June 29, 2016, Canonical has had the great pleasure of announcing the release of the highly anticipated Snapcraft 2.12 Snappy creator tool for the Ubuntu Linux operating system.
Why highly anticipated? Because, as reported by us the other day, Snapcraft 2.12 is the first release of the software application developer can use to package their apps as Snaps to bring the new parts ecosystem, which allows them to manage remote parts with new commands like “search”, “define”, and “update”.
In addition to the parts ecosystem, Snapcraft 2.12 adds multiple improvements to the parts parser backend, two new plugings, namely gulp and qmake, support for the Subversion open-source revision control system as a source, and the ability for app developers to register their Snap name by using the “snapcraft register” command.
Last but not least, Snapcraft 2.12 implements support for loading from a .snapcraft.yaml file, which could come in handy to those wanting to hide it from their trees. Also, ephemeral containers are now properly created using cleanbuild, and it looks like the team did a great job on improving the error messages across the board.
Here’s how to get started with Snapcraft in Ubuntu
Snapcraft 2.12 has been released today for the Ubuntu 16.04 LTS (Xenial Xerus) operating system, and it you’re using this version you can update your Snapcraft installation right now by using the first command listed below. If you’re new to Snapcraft, you can install it on Ubuntu 16.04 LTS using the second command.
sudo apt update
sudo apt install snapcraft
Those who are new to Snap packaging, might find the Snapcraft examples very useful to get started with Snapcraft. Therefore, please consider using the first command listed below in the Terminal app to install Snapcraft’s example package as well. Once Snapcraft is installed, use the second command to view the available subcommands.
sudo apt install snapcraft-examples