SNAPs are the cross-distro, cross-cloud, cross-device Linux packaging format of the future. And we’re already hosting a fantastic catalog of SNAPs in the SNAP store provided by Canonical. Developers are welcome to publish their software for distribution across hundreds millions of Ubuntu servers, desktops, and devices.
The answer is really quite simple… SNAP stores are really just HTTP web servers! Of course, you can get fancy with branding, and authentication, and certificates. But if you just want to host SNAPs and enable downstream users to fetch and install software, well, it’s pretty trivial.
Here’s a little HOWTO install and use it.
First, I launched an instance in AWS. Of course I could have launched an Ubuntu 16.04 LTS instance, but actually, I launched a Fedora 24 instance! In fact, you could run your SNAP store on any OS that currently supports SNAPs, really, or even just fork this GitHub repo and install it stand alone.. See snapcraft.io.
Now, let’s find and install a snapstore SNAP. (Note that in this AWS instance of Fedora 24, I also had to ‘sudo yum install squashfs-tools kernel-modules’.
At this point, you’re running a SNAP store (webserver) on port 5000.
Now, let’s reconfigure snapd to talk to our own SNAP store, and search for a SNAP.
Finally, let’s install and inspect that SNAP.<
How about that? Easy enough!
Ubuntu offers all the training, software infrastructure, tools, services and support you need for your public and private clouds.
The home for innovators, Ubuntu is a place where developers can create what previously lived solely in the realms of fiction. The internet of things, the cloud, and robots are world changing technologies and they’re all running Ubuntu.…
Fig 1: The journey to a software-defined business model The opportunity to capitalise on the internet of things is significant for many companies, but that doesn’t mean that it is a straightforward journey to success. Companies need to…
The number of IoT devices set to be in use worldwide is due to explode depending on the source over the next couple of years. According to Gartner, the figure is set to be as much as 20.4 bn devices by 2020 with consumer products…