alis icon indicating copy to clipboard operation
alis copied to clipboard

Add snap support to alis-packages.conf

Open curi0usJack opened this issue 4 years ago • 1 comments

Great tool. I'm using it to build out an Arch desktop environment, but noticed there wasn't any support for snapd packages. I can certainly run these post install, but figured it'd be a straightforward addition to the script. Thanks again for putting it out there! Super useful.

curi0usJack avatar Mar 10 '21 16:03 curi0usJack

Snap requires this service enabled and started, that can be a problem during system installation/chroot.

sudo systemctl enable --now snapd.socket

Also snapd package is an AUR package, this is a negative as requires AUR utility and can be error prone.

Also maybe a reboot is required as commented in the Arch Linux wiki

Tip: snapd installs a script in /etc/profile.d/snapd.sh to export the paths of binaries installed with the snapd package and desktop entries. Reboot once to make this change take effect.

Could be possible to add snap support, but maybe is required to install it after system installation, once a reboot and during packages installation. For install packages I recommend to do it after system installation, as is less error prone.

https://github.com/picodotdev/alis#packages-installation

https://snapcraft.io/docs/installing-snap-on-arch-linux https://wiki.archlinux.org/index.php/Snap

picodotdev avatar Mar 10 '21 21:03 picodotdev