Difference between revisions of "Snap list"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<code>snap list</code> command displays a summary of snaps installed in the current system.
+
{{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
 
  snap list
Line 12: Line 25:
 
  [[lxd]]    4.0.1    14890  4.0/stable/…  canonical✓  -
 
  [[lxd]]    4.0.1    14890  4.0/stable/…  canonical✓  -
 
  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
  
  
Line 23: Line 42:
  
  
  snap list --all
+
  [[snap list --all]]
 
  Name  Version      Rev  Tracking      Publisher  Notes
 
  Name  Version      Rev  Tracking      Publisher  Notes
 
  core  16-2.45.2    9665  latest/stable  canonical✓  core,disabled
 
  core  16-2.45.2    9665  latest/stable  canonical✓  core,disabled
 
  core  16-2.45.3.1  9804  latest/stable  canonical✓  core
 
  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 ==
 
== Related commands ==
 
* <code>[[snap remove]]</code>
 
* <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.

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]

See also[edit]

Advertising: