Skip to content

Common usage of Snaps

A snap is an application containerised with all its dependencies.

Installing

sudo apt update 
sudo apt install snapd 
sudo apt install core 

Common usage

snap version
sudo snap install <snap-name>
sudo snap remove <snap-name>
sudo snap refresh <snap-name>
snap find <package-name>
snap install <package-name> --channel=<channel>

Create your own snap

sudo snap install --classic snapcraft

snapcraft init

snapcraft

Reference

  • https://snapcraft.io/
  • https://ubuntu.com/core/services/guide/snaps-intro
  • https://ubuntu.com/tutorials/create-your-first-snap

Disclaimer
  1. License under CC BY-NC 4.0
  2. Copyright issue feedback: dig +short txt issue.imzye.com
  3. Not all the commands and scripts are tested in production environment, use at your own risk
  4. No privacy information is collected here
Buy Me a Coffee