How to install Snap on Arch Linux

In this tutorial I'll explain step by step how to install snap on Arch Linux, by building the package from the source, and using aur helpers such as yay, trizen etc.

What is snap?

Snaps are universal Linux Package

Install Snap using aur helpers

Snap is available on the Arch User Repository(AUR), so you can install snap via a simple command using aur helpers.

yay -S snapd

Note: Yay must be installed on your system.

Learn how Install Yay here

Building Snap from the Source

Step 1 - Clone the Git Repository

 git clone https://aur.archlinux.org/snapd.git

Step 2 - Browse to snapd folder

 cd snapd

Step 3 - Build the Package

makepkg -si

Step 4 - Enable the main com socket, and classic support

Once snapd has been installed, you need to enable the main communication socket, run the following command to enable it.

 sudo systemctl enable --now snapd.socket

sudo ln -s /var/lib/snapd/snap /snap

Step 5 - Reboot

To make sure that everything is installed correctly and up running, reboot your system.

How to Install an app via snap?

Lookup the software you want to install on the snap store, then simply type the following command to install the software on your system.

sudo snap install softwarename

How to Uninstall an App via snap

Run the following command to uninstall a software.

sudo snap remove softwarename

Conclusion

In this tutorial you learned how to install Snap on Arch Linux. Snap makes the installation process of a software easier for you, specially if you are new to Linux.

Author

AOD.net Staff

Linux Enthusiast, Coder, Security Researcher, Linux Sys Admin, Night owl.

Comments