Snap

MocaccinoOS and Snap integration

Besides (prefered) flatpak, MocaccinoOS also offers snap.

Installing and configuring

To install snap, run as root:

1
luet install apps/snapd

Once the snap package is installed, enable these services:

1
systemctl enable --now snapd.socket

AppArmor

Snap’s fallback behavior without AppArmor is flaky, and some snaps won’t work at all. So we must enable AppArmor on our system. It is pulled in as a dependency of the apps/snapd package so we already have it on the system.

Enable the apparmor service:

1
systemctl enable --now apparmor.service snapd.apparmor.service

Enable required boot parameters. Edit /etc/default/grub and append apparmor=1 security=apparmor parameters.

1
GRUB_CMDLINE_LINUX_DEFAULT="apparmor=1 security=apparmor"

After editing this file, regenerate the grub config file:

1
grub-mkconfig -o /boot/grub/crug.cfg

Now restart the system.

Using snap

To install Spotify, for example, now you can:

1
sudo snap install spotify

For a detailed documentation, we suggest as a follow-up reading the official docs, here you can find a short summary of the most used commands.

Applications can be found in any of the added remotes using the search command. For example:

1
snap find spotify

Running applications

After an application is installed, can be run by their id:

1
snap run spotify

Updating

To update all your installed applications and runtimes to the latest available version in Flatpak, run:

1
snap refresh

References

Last modified July 10, 2025: Update snap.md (bc0e23b)