How to Use the Snap package for Ubuntu 16.04 LTS

Source: Internet
Author: User

How to Use the Snap package for Ubuntu 16.04 LTS

Ubuntu 16.04 LTS brings many new features to users, including support for the Snap software package, which is of great interest. According to Canonical official news, the Snap package has more stable and secure features. This article will take a look at how to use the Snap package in Ubuntu 16.04.

What is a Snap software package?

What is "package" first 」? In Linux, there are usually two ways to install an application: one is to directly compile and install the application through source code, and the user needs to manually execute scripts, process dependencies, and other less user-friendly operations; the other is, the software publisher package the application into a "Software Package" for delivery. For example, the Ubuntu user double-click it. deb (Debian Software Package) file to install the software.

Is it difficult to build a new Snap package management system in Ubuntu because it is based on Debian. deb files and is widely used in package management? Otherwise, it only regulates the package management and will be used in Iot fields such as drone projects.

Canonical is described as follows:

The. snap package contains all dependencies in the Ubuntu core, which is more advantageous than traditional. deb or RPM-based dependency processing. More importantly, developers do not have to worry about system changes triggered by other aspects after the application is distributed to the user system.

Use the Snap package

We usually use apt-get to manage the software packages in Ubuntu. We recommend that you directly use the apt command after the 16.04 release. Similarly, you can use

The snap find command is used to list the Snap packages applicable to the current system.

To install the Snap package, run the following command:

Sudo snap install <package name>

View the installed Snap software package in the current system:

snap list

As you can see, the Ubuntu 16.04 kernel already uses Snap.

Snap also provides its change history for the system. You can use the following command to view the changes:

snap changes

To upgrade the Snap package version, run the following command:

Sudo snap refresh <package name>

Run the following command to remove the Snap package:

Sudo snap remove <package name>

Currently, there are very few software packages packaged using Snap, but a large number of open-source software vendors in foreign countries have publicly stated that they will gradually adopt Snap software packages to issue software. Canonical has also released the Snapcraft tool to help developers package Snap applications.

Ubuntu 16.04 LTS was officially released and downloaded for 5 years of technical support

Ubuntu 16.04 USB flash drive installation graphic tutorial

15 things to be configured after installing Ubuntu 16.04 LTS

Ubuntu 16.04 LTS released Canonical today to announce new system features

Upgrade Ubuntu 15.10 To Ubuntu 16.04

Install Lua game engine in Ubuntu 16.04

Ubuntu 16.04 requires your help to make GNOME Software more beautiful

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.