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
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.
Step 1 – Clone the Git Repository
git clone https://aur.archlinux.org/snapd.git
Step 2 – Browse to snapd folder
Step 3 – Build the Package
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.
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
Run the following command to uninstall a software.
sudo snap remove softwarename
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.