How to install Snapcraft on OpenSUSE a Universal App Store

How to install Snapcraft on OpenSUSE a Universal App Store

Snapcraft or Snap is a universal app store for Linux and deliver and update your app on any Linux distribution for desktop, cloud, and Internet of Things.

Snaps are transforming the way install and update apps, working across many distributions and versions of Linux

Snaps are bundling dependencies and config, and simplifying installs to a single standard command.

You can install snap from the command line on OpenSUSE
You first need to first add the snappy repository. Leap 15 users, for example, can do this with the following command:

sudo zypper addrepo --refresh https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.0 snappy

Then you will see this “Repository ‘snappy’ successfully added”
Swap out openSUSE_Leap_15.0 for either openSUSE_Leap_42.3 or openSUSE_Tumbleweed if you’re using a different version of openSUSE.
With the repository added, import its GPG key:

sudo zypper --gpg-auto-import-keys refresh

Finally, upgrade the package cache to include the new snappy repository

sudo zypper dup --from snappy

You can now install snapd with the following command

sudo zypper install snapd

It is time for restart your PC now.

if you need, you can enable and start the snapd service with the following commands;

sudo systemctl enable snapd
sudo systemctl start snapd

If you need, you can check your Snap version with following command;

snap version


Source

https://docs.snapcraft.io

[collapse]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.