Snapcraft plugins


Plugins are used by the snapcraft command to build a snap from parts defined within snapcraft.yaml.

Commonly used plugins include Python, Go, Java, cmake and autotools, and these help when working with projects written in a specific language or with a specific set of build tools.

These, and many other plugins, are included with Snapcraft, all of which can be listed with the following command:

$ snapcraft list-plugins
ament         cmake   godeps   kbuild  nil                python3  tar-content
ant           copy    gradle   kernel  nodejs             qmake    waf
autotools     dotnet  gulp     make    plainbox-provider  ruby
catkin        dump    jdk      maven   python             rust
catkin-tools  go      jhbuild  meson   python2            scons

Further information about any specific plugin can be obtained by typing snapcraft help followed by the plugin name:

$ snapcraft help python

For further details on specific plugins, see Supported plugins, and to create your own, see Writing local plugins.

Supported plugins
The catkin-tools plugin
The catkin plugin
The ament plugin
The kernel plugin
The kbuild plugin
The waf plugin
The scons plugin
The qmake plugin
The meson plugin
The make plugin
The cmake plugin
The autotools plugin
The rust plugin
Snapcraft overview
The dotnet plugin
The python plugin
The nodejs plugin
The gulp plugin
The jdk plugin
The ant plugin
The godeps plugin
The go plugin
Snapcraft parts metadata
Build your first snap
Snaps not running after installation
Snap Documentation
The ruby plugin
The plainbox-provider plugin
The nil plugin

For other examples of plugins used in real world, or to see how to override/extend functionalities in of the official plugins, you can check out this: