Snaps and Flatpaks are a way to get applications on Linux. This works independently from the systems package manager. Both of these are working on Garuda although manual intervention might be required if fish is used as default login shell.
We recently decided to not support both Snaps & Flatpaks as we got a lot of apps in Chaotic-AUR already / AUR has it all usually. It will probably work fine but if it doesnt, dont create posts about it.
sudo pacman -S pamac-all
This will replace pamac-aur with the Snap/Flatpak enabled variant. If pacman asks to uninstall pamac-aur, this can be safely done. Next you have to enable the Snap services.
sudo systemctl enable --now snapd.socket
sudo systemctl enable --now apparmor.service
sudo systemctl enable --now snapd.apparmor.service
More information & instructions on how to use Snap can be found in the Archwiki
Is already installed with installing pamac-all. Flatpak does not need to be enabled manually like Snap does. To find out how to use Flatpak read its Archwiki page.
If fish is used as login shell:
Since fish doesnt use /etc/profile.d Snaps wont work right away (eg. doesnt show up in startmenu). There are 2 possible workarounds:
sudo pacman -S bass-fish
for file in /etc/profile.d/*.sh
bass source $file
The preferred workaround is the first one as it is faster and works natively with the environment variables due to bash starting before fish does.