Snap is basically a compiler application with dependencies and libraries, which provide an isolated space environment for running the application. These are easier and faster to install, and you can get the latest updates and be limited by the operating system and other applications.
You can package an application to any Desktop, Server, Cloud, or Linux device as a supplement. For the application developer, maintaining different packet formats and subsequent updates is a nuisance, which Canonical has attempted to overcome in the form of Snaps. I have worked well because more and more applications are providing Snap packages.
In other words, instead of worrying about deb packages for Debian / Ubuntu, Fedora RPM packages, etc., you can use the Snap package that runs on all Linux distributions with Snap support.
Advantages of snaps
Automatic Updates: Updates are automatically delivered in an instant and accessed every day, regardless of the underlying operating system.
Complementing everything: whether it's desktop, server or cloud.
Different versions are available: You can keep your regular, experimental, and daily collections at the same time and switch between them whenever you want.
Security: Snap work in an isolated spatial environment, isolated from the rest of the system.
how to install snaps
Before you install Snap, you must install the snapd. Snapd is a management environment that handles snaps installation and updates. Snapd will enable snap support in your Linux distribution.
how to install snap for different Linux distributions.
Debian/Ubuntu
Enable Snap support in distributions based on Debian and Ubuntu
If you want to use Snap applications in Linux Mint and other distributions based on Debian or Ubuntu, use the following command:
[sudo apt install snapd]
Fedora
Enabling Snap support on Fedora based distributions
[sudo dnf install snapd]
OpenSUSE
Enabling Snap support on OpenSUSE based distributions
Snapd is not officially included for OpenSUSE. To install on Tumbleweed, use the following commands:
[sudo zypper addrepo
http://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_42.2/ snappy
sudo zypper install snapd]
Arch Linux
Enabling Snap support on Arch-based distributions
[yaourt -S snapd
sudo systemctl enable --now snapd.socket]
Once the package is successfully installed from the community repository, enable the systemd console.
[sudo systemctl enable --now snapd.socket]
How to Use Snap with Basic Snap Commands
Once Snapd is installed, it's time to learn how to use it. We've already covered Snap commands in detail. Here, I will quickly insert the most useful Snap commands.
You can search and install different partitions. There is a Snap shop with public and private applications (snaps) for zips, offices, devices, and more.
Find a snap
Anyone can post a snap in the store, however, only the archival material published in the revised version can be viewed. Use the following command to find an add-in:
[sudo snap find libreoffice]
Install snap
Once you find the add-on you are looking for, you can install it by using the following command:
[sudo snap install <snap_app>]
List out installed snaps
You can use the following command to see the references that you have installed with your versions and developer:
[snap list]
Update an installed application
Snap is updated periodically to get the latest version. If you try to do this manually, type the following command on the device:
[sudo snap refresh <snap_app>]
Uninstall snap application
Removing app with snap
[sudo remove <snap_app>]
Conclusion
How do you like the tutorial? Tell us in the comments.
Source and thank you itsfoss.
- [message]
- ##laptop## Support
- Support Us by Disable your ad block.
- thank you
COMMENTS