Page 1 of 1

[INFO]Snaps on ArchMerge

Posted: Tue Nov 14, 2017 9:03 pm
by darknetmatrix
A ‘snap’ is a universal Linux package.
Snaps work on any distribution or device. Snaps are faster to install, easier to create, safer to run, and they update automatically and transactionally so your app is always fresh and never broken.
The public collection of snaps includes the latest and best apps from GitHub and beyond, so you have the whole world of Linux apps at your fingertips.

To get snap working you need to do the following on ArchMerge:
Install snapd

Code: Select all

$ sudo pacman -S snapd
Once installed the systemd unit which is responsible to manage the main communication socket for snapd is not automatically enabled and you have to do this manually:

Code: Select all

$ sudo systemctl enable --now snapd.socket
Afterwards everything is setup to get you started with snaps.

Here you find several snaps you can use: https://uappexplorer.com/snaps

How to install Snap apps (and remove ’em)

Code: Select all

$ snap install appname

Code: Select all

$ snap remove appname
See more information about a Snap app

Code: Select all

snap info appname
Update a Snap App

Code: Select all

snap refresh
snap command reference: https://snapcraft.io/docs/reference/snap-command#find

If at command

Code: Select all

sudo snap install package_name.snap
you get the error:

Code: Select all

error: can not find signatures with metadata for snap
        " package_name.snap"
add --dangerous

Code: Select all

sudo snap install --dangerous package_name.snap
of course you have to look for and download the appropriate package for your architecture;
example of package with incorrect architecture:
error: cannot perform the following tasks:
- Mount snap "snaptutorial10" (unset) (snap "snaptutorial10" supported architectures (armhf) are incompatible with this system (amd64)

Re: [INFO]Snaps on ArchMerge

Posted: Sun Dec 10, 2017 6:39 am
by javierar
Have you run any snap app with this method? I followed the steps and the recomendations on the Arch wiki whithout any luck. The snap app gets installed but when I try to run it nothing loads without any message. Maybe I'm missing something.

Re: [INFO]Snaps on ArchMerge

Posted: Sun Dec 10, 2017 7:21 am
by darknetmatrix
javierar wrote:
Sun Dec 10, 2017 6:39 am
Have you run any snap app with this method? I followed the steps and the recomendations on the Arch wiki whithout any luck. The snap app gets installed but when I try to run it nothing loads without any message. Maybe I'm missing something.
yes i did install krita like this, so it works.