- ...
- base images
- SDK
- ...
SimpleSwitch™ for Ubuntu#
Configure the PPA#
It is possible to deploy SimpleSwitch™ applications on Ubuntu 22.04. In order to do that, you have to install the necessary tools on Ubuntu 22.04. These tools are available thanks to a PPA. So first of all download the SimpleSwitch™ GPG public key and install it on your system:
$ wget https://avnet-embedded.github.io/simpleswitch-ppa/simpleswitch-ppa-key.asc
$ sudo gpg --dearmor --output /usr/share/keyrings/simpleswitch-archive-keyring.gpg simpleswitch-ppa-key.asc
$ rm simpleswitch-ppa-key.asc
Then it is about adding the SimpleSwitch™ PPA in the list of known PPA:
$ echo "deb [signed-by=/usr/share/keyrings/simpleswitch-archive-keyring.gpg] https://avnet-embedded.github.io/simpleswitch-ppa jammy non-free" | sudo tee /etc/apt/sources.list.d/simpleswitch.list
Finally you can update the list of available packages and found the SimpleSwitch™ ones:
$ sudo apt update
$ sudo apt search simpleswitch
Installation#
In order to have a full installation you need simpleswitch-mqtt-daemon which depends on almost every over SimpleSwitch™ Debian packages, and simpleswitch-dns-sd. So, just launch the command:
$ sudo apt install simpleswitch-mqtt-daemon simpleswitch-dns-sd
Then you can install the Linux app of SimpleSwitch™-launcher. This graphical app will make you able to browse easily in the SimpleSwitch™ packages available on the registry.
Usage#
Now you should be able to use simpleswitch-helper commands and container-helper commands.
Note
The service are run as root user. It means that some commands, mainly the container-helper ones and the skopeo login should be run using sudo.