This simple tutorial will show you how to find, install, remove, and list Snap applications installed on Ubuntu from the command line.
Snap is a universal Linux package format developed by Canonical, the company behind Ubuntu. Many users hate the Snap app, but many popular applications (VLC, Spotify, VS Code, Android Studio, etc.) offer the official Ubuntu binaries via Snap instead of the traditional deb package. Therefore, it is difficult to avoid the Snap app.
The Ubuntu software does not yet inhale and load the application page, so you can instead run the following command to find and install the snap application.
1. Search for SnapApps in the terminal:
Just open a terminal from the system application launcher.Then you can do either
snap find Or
snap search The command is followed by the app name to query the store for available packages.
Both commands below perform the same search for GIMP packages.
snap find gimp snap search gimp
If you are a verified publisher, you will see a green checkmark after the publisher name.
2. Command to install the snap app:
To install the Snap application package, simply run the following command:
snap install The command is followed by the package name.
After searching for the app, you can run a command (such as VLC) and choose to install the app from the available packages.
snap install vlc
Some applications can be installed with
--classic A flag to access files outside the user’s home directory.
3. How to list installed Snap applications:
To list all installed snap applications
snap list At the terminal.
“Core” and “core18” are snap core packages, but “snap-store”, “snap-store-proxy” and “snap-store-proxy-client” are related to Ubuntu software. The “gnome-3-xxx” package was automatically installed as a dependency platform, but everything else is a user-installed package.
4. How to remove SnapApps using command:
To remove the snap package, just run
snap remove The command is followed by the package name.
In this case, use the command to remove the VLC snap package.
snap remove vlc
Note that dependency platforms (eg gnome and wine) are not deleted while deleting snaps that require them.
Simply put, you can perform a snap search APP_NAME or a snap search APP_NAME to search for available packages. Use Snap Install PACKAGE_NAME or Snap Delete PACKAGE_NAME to install or remove an application. It then runs a snap list to list all installed snap applications.