Editing Snap

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 4: Line 4:
  
 
== Basic operations ==
 
== Basic operations ==
* Installation: <code>sudo [[apt install snapd]]</code><ref>https://tutorials.ubuntu.com/tutorial/basic-snap-usage#1</ref>
+
* Installation: <code>sudo [[apt]] install snapd</code><ref>https://tutorials.ubuntu.com/tutorial/basic-snap-usage#1</ref>
 
* Install your first application:  
 
* Install your first application:  
 
:::<code>[[snap install]] hello</code>
 
:::<code>[[snap install]] hello</code>
Line 23: Line 23:
  
 
== Directories ==
 
== Directories ==
* <code>[[/var/lib/snapd/snaps/]]</code>
+
* <code>[[/var/lib/]]snapd/snaps/</code>
 
* <code>[[/snap/]]</code>
 
* <code>[[/snap/]]</code>
* <code>[[/snap/bin/]]</code>
 
* <code>[[/var/lib/snapd/cache/]]</code>
 
  
 
== Snapshots and Roll Back==
 
== Snapshots and Roll Back==
Line 33: Line 31:
  
 
== Channels ==
 
== Channels ==
* Change channel: <code>sudo [[snap refresh]] hello [[--channel]]=beta</code>
+
* Change channel: <code>sudo [[snap refresh]] hello --channel=beta</code>
 
* <code>[[snap info]] PACKAGE</code> (To show channels)
 
* <code>[[snap info]] PACKAGE</code> (To show channels)
  
Line 44: Line 42:
 
* <code>sudo [[systemctl restart]] snapd.service</code>
 
* <code>sudo [[systemctl restart]] snapd.service</code>
  
== Related ==
+
== Related terms ==
 
* <code>[[snap start]]</code>
 
* <code>[[snap start]]</code>
 
* <code>[[Squashfs]]</code>
 
* <code>[[Squashfs]]</code>
* <code>[[find]] [[/snap/]]<snapname>/current/</code>
 
* <code>[[/snap/bin/]]</code>
 
* [[Flatpak]]
 
* [[systemctl stop snapd]]
 
* [[geth --syncmode snap]]
 
* [[Brew]]
 
  
 
== See also ==
 
== See also ==
 
* {{snap}}
 
* {{snap}}
 +
* {{apt}}
 
* {{package managers}}
 
* {{package managers}}
 +
* {{Ubuntu}}
  
 
{{CC license}}
 
{{CC license}}
 
Original Source: https://en.wikiversity.org/wiki/Snap
 
Original Source: https://en.wikiversity.org/wiki/Snap
  
[[Category:Snap]]
+
[[Category:Linux]]
 
[[Category:Ubuntu]]
 
[[Category:Ubuntu]]

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)

Advertising: