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 1: | Line 1: | ||
− | [[wikipedia:Snappy_(package_manager)|Snap]]<ref> https://github.com/snapcore/snapd</ref> is a software deployment and | + | [[wikipedia:Snappy_(package_manager)|Snap]]<ref> https://github.com/snapcore/snapd</ref> is a software deployment and package management for Linux available at least since 2015<ref> https://github.com/snapcore/snapd/releases/tag/0.1-0ubuntu1</ref> with support for channels<ref>https://snapcraft.io/docs/channels</ref> and parallel installs <ref>https://snapcraft.io/docs/parallel-installs</ref>. |
Snaps are basically an application compiled together with its dependencies and libraries – providing a sandboxed environment for the application to run. These are easier and faster to install, can receive latest updates and is confined from the OS and other apps. | Snaps are basically an application compiled together with its dependencies and libraries – providing a sandboxed environment for the application to run. These are easier and faster to install, can receive latest updates and is confined from the OS and other apps. | ||
== Basic operations == | == Basic operations == | ||
− | * Installation: <code>sudo [[apt install snapd | + | * 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 13: | Line 13: | ||
* List installed snaps: | * List installed snaps: | ||
:::<code>[[snap list]]</code> | :::<code>[[snap list]]</code> | ||
− | * <code> | + | * <code>snap changes</code> |
* Show Info: | * Show Info: | ||
::: <code>[[snap info]] SNAP_NAME</code> | ::: <code>[[snap info]] SNAP_NAME</code> | ||
Line 23: | Line 23: | ||
== Directories == | == Directories == | ||
− | * <code> | + | * <code>/var/lib/snapd/snaps/</code> |
− | |||
− | |||
− | |||
== Snapshots and Roll Back== | == Snapshots and Roll Back== | ||
− | * Take a | + | * Take a snapshot: <code>snap save</code> |
* Roll Back (including data): <code>sudo snap revert hello</code> | * Roll Back (including data): <code>sudo snap revert hello</code> | ||
== Channels == | == Channels == | ||
− | * Change channel: <code>sudo [[snap refresh]] hello | + | * 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 41: | ||
* <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> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
* {{snap}} | * {{snap}} | ||
+ | * {{Ubuntu}} | ||
+ | * {{apt}} | ||
+ | * [[Docker]] [[containers]] | ||
* {{package managers}} | * {{package managers}} | ||
Line 61: | Line 54: | ||
Original Source: https://en.wikiversity.org/wiki/Snap | Original Source: https://en.wikiversity.org/wiki/Snap | ||
− | [[Category: | + | [[Category:Linux]] |
[[Category:Ubuntu]] | [[Category:Ubuntu]] |
Advertising: