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
ant           cmake    dotnet  gradle  maven   plainbox-provider  rust
autotools     colcon   dump    kbuild  meson   python             scons
catkin        conda    go      kernel  nil     qmake              waf
catkin-tools  crystal  godeps  make    nodejs  ruby

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.

Last updated 20 days ago. Help improve this document in the forum.