LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

snap

Manage sandboxed snap packages

TLDR

Search for a package
$ snap find [query]
copy
Install a package
$ snap install [package]
copy
Install with classic confinement (full system access)
$ snap install --classic [package]
copy
Update all packages
$ snap refresh
copy
List installed snaps
$ snap list
copy
Show detailed info about a snap
$ snap info [package]
copy
Remove a package
$ snap remove [package]
copy
Revert to a previous version
$ snap revert [package]
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
revert snap
Revert a snap to its previous version
disable snap
Disable a snap without removing it
enable snap
Re-enable a disabled snap
--channel channel
Specify the channel (track/risk/branch) for install or refresh
--classic
Install with classic confinement (full system access)
--devmode
Install in development mode (no confinement)
--dangerous
Install a local snap file without signature verification

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)

Copied to clipboard
Kai