Difference between revisions of "Snap list"
Jump to navigation
Jump to search
(20 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
+ | <code>[[snap]] list</code> command displays a summary of snaps installed in the current system. | ||
+ | * <code>snap list</code> | ||
+ | * <code>[[snap list --all]]</code> | ||
+ | |||
+ | == Examples == | ||
+ | snap list | ||
+ | Name Version Rev Tracking Publisher Notes | ||
+ | [[amazon-ssm-agent]] 3.1.1188.0 5656 latest/stable/… aws✓ classic | ||
+ | [[core18]] 20220830 2560 latest/stable [[canonical]]✓ base | ||
+ | [[core20]] 20220826 1623 latest/stable canonical✓ base | ||
+ | [[lxd]] 5.5-37534be 23537 latest/stable/… canonical✓ - | ||
+ | [[snapd]] 2.56.2 16292 latest/stable canonical✓ snapd | ||
+ | |||
+ | snap list | ||
+ | Name Version Rev Tracking Publisher Notes | ||
+ | [[core18]] 20200707 1880 latest/stable canonical✓ base | ||
+ | [[lxd]] 4.0.2 16558 4.0/stable/… canonical✓ - | ||
+ | snapd 2.45.2 8542 latest/stable canonical✓ snapd | ||
snap list | snap list | ||
Line 7: | Line 26: | ||
snapd 2.44.3 7264 latest/stable canonical✓ snapd | snapd 2.44.3 7264 latest/stable canonical✓ snapd | ||
+ | snap list | ||
+ | Name Version Rev Tracking Publisher Notes | ||
+ | [[amazon-ssm-agent]] 3.0.161.0 2996 latest/stable/… aws✓ classic | ||
+ | core 16-2.48.2 10583 latest/stable canonical✓ core | ||
+ | core18 20210309 1997 latest/stable canonical✓ base | ||
+ | |||
+ | |||
+ | snap list | ||
+ | Name Version Rev Tracking Publisher Notes | ||
+ | core 16-2.44.3 9066 latest/stable canonical✓ core | ||
+ | |||
+ | |||
+ | snap list | ||
+ | error: cannot list snaps: cannot communicate with server: timeout exceeded while waiting for response | ||
+ | |||
+ | |||
+ | [[snap list --all]] | ||
+ | Name Version Rev Tracking Publisher Notes | ||
+ | core 16-2.45.2 9665 latest/stable canonical✓ core,disabled | ||
+ | core 16-2.45.3.1 9804 latest/stable canonical✓ core | ||
+ | |||
+ | == [[WSL]] == | ||
+ | snap list | ||
+ | Interacting with snapd is not yet supported on [[Windows Subsystem for Linux]]. | ||
+ | This command has been left available for documentation purposes only. | ||
+ | == Related commands == | ||
+ | * <code>[[snap remove]]</code> | ||
+ | * <code>[[snap find]] [[canonical]] | grep "canonical\*"</code> | ||
+ | * <code>ls -lR [[/snap/]]<snapname>/current/</code> | ||
+ | * [[add-apt-repository --list]] | ||
== See also == | == See also == |
Latest revision as of 17:34, 15 November 2023
snap list
command displays a summary of snaps installed in the current system.
snap list
snap list --all
Contents
Examples[edit]
snap list Name Version Rev Tracking Publisher Notes amazon-ssm-agent 3.1.1188.0 5656 latest/stable/… aws✓ classic core18 20220830 2560 latest/stable canonical✓ base core20 20220826 1623 latest/stable canonical✓ base lxd 5.5-37534be 23537 latest/stable/… canonical✓ - snapd 2.56.2 16292 latest/stable canonical✓ snapd
snap list Name Version Rev Tracking Publisher Notes core18 20200707 1880 latest/stable canonical✓ base lxd 4.0.2 16558 4.0/stable/… canonical✓ - snapd 2.45.2 8542 latest/stable canonical✓ snapd
snap list Name Version Rev Tracking Publisher Notes core18 20200427 1754 latest/stable canonical✓ base lxd 4.0.1 14890 4.0/stable/… canonical✓ - snapd 2.44.3 7264 latest/stable canonical✓ snapd
snap list Name Version Rev Tracking Publisher Notes amazon-ssm-agent 3.0.161.0 2996 latest/stable/… aws✓ classic core 16-2.48.2 10583 latest/stable canonical✓ core core18 20210309 1997 latest/stable canonical✓ base
snap list Name Version Rev Tracking Publisher Notes core 16-2.44.3 9066 latest/stable canonical✓ core
snap list error: cannot list snaps: cannot communicate with server: timeout exceeded while waiting for response
snap list --all Name Version Rev Tracking Publisher Notes core 16-2.45.2 9665 latest/stable canonical✓ core,disabled core 16-2.45.3.1 9804 latest/stable canonical✓ core
WSL[edit]
snap list Interacting with snapd is not yet supported on Windows Subsystem for Linux. This command has been left available for documentation purposes only.
Related commands[edit]
snap remove
snap find canonical | grep "canonical\*"
ls -lR /snap/<snapname>/current/
- add-apt-repository --list
See also[edit]
- Snap:
snap
,snapd
,snapctl
,snapcraft
,snap
: [list
|install
|find
|info
|services
|start
|stop
|remove
|refresh | set
|logs
]snapd
|snap list | snap version
|snap find aws
|snap --help
] - Ubuntu, Ubuntu releases, snap, MAAS, PPA, Canonical Livepatch, Ubuntu Advantage, netplan, multipass, Landscape, Subiquity,
lsb_release
, Ubuntu MATE, Wayland
Advertising: