Home > Computer Tutorials > Computer Knowledge > How to install Snap on Debian 12

How to install Snap on Debian 12

PHPz
Release: 2024-03-20 20:51:22
forward
862 people have browsed it

如何在Debian 12上安装Snap

Snap is an external package manager designed for Linux systems, which provides you with a convenient way to install containerized applications. Snap allows you to easily download and install packages without worrying about installing additional dependencies. The manager automatically resolves the dependencies required by the package, ensuring that the package runs smoothly on your system. Snap complements the native apt package manager, giving you another option for installing and running applications on your system.

In this guide you will find a complete guide on how to install Snap on Debian 12.

outline:

  • How to install Snap on Debian 12
  • How to find package availability on Snap
  • How to find information about packages on Snap
  • How to install packages from Snap on Debian 12
  • How to list packages installed from Snap on Debian 12
  • How to install multiple packages simultaneously on Debian 12
  • How to remove Snap packages on Debian 12
  • How to install Snap Store on Debian 12
  • How to run applications from Snap on Debian 12
  • How to install packages from Snap Store GUI on Debian 12
  • How to remove Snap from Debian 12
  • in conclusion

How to install Snap on Debian 12

You can install Snap on Debian 12 using the following steps:

Step 1: Install Snap Daemon on Debian 12

Snap Daemon is a service that runs in the background and manages your Snap services on the system. To use Snap, you must install the Snap Daemon on your Debian system using the following command:

sudo apt install snapd—y

Step 2: Install Core on Debian 12

You should also install core from Snap via the following command as it will help you install the latest package updates and dependencies on your system:

SUDO Snap installation core

Step 3: Check Snapshot Version

After installing Snap, you can check the Snap version on Debian using the following command:

Snapshot—Version

Step 4: Check Snap Service Status on Debian 12

To ensure that the Snap service runs successfully on Debian 12, you can use:

SUDO system control status snapshot

How to find package availability on Snap

To check package availability on Snap, you can use the Snap Find command followed by the package name. Here I am searching for VLC media player package on Snap:

Snapshot Find VLC

NOTE: Replace VLC with the package you are searching for in the above command.

How to find information about packages on Snap

You can also use Snap on Debian to find information about packages available in the Snap repository, this can be done with the following command:

Snapshot information VLC

How to install packages from Snap on Debian 12

To install a Snap package on Debian, you can use the snap install command with sudo permissions and the package name. In the command given below, I am installing VLC media player from Snap:

sudo snap install vlc

How to list packages installed from Snap on Debian 12

To check the list of packages installed via Snap on Debian, you can use the following command:

Snapshot List

How to install multiple packages simultaneously on Debian 12

To install multiple packages simultaneously from Snap on Debian 12, you can use the Snap install command with sudo privileges and add a space between the package names:

SUDO Snap install VLC Gimp

How to remove Snap packages on Debian 12

If you have installed a package from Snap on your Debian system, you can remove it at any time using the snap remove command with sudo permissions and the package name. Here I am removing VLC package from Snap:

sudo snap remove VLC

How to install Snap Store on Debian 12

In addition to using Snap to install packages on the terminal, you can also install the Snap Store GUI from Snap. It allows you to quickly search for packages in the store and install them on your system.

To install Snap Store on Debian 12, you can use the following command:

sudo snap install snap—store

How to run applications from Snap on Debian 12

Apps installed from Snap can be easily run from the application menu after restarting the system after installation. However, if you can't find the application in the menu, you can run it directly from the terminal using the Snap Run command followed by the application name. Here I'm running Snap Store from the terminal:

Fast running fast storage

How to install packages from Snap Store GUI on Debian 12

If you want to install a package from the Snap Store GUI, just search for the package, double-click it, and select the install button to install the package on Debian:

You can remove packages from the Snap Store at any time using the "Remove" button:

How to remove Snap from Debian 12

If you no longer need the Snap service, you can remove it from your Debian system with the following command:

Sudo apt delete Snapd-y

in conclusion

Snap is a standalone package manager for installing packages on Linux systems, including Debian 12. After installing SnapDaemon on Debian, you can use the snap command from the apt repository. After this, you just need to provide snap install command and provide the name of the package you want to install on your system. This article provides a detailed guide where you can find different ways to use Snap on Debian 12 and install single or multiple packages on your system. You will also learn how to install and use Snap Store on Debian 12; it will help you install packages from Snap on your system using the GUI interface.

The above is the detailed content of How to install Snap on Debian 12. For more information, please follow other related articles on the PHP Chinese website!

source:mryunwei.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template