Snapcraft 2.8 is now available. Here’s how to install Snapcraft 2.8 on Ubuntu 16.04. Snapcraft is used to package deb packages to the snappy format on Ubuntu Linux Systems.
Changes Released with Snapcraft 2.8
- Better detection for dirty steps which would need to rerun to reflect the current snapraft.yaml
- More similarities to debuild. By default now, apt sources reflect those of the desktop. For ensuring a clean build you can use cleanbuild.
- Among popular request, geoip is disabled by default and enabled by setting –enable-geoip
- Work on supporting the new interfaces from snappy (ongoing work). This change should still work with the old-security interface if still required (keep in mind it won’t be there for 16.04).
- As mentioned by the snappy core team, `config` is gone, hence support for it was removed from snapcraft as well.
Install Snapcraft 2.8 On Ubuntu 16.04
Ubuntu users can install Snapcraft 2.8 on Ubuntu 16.04, via PPA. Run the following commands in Terminal to install Snapcraft:
$ sudo add-apt-repository ppa:snappy-dev/tools
$ sudo apt-get update
$ sudo apt-get install snapcraft
Ubuntu users can also install the Snapcraft examples package by running the following command:
$ sudo apt install snapcraft-examples
Once the Snapcraft examples package is installed, it can be found in /usr/share/doc/snapcraft-examples/examples.
Install Snapcraft 2.8 On Ubuntu 15.04, Ubuntu 14.04 and older Versions
Run the following commands in Terminal to install Snapcraft 2.8 on Ubuntu 15.04, Ubuntu 14.04 and older Ubuntu versions via PPA:
$ sudo add-apt-repository ppa:snappy-dev/tools-proposed
$ sudo apt-get update
$ sudo apt-get install snapcraft
Uninstall & Remove Snapcraft 2.8 On Ubuntu
Run the following commands in Terminal to uninstall and remove Snapcraft 2.8 from Ubuntu 16.04, Ubuntu 15.04 and Ubuntu 14.04 Systems:
$ sudo apt-get remove snapcraft
More Info:
– https://lists.ubuntu.com/archives/snappy-app-devel/
– https://lists.ubuntu.com/archives/snapcraft/