Install Snap Packages in Arch Linux, Fedora, Debian, Ubuntu

As many of you already know, the Ubuntu snap package format is coming to other major Linux distributions such as Arch Linux, Fedora, Debian and many more distros will support snap packages in the future. This tutorial is going to show you how to install snap packages on Arch Linux, Fedora, Debian and Ubuntu.

We will need snapd service in order to install snap packages.

Install the snapd service on Arch Linux

We can install it from AUR with yaourt package manager.

yaourt snapd

Once done, enable the snapd service with systemctl . --now option will start the service.

sudo systemctl enable --now snapd.service

To automatically update snap packages:

sudo systemctl start snapd.refresh.timer

sudo systemctl enable snapd.refresh.timer

Install snapd on Fedora 23/24

Enable the copr zyga/snapcore repository.

sudo dnf copr enable zyga/snapcore

Then install snapd

sudo dnf install snapd

Start and enable the snapd systemd service:

sudo systemctl start snapd.service
sudo systemctl enable snapd.service

On Fedora 24, you have to set permissive as the SELinux security policy to allow starting the snapd service. So let’s edit the SELinux config file.

sudo nano /etc/selinux/config

Change the security policy from enforcing to permissive.


Save and close the file. Now you can start snapd service with systemctl.

Install snapd on Debian sid

sudo apt install snapd

Install snapd on Ubuntu 16.04

sudo apt install snapd

Installing Snap Packages on Arch, Fedora

Now snapd is installed on Arch Linux, Fedora and the snapd service is started, we can install snap apps from the Ubuntu snap store.

Use this command to list available snap packages.

snap find

Search snap packages in the store.

snap find <package_name>

To install a snap package:

sudo snap install <package_name>

List installed snap packages.

snap list

For example, install Nextcloud server with the following command.

sudo snap install nextcloud

install nextcloud on arch linux fedora

Snap apps are installed in /snap directory.

Questions or suggestions are always welcome. If you found this post useful, 🙂  please share it with your friends on social media! Stay tuned for more Linux tutorials.

Rate this tutorial
[Total: 1 Average: 5]
  • Cmaciej

    Dear people writing tutorials on Linux stuff, please, please, please stop advice people to switch SELINUX into permissive mode permanently,
    this is very irresponsible! You should only use permissive mode to generate audit logs and generate own custom SE modules. Load own modules and switch back to enforcing mode. Instructions for Fedora 24:

    #(after installing snapd)

    sudo setenforce 0
    sudo systemctl start snapd.service
    sudo audit2allow -a

    #Here you can see policy problems in human readable form 🙂
    #============= init_t ==============
    #allow init_t unconfined_service_t:unix_stream_socket { bind create listen setopt };

    #to generate custom selinux module based on this audit use:
    sudo audit2allow -a -M snapd_local

    #******************** IMPORTANT ***********************
    #To make this policy package active, execute:
    #semodule -i snapd_local.pp

    #as you can see this tool tells you how to load generated module.
    sudo semodule -i snapd_local.pp

    #Now you can enable selinux enforcing and proceed with guide
    setenforce 1

    sudo systemctl enable snapd.service