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.

SELINUX=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: 4 Average: 4]