📜  linux snap app list - Shell-Bash (1)

📅  最后修改于: 2023-12-03 15:17:21.114000             🧑  作者: Mango

Linux Snap App List - Shell/Bash

As a programmer, you may have used Linux operating systems for your development tasks. One important feature of Linux is its package management system, which allows you to easily install, update and remove software. Among the different package management systems available for Linux, Snap is a newer and user-friendly one.

Snap is a package management system developed by Canonical, the company behind Ubuntu Linux. It enables developers to easily distribute their software across different Linux distributions. Snap packages contain all the dependencies a software needs, making it easier to install and run. Additionally, Snap packages can be easily updated to the latest version.

In this guide, we will focus on the snap list command, which allows you to list all the Snap packages installed on your system.

How to Use the snap list Command

To use the snap list command, open the terminal on your Linux machine and type the following command:

$ snap list

This will display a list of all the Snap packages installed on your system, along with their version and the channel they belong to.

For example:

Name                      Version                    Rev   Tracking      Publisher   Notes
chromium                  87.0.4280.66               1464  latest/stable canonical✓  -
core                      16-2.48.2                  10583 latest/stable canonical✓  core
gimp                      2.10.18                    266   latest/stable snapcrafters -
gnome-3-34-1804           0+git.3556cb3              60    latest/stable canonical✓  -
gtk-common-themes         0.1-36-gc75f853            1515  latest/stable canonical✓  -
snapd                     2.48.2                     11036 latest/stable canonical✓  snapd

You can also use the --all option to display all the available Snap packages, including the ones that are not installed on your system:

$ snap list --all
Conclusion

Snap is a modern and user-friendly package management system that simplifies the installation, updating and removal of software on Linux. The snap list command allows you to easily view all the Snap packages installed on your system. We hope this guide helps you to get started with Snap and makes your development tasks easier.