As part as our mission to get snaps running everywhere, we are pleased to announce that support for snaps has now officially landed in Fedora, starting with Fedora 24 and up.
Big thanks to Neal Gompa who has been instrumental in landing
snapd packages in the Fedora archive!
1) Install the snapd package
$ sudo dnf install snapd
After that, everything is set up to get you started with snaps.
Note for Fedora 24 users: once the snapd package is successfully installed you have to enable the systemd unit which takes care of snapd’s main communication socket:
$ sudo systemctl enable --now snapd.socket
2) Install a snap!
There are a lot of snaps available to install and you can browse our monthly highlights using this tag, but let’s start with a simple “hello-world”:
$ sudo snap install hello-world hello-world 6.3 from 'canonical' installed $ hello-world Hello World!
When installing a snap for the first time, the “core” snap (which provides base libraries for snaps) is installed as well.
Now, let’s check where hello-world is running from:
$ which hello-world /var/lib/snapd/snap/bin/hello-world
Success, it’s a snap indeed!
Among other things, snaps make packaging, distribution and updates really easy for developers and automated for users. Which means you will get the latest version of your installed apps directly from upstream, on release day, or even daily if upstream has integrated snap publication into their CI process.
As an example, here is LibreOffice running from the snap (188.8.131.52), next to the one available in a fully upgraded Fedora 25 (184.108.40.206).
Snaps rely on an AppArmor backend to ensure their confinement from the rest of the system. Since Fedora doesn’t ship with AppArmor, snaps will run unconfined. Nevertheless, the snapd team is welcoming contributions to a SELinux backend! If you are interested in contributing in this area, get in touch on forum.snapcraft.io.
To browse all the available stable snaps in the store, you can visit uappexplorer, use the “snap find” command or install the “snapweb” snap and visit https://localhost:4201 for a local store interface.
Learn how the Ubuntu desktop operating system powers millions of PCs and laptops around the world.
Linux has long been a favourite platform with developers due to the rich array of languages and toolchains available. In this article we highlight 6 IDEs that can boost your productivity. Each IDE is just a Snap away so you can easily…
The IoT promises to bring about a revolution in the way we interact with devices around us. While many IoT devices will be hidden away, from sensors that measure manufacturing tolerances in a factory to hubs that control lighting around…
As highlighted in the Ubuntu is Everywhere infographic to coincide with the 16.04 LTS, Ubuntu is used by millions across every sector and technology imaginable. Two years on, and with 18.04 LTS now released, we take a new look at how…