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-ng
The snap can be installed using snap install
. To install the snap from the edge channel:
sudo snap install hyperion-ng --edge
Note
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.snap
To install snapcraft, first install the snap deamon (snapd), then install snapcraft as a classic snap with:
sudo snap install snapcraft --classic
LXD 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 lxd
Now you can build the snap with the following command:
SNAPCRAFT_BUILD_ENVIRONMENT=multipass snapcraft --debug
After 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*.snap
And uninstalling is done with this command:
sudo snap remove hyperion-ng