Editing Snap remove

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{lowercase}}
+
{{Draft}}
<code>[[snap]] [[remove]] SNAP_NAME --revision=5</code> [http://manpages.org/snap|man]
 
  
== Examples ==
+
* <code>snap remove SNAP_NAME --revision=5</code>
snap remove SNAP_NAME
 
SNAP_NAME removed
 
  
[[snap list --all]] | awk '/disabled/{print $1, $3}'
 
  
du -hs [[/var/lib/snapd/snaps/]]
 
#!/bin/sh
 
[[LANG]]=[[en_US.UTF-8]] snap list --all | awk '/disabled/{print $1, $3}' |
 
while read pkg revision; do
 
  sudo snap remove "$pkg" --revision="$revision"
 
done
 
du -hs /var/lib/snapd/snaps/
 
 
[[core20]] (revision 1434) removed
 
[[firefox]] (revision 3131) removed
 
gnome-3-38-2004 (revision 99) removed
 
gnome-42-2204 (revision 132) removed
 
[[gtk-common-themes]] (revision 1519) removed
 
kubeadm (revision 3131) removed
 
kubectl (revision 3062) removed
 
[[snap-store]] (revision 582) removed
 
[[snapd-desktop-integration]] (revision 10) removed
 
error: snap "terraform" has "[[auto-refresh]]" change in progress
 
[[yq]] (revision 2243) removed
 
 
== Errors ==
 
snap remove
 
error: the required argument `<snap> (at least 1 argument)` was not provided
 
  
 
== Related commands ==
 
== Related commands ==
 
* <code>[[snap list --all]]</code>
 
* <code>[[snap list --all]]</code>
 
* <code>[[snap forget]]</code>
 
* <code>[[snap forget]]</code>
* <code>[[snap install]]</code>
 
 
* <code>[[snap set]] system refresh.retain=2</code>
 
* <code>[[snap set]] system refresh.retain=2</code>
  

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page:

Advertising: