How To Install Snapcraft 2.17 On Ubuntu, Linux Mint And Elementary OS Systems

As you may know, Canonical has created Snapcraft, an open-source tool that helps the users to package deb packages to the snappy format.

While still under development, Snapcraft 2.17 has been released, bringing new features and bug-fixes.

From the changelog:

  • A python plugin rewrite, combining the python2 and python3 plugins into one. This new plugin creates leaner snaps, works better with regards to build environments, separates stage-packages from package brought in with pip and solves many latent bugs from the previous incantation of the python plugins.
  • More assertion related goodies, snapcraft-register-key and snapcraft list-keys are new commands added to this release.
  • The organize keyword for parts now supports globbing.

Installation instructions:

Canonical has placed Snapcraft in its own PPA, to permit the developers to easily install the software on Ubuntu 16.04 Xenial Xerus, Ubuntu 14.04 Trusty Tahr, Linux Mint 18 Sarah, Linux Mint 17.x, Elementary OS 0.3 Freya, Elementary OS 0.4 Loki and other Ubuntu derivative systems.

So, all you need to do is add the PPA to your system, update the local repository index and install the snapcraft package:

$ sudo add-apt-repository ppa:snappy-dev/tools
$ sudo apt-get update
$ sudo apt-get install snapcraft

Or, if you want to install the development version of snapcraft on the same Ubuntu 15.10, Ubuntu 15.04, Ubuntu 14.04, Linux Mint 17.x and Elementary OS 0.3 systems, you need to use another PPA:

$ sudo add-apt-repository ppa:snappy-dev/tools-proposed
$ sudo apt-get update
$ sudo apt-get install snapcraft

Optional, to remove either the stable of the development version of snapcraft, do:

$ sudo apt-get remove snapcraft

Share and Enjoy

  • Twitter
  • Facebook
  • Google Plus
  • Email
  • RSS
Tagged with: , , , , , , , , , , , ,
Posted in The Linux and Unix Articles!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!