Skip to content
Petr Bena edited this page Jul 14, 2017 · 3 revisions

This is relatively new technology invented by Canonical which aims to make it possible to create universal packaging for all linux distros, thus making it easier for maintainers to distribute their binaries.

See https://snapcraft.io/docs/ for docs

Because we currently distribute binaries for ubuntu only, and this is primarily made for ubuntu, we probably want to replace current deb packages with this new format.

Packaging with Ubuntu

You need to download Ubuntu 16.04 for this to work

  • Install ubuntu 16.04 to virtual box, this process will probably install big amount of packages you may not want to have on your PC
  • apt-get install git snapcraft
  • Checkout huggle repo
  • Run snapcraft inside of repository root

That will produce huggle snap package that should be deployable to any GNU/Linux that support snaps

Clone this wiki locally