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:
You can install Snap on Debian 12 using the following steps:
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
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
After installing Snap, you can check the Snap version on Debian using the following command:
Snapshot—Version
To ensure that the Snap service runs successfully on Debian 12, you can use:
SUDO system control status snapshot
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.
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
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
To check the list of packages installed via Snap on Debian, you can use the following command:
Snapshot List
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
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
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
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
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:
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
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!