Difference between revisions of "Snap"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 1: | Line 1: | ||
− | [[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>. | + | [[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. |
Revision as of 19:53, 1 September 2020
Snap[1] is a software deployment and package management for Linux available at least since 2015 [2] with support for channels[3] and parallel installs [4].
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.
Contents
Basic operations
snap install hello
- Remove an application:
snap remove hello-world
- Search for your application:
snap find SNAP_TO_SEARCH
- Search for Canonical’s snaps:
snap find Canonical
- List installed snaps:
snap changes
- Show Info:
snap info SNAP_NAME
- Update your snaps:
sudo snap refresh
snap set
. For example:snap set rocketchat-server port=4000
snap get
snap switch
snap services
Directories
/var/lib/snapd/snaps/
Snapshots and Roll Back
- Take a snapshot:
snap save
- Roll Back (including data):
sudo snap revert hello
Channels
- Change channel:
sudo snap refresh hello --channel=beta
snap info PACKAGE
(To show channels)
Adoption
Snaps were introduced in Ubuntu 16.04 LTS.
Activities
- Read snap source code: https://github.com/snapcore/snapd
- Enable snaps in Fedora:
sudo dnf install snapd
andsudo systemctl enable --now snapd.socket
sudo systemctl restart snapd.service
Related terms
See also
- Snap:
snap
,snapd
,snapctl
,snapcraft
,snap
: [list
|install
|find
|info
|services
|start
|stop
|remove
|refresh | set
|logs
]snapd
|snap list | snap version
|snap find aws
|snap --help
] APT
:wajig
,apt-cache
,add-apt-repository
PPA,apt
[install
|remove
|purge | show | list | changelog
|update
|upgrade
],do-release-upgrade
,apt-mark
,apt full-upgrade
,sources.list
, APT Automatic updates,unattended-upgrade
,apt-transport-https
,apt-get update
,/etc/apt/
,/etc/apt/apt.conf.d/50unattended-upgrades
,/etc/apt/apt.conf.d/
,/etc/apt/apt.conf.d/20auto-upgrades
,apt-file, apt-utils
- Package managers: dpkg, APT, RPM, YUM, DNF, homebrew, pkgutil, opkg, Helm, pkg and snap, npm, Aptitude, alien, Conan, CRAN, Chocolatey, NuGet, PackageKit, Wajig, pacman, PIP, Apache Ivy, List packages, List files in packages, Spack
- Ubuntu, Ubuntu releases, snap, MAAS, PPA, Canonical Livepatch, Ubuntu Advantage, netplan, multipass, Landscape, Subiquity,
lsb_release
, Ubuntu MATE, Wayland
Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.
Original Source: https://en.wikiversity.org/wiki/Snap
Advertising: