summaryrefslogtreecommitdiff
blob: 331729cb165044f739264c35f4f3286962b7685c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Use this command to enable the snapd service:

	systemctl enable snapd.socket

You can source /etc/profile.d/snapd.sh in your shell in order to
update PATH and XDG_DATA_DIRS environment variables to include
installed snaps.

Once you have snapd running (first refer to the *AppArmor Section*
below if you have that enabled), see the snap-store installation
instructions here:

	https://snapcraft.io/docs/installing-snap-store-app

If snap-store does not work correctly then it may be due to a temporary
service outage which will hopefully be reported on this page:

	https://status.snapcraft.io/

When snap-store is not working due to a service outage, it may still
be possible to install apps via the snap cli. See snap --help for
details. Many apps can be installed without a snap store (Ubuntu One)
account. The snap login, logout, and whoami subcommands are available
to manage snap store account details.

Note that you will need a polkit authentication agent running in
order to authenticate as root when installing snaps as a non-root user.
The agent is typically started by a desktop entry found in
/etc/xdg/autostart such as one of these:

	polkit-gnome-authentication-agent-1.desktop
	polkit-kde-authentication-agent-1.desktop

*AppArmor Section*

When apparmor is enabled you should enable these services:

	systemctl enable apparmor.service snapd.apparmor.service

You also need it enabled in your kernel and you may need to add these
kernel parameters to your boot loader configuration:

	apparmor=1 security=apparmor

Refer here for more information about apparmor:

	https://wiki.gentoo.org/wiki/AppArmor