Snaps
Snaps is a system for creating, distributing and running sandboxed applications on Linux.
Installation from repository
Snaps can be installed via terminal:
su -
apt-get update
apt-get install snapdepm -i snapdAfter installation, you need to enable the systemd module, which manages the main snap communication connector:
su -
systemctl enable --now snapdTo enable classic snap support, enter the following, you need to create a symbolic link:
su -
ln -s /var/lib/snapd/snap /snapLog out and log back in, or restart the system to ensure that the snap paths are updated correctly.
Installation using EPM
Информация
Current from version EPM 3.61.4
To install Snap using EPM, enter the command in the terminal
epm play snapIf you want to enable support for classic snap packages, enter the command in the terminal
epm play snap=classicUsing SNAPS
Basic commands needed to install, run, and manage Snap apps. For a complete list of Snaps commands, run snap --help
Search for applications
To search for an application/environment in Snaps, use the find command:
snap find telegramsnap search telegram result
Name Version Publisher Notes Summary
telegram-desktop 4.14.15 telegram-desktop\u2713 - Fast. Secure. Powerful.
telegram-cli 1.3.1 marius-quabeck - Command-line interface for Telegram. Uses the readline interface.
telegram-testbart 1.7.7 snap-retiring - A cloud-based messaging app with a focus on security and speed.
telega 0.7.1 alexmurray\u272a - Full featured unofficial client for Telegram in GNU Emacs.
superperms 13.3 lucyllewy\u272a - Search for minimal Super PermutationsYou can find out more detailed information about the supplied package:
snap info chromiumthe result of running a command to display detailed information about the chromium package
[oleg@alt-gnome ~]$ snap info chromium
name: chromium
summary: Chromium web browser, open-source version of Chrome
publisher: Canonical\u2713
store-url: https://snapcraft.io/chromium
contact: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bugs?field.tag=snap
license: unset
description: |
An open-source browser project that aims to build a safer, faster, and more
stable way for all Internet users to experience the web.
commands:
- chromium.chromedriver
- chromium
snap-id: XKEcBqPM06H1Z7zGOdG5fbICuf8NWK5R
tracking: latest/stable
refresh-date: today at 03:01 MSK
channels:
latest/stable: 121.0.6167.160 2024-02-09 (2749) 167MB -
latest/candidate: 121.0.6167.160 2024-02-07 (2749) 167MB -
latest/beta: 122.0.6261.29 2024-02-08 (2754) 167MB -
latest/edge: 123.0.6286.0 2024-02-09 (2755) 167MB -
installed: 121.0.6167.160 (2749) 167MB -Installing applications
To install snaps, run:
snap install chromiumTo confirm the operation and privileges, enter the administrator password.
result of executing the chromium installation command
chromium 121.0.6167.160 from Canonical\u2713 installedTo install a package from a specific channel, use the appropriate option, such as --stable, --candidate, --beta or --edge:
snap install chromium --edgeDeleting an application
To remove an app in Snaps use the remove command and the app ID:
snap remove chromiumresult of executing the chromium removal command
chromium removedTroubleshooting
To get information about connected interfaces, enter:
snap connections chromiumresult of executing the connections command for the chromium program
[oleg@alt-gnome ~]$ snap connections chromium
Interface Plug Slot Notes
audio-playback chromium:audio-playback :audio-playback -
audio-record chromium:audio-record :audio-record -
bluez chromium:bluez :bluez -
browser-support chromium:browser-sandbox :browser-support -
camera chromium:camera :camera -
content chromium:foo-install-cups - -
content[gnome-42-2204] chromium:gnome-42-2204 gnome-42-2204:gnome-42-2204 -
content[gtk-3-themes] chromium:gtk-3-themes gtk-common-themes:gtk-3-themes -
content[icon-themes] chromium:icon-themes gtk-common-themes:icon-themes -
content[sound-themes] chromium:sound-themes gtk-common-themes:sound-themes -
cups chromium:cups cups:cups -
desktop chromium:desktop :desktop -
desktop-legacy chromium:desktop-legacy :desktop-legacy -
gsettings chromium:gsettings :gsettings -
hardware-observe chromium:hardware-observe :hardware-observe -
home chromium:home :home -
joystick chromium:joystick :joystick -
mount-observe chromium:mount-observe - -
mpris - chromium:mpris -
network chromium:network :network -
network-bind chromium:network-bind :network-bind -
network-manager chromium:network-manager - -
opengl chromium:opengl :opengl -
password-manager-service chromium:password-manager-service - -
personal-files chromium:chromium-config :personal-files -
personal-files chromium:dot-local-share-applications :personal-files -
personal-files chromium:dot-local-share-icons :personal-files -
raw-usb chromium:raw-usb - -
removable-media chromium:removable-media :removable-media -
screen-inhibit-control chromium:screen-inhibit-control :screen-inhibit-control -
system-files chromium:etc-chromium-browser-policies :system-files -
system-packages-doc chromium:system-packages-doc :system-packages-doc -
u2f-devices chromium:u2f-devices :u2f-devices -
unity7 chromium:unity7 :unity7 -
upower-observe chromium:upower-observe :upower-observe -
wayland chromium:wayland :wayland -
x11 chromium:x11 :x11 -To see what changes have been made to your snaps installation over time, you can view the logs:
snap changesresult of executing the changes command
[oleg@alt-gnome ~]$ snap changes
ID Status Spawn Ready Summary
1 Done today at 01:13 MSK today at 01:13 MSK Initialize system state
2 Done today at 01:17 MSK today at 01:19 MSK Install "firefox" snap
3 Done today at 01:17 MSK today at 01:17 MSK Initialize device
4 Done today at 01:21 MSK today at 01:23 MSK Install "figma-linux" snap
5 Done today at 01:34 MSK today at 01:35 MSK Install "brave" snap
6 Done today at 02:29 MSK today at 02:30 MSK Install "icq-im" snap
7 Done today at 02:35 MSK today at 02:36 MSK Remove "icq-im" snap
8 Done today at 02:36 MSK today at 02:36 MSK Install "icq-im" snap
9 Done today at 03:00 MSK today at 03:01 MSK Install "chromium" snap
10 Done today at 03:13 MSK today at 03:13 MSK Remove "chromium" snap