snap.pkg

Manage sandboxed snap packages

TLDR

Search for a package
$ snap find [query]
Install a package
$ snap install [package]
Update a package
$ snap refresh [package]
Update to a specific channel
$ snap refresh [package] --channel=[channel]
Update all packages
$ snap refresh
List installed snaps
$ snap list
Remove a package
$ snap remove [package]
Check recent changes
$ snap changes

SYNOPSIS

snap command [OPTIONS]

DESCRIPTION

snap is the package manager for Snap packages, self-contained applications that work across Linux distributions. Snaps include all dependencies and run in sandboxed environments for security isolation.The Snap store provides thousands of applications including browsers, development tools, and server software. Snaps update automatically in the background and can be rolled back to previous versions if needed.

PARAMETERS

find query

Search for snaps in the store
install package
Install a snap package
remove package
Uninstall a snap package
refresh [package]
Update snap(s) to latest version
list
Display installed snaps
info package
Show detailed snap information
changes
List recent system changes
revert package
Revert snap to previous version
enable package
Enable a disabled snap
disable package
Disable a snap
services
Query service status
start/stop/restart service
Control snap services
connect plug slot
Connect interfaces
disconnect plug slot
Disconnect interfaces
--channel channel
Specify channel (stable, candidate, beta, edge)
--classic
Allow classic confinement
--devmode
Enable development mode

CAVEATS

Requires snapd daemon running. Snaps may have larger disk footprint than native packages due to bundled dependencies. Classic confinement bypasses sandbox restrictions. Some distributions have removed or disabled snap support.

HISTORY

Snap was developed by Canonical and introduced with Ubuntu 16.04 in 2016. It was designed to provide universal Linux packaging with automatic updates, security confinement, and cross-distribution compatibility. The technology builds on earlier work from Ubuntu Touch's click packages.

SEE ALSO

snapd(8), flatpak(1), apt(8)