Amazon Cyber Monday deals See deals →ad

Mets Minor League Blog

Music theory, instruments and musicians

Mets Minor League Blog

Music theory, instruments and musicians

Ubuntu Snap Store Commands: Search, Install, Update

Ubuntu’s Snap Store commands are run with snap: use snap find to search for apps, sudo snap install to install one, and snap list to see what is installed. For example, sudo snap install vlc installs VLC if that snap is available for your system; the graphical Snap Store app is a separate way to browse and manage snaps.

What the Snap Store and snap command do

Snap is Ubuntu’s packaging and software-distribution system. A snap is an application bundle that includes its program and, often, much of the software it needs to run. The snap command-line tool communicates with the snap service on the computer and with the Snap Store, where publishers provide snap packages.

That distinction matters: the Snap Store is not itself a command. You can browse it in a web browser or through a graphical app, while commands such as snap find and snap install are typed in a terminal. Administrative actions, including installing and removing system-wide snaps, normally require sudo.

Search for a snap and check its details

To search the store from a terminal, run:

snap find firefox

Replace firefox with a keyword or application name. Results can include similarly named packages, so check the publisher and package name before installing. For more information about a particular snap, use:

snap info firefox

The output can show the snap’s publisher, summary, available channels, and other details. A snap name is not always identical to the name people use for the application. If a search returns no useful result, try a shorter keyword or search the Snap Store website.

Install, launch, and remove apps

Install a snap with its exact name:

sudo snap install vlc

Some snaps are available with different channels or require particular installation options. Check the package’s information and publisher guidance rather than guessing a channel or option. Once installed, you can usually launch a graphical app from Ubuntu’s application launcher, or run its command in a terminal if you know the snap’s application command.

Common commands for managing installed snaps include:

  • snap list — show installed snaps and their versions.
  • snap list vlc — show information for an installed snap by name.
  • sudo snap remove vlc — remove the named snap.
  • sudo snap remove --purge vlc — remove it without creating a saved data snapshot.

Without --purge, snap removal can preserve a snapshot of the snap’s data for a limited time, which may be useful if you reinstall it. Do not assume that removing a snap deletes every related file in your home directory: applications can store user data separately. Check what you need to keep before removing software or manually deleting its data.

Update snaps and manage refreshes

Snaps normally refresh automatically when updates are available. To check for and apply available snap updates manually, run:

sudo snap refresh

To refresh just one installed snap, name it:

sudo snap refresh vlc

To see which revisions are installed, use snap list --all. Snap can retain a previous revision after an update, which helps with rollback but means an older revision may appear in that listing. A rollback command is:

sudo snap revert vlc

Reverting returns the snap to a previous available revision when one is retained. It is not a general replacement for backups, and it may not undo changes the application made to its own data. For information about scheduled refresh timing, inspect snap refresh --help and the refresh settings supported by your installed snap version; avoid relying on a guessed option copied from an unrelated guide.

Permissions, connections, and safety

Snaps use confinement to limit an application’s access to parts of the system, but the level and details of confinement vary. Some apps need access to files, cameras, removable drives, or other resources. To inspect a snap’s available interfaces and current connections, run:

snap connections vlc

Where an interface is available but not connected, connecting it may require an administrative command and can grant meaningful access. Follow the application publisher’s instructions and understand what access is being granted before changing connections. Never use sudo for commands that do not need it, and verify the snap’s identity and publisher—especially for popular software with similar names.

On a standard Ubuntu installation with snap support, the snap service is generally already present. If the terminal reports that snap is not found, the system may not have snap support installed, or you may be using a distribution that does not include it by default. Consult that system’s official documentation before installing the service; package availability and setup differ between distributions.

Snap commands compared with apt

snap and apt manage different package formats and sources. On Ubuntu, apt installs packages from configured Debian/Ubuntu repositories, while snap installs snaps from the Snap Store. For example, sudo apt install vlc and sudo snap install vlc are not interchangeable commands: they may install packages maintained through different release processes and with different integration or confinement behavior.

Choose the package source that suits your needs. Check which version and publisher you want, whether the app requires particular hardware or file access, and whether you prefer the update and packaging model of a snap or a repository package. Avoid installing both formats of the same application unless you have a reason; duplicate launchers and separate settings or data can be confusing.

Frequently Asked Questions

What command opens the Ubuntu Snap Store?
There is no universal snap store command that opens a graphical store window. Use the Ubuntu app launcher to open the installed graphical store, or search from a terminal with snap find keyword.

How do I install an app from the Snap Store?
Find the exact snap name, check its details with snap info name, then run sudo snap install name. Replace name with the package name shown in the store.

How do I update all my snaps?
Snaps update automatically by default. To request a manual refresh of installed snaps, run sudo snap refresh.

How do I see which snaps are installed?
Run snap list. Use snap list --all if you also want to see retained older revisions.

Can I uninstall a snap without losing its data?
Run sudo snap remove name for normal removal; snap may preserve a data snapshot temporarily. Use --purge only if you specifically want to skip that snapshot, and keep a separate backup of anything important.

Ubuntu Snap Store Commands: Search, Install, Update
Scroll to top