Movatterモバイル変換


[0]ホーム

URL:


Installing snap on Raspberry Pi OS

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

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

Enter the following into the terminal:

$ sudo apt update$ sudo apt install snapd

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

$ sudo reboot

After this, install thecore snap in order to get the latestsnapd.

$ sudo snap install corecore 16-2.45.2 from Canonical✓ installed

:information_source: Note: some snaps require new snapd features and will show an error such assnap "lxd" assumes unsupported features" during install. You can solve this issue by making sure the core snap is installed (snap install core) and it’s the latest version (snap refresh core).

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

$ snap install hello-worldhello-world 6.3 from Canonical✓ installed$ hello-worldHello World!

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

Ubuntu Core on the Raspberry Pi:



Snap is an integral part ofUbuntu 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.


Last updated 2 years ago.


[8]ページ先頭

©2009-2025 Movatter.jp