Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

  1. Blog
  2. Article

David Callé
on 11 April 2017


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!

Install your first snap on Fedora

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!

Why use snaps?

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 (5.3.2.2), next to the one available in a fully upgraded Fedora 25 (5.2.6.2).

Get involved

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.

Next steps

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.

If you want to snap your software and publish it, you can have a quickstart at tutorials.ubuntu.com and dive-in further with the snapcraft documentation.

Related posts


gbeuzeboc
25 September 2024

TurtleBot3 OpenCR firmware update from a snap

IoT Article

The TurtleBot3 robot is a standard platform robot in the ROS community, and it’s a reference that Canonical knows well, since we’ve used it in our tutorials. As a matter of fact, we use it to demonstrate some of our work, such as distributing a ROS stack through snaps. This robot embeds two boards, a ...


Luci Stanescu
28 October 2024

Imagining the future of Cybersecurity

Ubuntu Security

October 2024 marks the 20th anniversary of Ubuntu. The cybersecurity landscape has significantly shifted since 2004. If you have been following the Ubuntu Security Team’s special three-part series podcast that we put out to mark Cybersecurity Awareness Month, you will have listened to us talk about significant moments that have shaped the ...


Lech Sandecki
23 October 2024

6 facts for CentOS users who are holding on

Cloud and server Article

Considering migrating to Ubuntu from other Linux platforms, such as CentOS? Find six useful facts to get started! ...