Snap Universal Packages for Linux

12/02/2020

The Snaps are universal Linux packaging system developed by Canonical and Ubuntu.  Snaps are like RPMs but are more self contained and secure with dependancies and meta-data needed to run included in the package.  Snapd is a daemon running on the target system that is leveraged to make use of snap packages.  Although snaps were developed by Canonical they are supported on numerous, but not all, linux distributions.

What is Snapd?

Snapd needs to be installed on Linux system for using Snap distribution packages. Snapd offers various features like distribute, update, and run OS components and applications on Linux systems.

How to Install Snapd on Linux System

Now we will look at steps to install Snapd on different Linux systems.

Ubuntu 16.04: Snapd comes preinstalled with Ubuntu 16.04 LTS and above releases. So no additional steps required to install if you have Ubuntu 16.04 + and you can start using Snapd directly.

Ubuntu 14.04: For Ubuntu 14.04 or any other older release you need to open “Terminal” and enter following commands one by one to install Snapd.

$ sudo apt update
$ sudo apt install snapd

The user may require performing additional steps to use Snaps on Snapd like install missing pulseaudio to play music and sounds. Many recent Linux releases comes preinstalled with pulseaudio but it needs to be installed in older releases. To install pulseaudio just type this command in “Terminal”:

$ sudo apt install pulseaudio

Some users will be unable to launch URLs from snapd applications because snaps require optional packages to launch external browser sessions. To solve this problem just type the commands given below in “Terminal”:

$ sudo apt update
$ sudo apt install snapd-xdg-open

Now you are ready to start using Snaps on a Linux system.

How to Use Snaps?

Now that Snapd installation is complete you can start using different Snaps via “Terminal”.

Step01: To install Snaps and additional features you need to login to the Snap store. So sign-in to the Snap store as follows using your Ubuntu account.

$ sudo snap login [email protected]

Password: *********

2-factor: ******

Welcome!

Step02: Now you can find different snaps available on store for example find snap “hello”.

$ snap find hello
Name           Version  Developer  Notes  Summary
hello          2.10     canonical  -      GNU Hello, the "hello world" snap
hello-huge     1.0      noise      -      A really big snap
hello-world    6.1      canonical  -      Hello world example

Step03: Now install snap using snap name.

$ snap install hello

Step04: Now run snap as follows.

$ hello
Hello, world!
$ hello.universe
Hello, universe!

This how you can run different snaps on linux systems.

Supported Linux Distros

Previously software and applications developers needed to create different versions of theirs software and applications for various Linux releases.  Snap universal distribution packages now work on some popular distros such as:

  • Arch
  • Debian
  • Fedora
  • Kubuntu
  • Lubuntu
  • Ubuntu GNOME
  • Ubuntu Kylin
  • Ubuntu MATE
  • Ubuntu Unity
  • Xubuntu

Snap packages also being tested on various distros like CentOS, Mint, Gentoo, Elementary, OpenSUSE, OpenWRT and RHEL.

Various Snap Applications

There are various Snap applications available for Linux system. Some of the popular applications are as follows:

  • Jenkins
  • Chat
  • Notes
  • Cassandra
  • Freecad
  • Shout
  • Stellarium
  • WebDM
  • Hangups
  • Krita
  • VLC
  • Blender

For more Snap applications go to Uappexplorer.

ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

How to install Vimix – A Flat Material Design Theme for Linux

How to install Vimix, a flat Material Design theme for GTK 3, GTK 2 and Gnome-Shell which supports GTK 3 and GTK 2 based...
28/12/2020

Install SuperTuxKart in Ubuntu 18.04

SuperTuxKart is a 3D arcade racing game designed for Linux based operating system. It is a multiplatform game and comes...
29/12/2020

How to Create a Symbolic Link on Ubuntu

In Linux, there are lots of powerful features that can make the life a lot easier. Linking is one of them that can allow...
29/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

Thuê mua proxy Facebook chất lượng, GIÁ TỐT NHẤT
09/05/2024

Dịch vụ thuê mua proxy Zalo giá rẻ, tốc độ cao
09/05/2024

SỰ KHÁC BIỆT GIỮA RESIDENTIAL PROXY VÀ PROXY DATACENTER
17/02/2024

Mua Proxy v6 US Private chạy PRE, Face, Insta, Gmail
07/01/2024

Mua shadowsocks và hướng dẫn sữ dụng trên window
05/01/2024