LinuxCommandLibrary

snap

Manage sandboxed snap packages

TLDR

Search for a package

$ snap find query
copy
Install a package
$ snap install package
copy
Update a package
$ snap refresh package
copy
Update to different channel
$ snap refresh package --channel=channel
copy
Update all packages
$ snap refresh
copy
List installed snaps
$ snap list
copy
Remove a package
$ snap remove package
copy
Show recent changes
$ snap changes
copy

SYNOPSIS

snap command [OPTIONS]

DESCRIPTION

snap is the command-line interface for managing snap packages, which are self-contained software bundles that include all dependencies. Snaps are sandboxed, automatically updated, and work across many Linux distributions.

PARAMETERS

find query

Search for snaps matching the query
install snap
Install a snap package
remove snap
Remove an installed snap
refresh [snap]
Update a specific snap or all snaps
list
List installed snaps
info snap
Show detailed information about a snap
changes
Show recent changes and operations
connections [snap]
Show interface connections
--channel channel
Specify the channel (track/risk/branch) for install or refresh
--classic
Install with classic confinement (less sandboxing)
--devmode
Install in development mode (no confinement)

CAVEATS

Snaps run in a sandbox with limited access to system resources. Interface connections control what resources a snap can access. Some snaps require --classic mode to access the full system.

HISTORY

snap is part of snapd, developed by Canonical for universal Linux packaging. It provides automatic updates, rollback capabilities, and runs on most Linux distributions.

SEE ALSO

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

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community