Installing snap on Raspberry Pi OS

Installing snap on Raspberry Pi OS - Snap Package Manager -

Installing snap on Raspberry Pi OS

Snap can be installed on a Raspberry Pi running the latest version of Raspberry Pi OS by opening a terminal and typing a couple of Linux commands.

The default terminal, also known as a command line, is called LXTerminal and it’s launched from its icon on the Raspberry Pi OS desktop. Take a look at the official Raspberry Pi documentation if you’re unfamiliar with the Linux terminal.

Enter the following into the terminal:

$ sudo apt update

$ sudo apt install snapd

0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.

Need to get 12.1 MB of archives.

After this operation, 48.7 MB of additional disk space will be used.

You will also need to reboot Linux. This can be accomplished from the terminal (and from the Linux desktop), but make sure you save any open documents first:

$ sudo reboot

To test your system, install the hello-world snap and make sure it runs correctly:

hello-world 6.3 from Canonical✓ installed

$ hello-world

Hello World!

Snap is now installed and ready to go! If you’re using a desktop, a great next step is to install the Snap Store app.

Snap is an integral part of Ubuntu Core, which can be installed as the native Raspberry Pi operating system. Ubuntu Core provides more permissive access to the Raspberry Pi, and may enable functionality not easily mirrored when snap is installed from Raspberry Pi OS. A good example of this is low-level access to a Raspberry Pi’s GPIO pins.

Fair Use Source: https://snapcraft.io/docs/installing-snap-on-raspbian