You can install the snapd package with:

sudo dnf install snapd

Now everything is set up to get you started with snaps

Snaps using classic confinement, such as code editors, also require a symlink from /var/lib/snapd/snap to /snap:

sudo ln -s /var/lib/snapd/snap /snap

Verify it with the ls command:

ls -l /snap
Sample outputs:
lrwxrwxrwx. 1 root root 19 May 23 01:36 /snap -> /var/lib/snapd/snap

Confirm and shows snap version details

snap version

How do I use the snap command to manage snaps?

The Snap Store contains both public and private snaps. Let us find some snap command to install, configure, refresh, remove.

Finds packages to install

search for media player called vlc:

snap search vlc

How to install a snap named vlc to the system

The syntax is:

sudo snap install package
sudo snap install vlc

How to run snap named vlc

Each snap might include multiple related commands, with a default command that has the same name as the snap itself. Just run:

vlc

How to show detailed information about a snap called vlc

snap info {nameHere}
snap info vlc


Was this answer helpful? 0 Users Found This Useful (0 Votes)