This repository contains snap packaging for Hyperion.
The snap can be installed on any system that supports snaps. You can see how to install snaps on your system here.
The snap is published in the snap store at https://snapcraft.io/hyperion-ng. You can see the current revisions available for your machine's architecture by running the command:
snap info hyperion-ngThe snap can be installed using snap install. To install the snap from the edge channel:
sudo snap install hyperion-ng --edgeNote
The following instructions were written for Linux.
The snap is built with snapcraft and the snapcraft.yaml recipe is located in the snap directory. So the first step to building it is to clone this repository:
git clone https://github.com/hyperion-project/hyperion.snap.git
cd hyperion.snapTo install snapcraft, first install the snap deamon (snapd), then install snapcraft as a classic snap with:
sudo snap install snapcraft --classicLXD is required under Linux during the snap-build process. However, since we prefer Multipass as a provider, we also install Multipass and connect it to LXD with the following commands:
sudo snap install lxd
sudo snap install multipass --classic
sudo snap connect multipass:lxd lxdNow you can build the snap with the following command:
SNAPCRAFT_BUILD_ENVIRONMENT=multipass snapcraft --debugAfter building the snap, you will have a binary snap package called hyperion-ng_<latest version>_<arch>.snap, which can be installed locally with the --devmode flag:
sudo snap install --devmode hyperion-ng*.snapAnd uninstalling is done with this command:
sudo snap remove hyperion-ng