Snap (Snappy) - useful package managerOther
In this article we'll talk about how to search, install, update, and delete
Why need Snap packs for software installation, if there are already deb packages? Deb packages are inextricably linked and indistinguishable from the system. That is, when we installed the deb package, it is assumed that all dependencies we download from the connected repositories system. In addition, the distribution of Snap packets is intended to standardize and to help developers to release their apps on different systems without worrying about dependencies.
Take for example the number of versions of Ubuntu or Mint, there are LTS and intermediate versions. For many developers, it is problematic to release new builds for all versions. But if we get a zoo of different "Linux" under which to collect and don't want.
In addition, add support for installing Snap packages in the distribution package is not difficult, which in any case does not replace other package managers, but rather complements them. For example, here is a list of distros that support installing apps using Snap packages:
Installation into Linux Mint:
Search Snap packages
sudo apt install snapd -y
Find for packages using command in the terminal:
For example, you can search by partial name of a program, try to find a player Clementine:
find snap <searched phrase>
snap find clemen
snap find "music player"
As you may have guessed, the command of Snap installation package as follows:
For example, we found using the find command the list of packages, look at the column Name is the package name. Let's install program Clementine:
sudo snap install <package_name>
Installed program icon can be found among other installed programs. But I sometimes restart required working environment.
sudo snap install clementine
To display a list of all installed packages in a Snap, enter in terminal the following command:
Update Snap packages
To update a single package, enter the following command:
sudo snap refresh
sudo snap refresh <package_name>
Disable and Enable Snap packages
There are apps which work in background as a system service. For example, some web application. And to turn it off, you can use the following command:
In this case, the app shortcut disappears from app list and it will not be updated.
sudo snap disable <package_name>
At any time you can re-enable the Snap app by running the following command in the terminal:
Remove Snap packages
sudo snap enable <package_name>
In General, to remove the Snap package the command looks like the following:
Hope this article helped you to understand this is not difficult package manager.
sudo snap remove clementine
May the Force be with you,
Edited by: Shekin - 16-10-2017, 14:56