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> |
− | |||
* Remove an application: <code>snap remove hello-world</code> | * Remove an application: <code>snap remove hello-world</code> | ||
* Search for your application: <code>[[snap find]] SNAP_TO_SEARCH</code> | * Search for your application: <code>[[snap find]] SNAP_TO_SEARCH</code> | ||
− | ** Search for Canonical’s snaps | + | ** Search for Canonical’s snaps:<code>snap find Canonical</code> |
− | + | * List installed snaps: <code>snap list</code> | |
− | * List installed snaps | + | * <code>snap changes</code> |
− | + | * Show Info: <code>snap info SNAP_NAME</code> | |
− | * <code> | + | * Update your snaps: <code>sudo snap refresh</code> |
− | * Show Info | ||
− | |||
− | * Update your snaps: <code>sudo | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== 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 | + | * Change channel: <code>sudo snap refresh hello --channel=beta</code> |
− | |||
== Adoption == | == Adoption == | ||
Line 42: | Line 27: | ||
* Read snap source code: https://github.com/snapcore/snapd | * Read snap source code: https://github.com/snapcore/snapd | ||
* Enable snaps in Fedora: <code>sudo dnf install snapd</code> and <code>sudo [[systemctl]] enable --now snapd.socket</code> | * Enable snaps in Fedora: <code>sudo dnf install snapd</code> and <code>sudo [[systemctl]] enable --now snapd.socket</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
* {{snap}} | * {{snap}} | ||
− | * {{ | + | * [[Ubuntu]] |
+ | * {{apt}} | ||
+ | * [[Docker]] [[containers]] | ||
{{CC license}} | {{CC license}} | ||
Original Source: https://en.wikiversity.org/wiki/Snap | Original Source: https://en.wikiversity.org/wiki/Snap | ||
− | [[Category: | + | [[Category:Linux]] |
[[Category:Ubuntu]] | [[Category:Ubuntu]] |
Advertising: