Skip to content

Instantly share code, notes, and snippets.

@rkennesson
Last active June 5, 2024 10:30
Show Gist options
  • Save rkennesson/ea5eb3e4aef694168d50eef87cafd538 to your computer and use it in GitHub Desktop.
Save rkennesson/ea5eb3e4aef694168d50eef87cafd538 to your computer and use it in GitHub Desktop.

snap cheatsheet

install snap subsystem

dnf install snapd

install a snap

snap install <snap>

find snap

snap find <search>

list installed snaps

snap list

upgrade and downgrade Snap packages

sudo snap refresh <package>
sudo snap refresh --list # show snaps that have updates available
sudo snap revert <package> # revert to previous version

remove snap

sudo snap remove <package>
sudo snap remove --purge <package> # remove snap related files/configs

change snap channel

sudo snap refresh <package> --channel=<stable,candidate,beta,edge,etc> 

install offline

snap download <package_name> # may need to download and install snap subsystem ie gnome-3-26-1604
snap ack <package_name.assert>
snap install <package_name.snap>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment