Snapd

From NovaOrdis Knowledge Base
Revision as of 03:44, 13 December 2022 by Ovidiu (talk | contribs) (→‎Internal)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Overview

snapd it’s the background service that manages and maintains the snaps on a Linux system. Snaps are programs that are packaged with all their dependencies to run on all major Linux distros. Moreover, snaps run confined within a restrictive security sandbox. Therefore, they are secure. In addition, snaps get updated automatically. So we don’t need to keep checking for updates manually.

Installation

https://snapcraft.io/docs/installing-snap-on-centos

As root:

yum install -y epel-release
yum install -y snapd
systemctl enable --now snapd.socket
ln -s /var/lib/snapd/snap /snap

Reboot.

Ensure that snapd is up to date. As root:

snap install core; snap refresh core