Questions tagged [snap]

Snap is a packaging format for distributing sandboxed applications on GNU/Linux distributions. Use this tag for all questions related to creating, distributing and running Snaps.

Snaps are applications that run in a sandboxed environment and include all necessary dependencies. This gives the application the following benefits:

  • Can be easily installed and uninstalled on most GNU/Linux distributions.
  • Grants additional protection to the base system because of sandboxing.
  • Does not depend on libraries from the base system, so alternate or multiple versions of software can be installed on the same system.

The downside to this is that the application will take up more disk space, since all dependencies are included with each application. Snaps in particular will rely on installed images that provide common dependencies.

Snap is installed on Ubuntu by default. If the Snap daemon should somehow get uninstalled, it can be installed with:

sudo apt update
sudo apt install snapd

Snap packages are comparable in nature to and . This existing Q&A explains more about the similarities and differences between the three formats.

External Links

2522 questions
511
votes
10 answers

How can I update all Snap packages?

I know that I can update a snap package using sudo snap refresh But is there a way to update all snaps, like sudo apt dist-upgrade
382
votes
11 answers

Pending Update of Snap Store

What's with 'Pending Update of Snap Store?'
239
votes
4 answers

What are the differences between snaps, appimage, flatpak and others?

I have been getting this question lately from students and although I have a lot of information to offer, I have not found a source that I can point people to where they can read an update answer (I have found a lot of misinformation and obsolete…
Luis Alvarado
  • 216,643
232
votes
4 answers

Why is Ubuntu moving to Snap packages?

Why Ubuntu dumping .deb packages and moving to .snap packages? At least for now they are keeping .deb package for normal distributions. .deb is already the most popular packaging format out there. This gives an idea about what the Snap package…
Vishnudev K
  • 2,796
225
votes
3 answers

How to uninstall a package installed from snapcraft?

I used this command line sudo snap install pwgen-tyhicks to install pwgen but I can't findout how to use it. So I want to uninstall it. How to uninstall it?
UbuntuLover
  • 2,969
  • 3
  • 12
  • 15
220
votes
5 answers

Unable to update "Snap Store": cannot refresh "snap-store": snap "snap-store" has running apps (ubuntu-software)

I am a new Ubuntu 22.04 user who is facing an issue with the Snap Store. Whenever I try to update the Snap Store I can see these error messages. Pending update of "snap-store" snap Close the app to avoid disruptions (13 days left) Unable to…
ABHILASH T
  • 2,623
203
votes
17 answers

How to install Chromium without snap?

I just discovered that chromium will only be released as a snap package. How can I continue to get chromium, without snap? Is this possible without building from source? Notes: Please let's keep to the question as stated - not "what do you have…
lonix
  • 2,728
185
votes
10 answers

How to solve "Pending update of "firefox" snap. Close the app to avoid disruptions" error?

Recently, this warning appears when open Firefox: Pending update of "firefox" snap Close the app to avoid disruptions What does it mean? And what do I have to do? Is this a bug?
Emilio
  • 2,111
185
votes
13 answers

How to install Firefox as a traditional deb package (without snap) in Ubuntu 22.04 or later versions?

As far as I see in the ongoing development for 22.04 Jammy, Firefox is a Snap package. The related Deb package in apt is just a shortcut/link to the that snap version. I prefer my installation not to be from snap packages, since I find them too much…
igi
  • 3,197
183
votes
6 answers

How to remove snap from Ubuntu?

How do I remove snap? apt pretends it's not there, but I can still call commands with it. Trying to remove it says read only file system # apt remove snap Reading package lists... Done Building dependency tree Reading state information...…
173
votes
6 answers

Unable to install "": snap "" has "install-snap" change in progress

I just finished the installation of the Ubuntu 18.04, but whenever I try to install any application from Ubuntu Software the same error occurs (for example "vlc"): unable to install "vlc": snap "vlc" has "install-snap" change in progress I hope…
160
votes
6 answers

How can I change or hide the ~/snap directory?

I'm not particularly fond of apps cluttering my $HOME directory with their own files or directories. It's rarely a problem, because most apps have the courtesy to hide their data by prefixing it with a dot or conforming to the ~/.config standard.…
128
votes
1 answer

what's the main difference between Docker and Snap?

In recent c't (sadly paywalled) there is an article about Snap and Flatpak. This sounds very similar to Docker, lots of concepts are the same. Now my question what's the difference between Snap and Docker? Are those different use cases?
Sybil
  • 2,139
108
votes
9 answers

How to disable autorefresh in snap

Is it possible to disable autorefresh in snap? This link says that Snaps are updated automatically in the background to the latest version, every day. Some snaps (e.g. vlc) are built daily, and it makes no sense to install them every day.
Ko Lin
  • 1,081
106
votes
6 answers

How to give snaps access to /somedir

I'm just getting my feet wet with snap. I've installed vlc and want to try to use it. All my media is installed under /store, an NFS mount. And snaps don't allow access to that directory. After googling I've come to understand that I can access…
Peter V. Mørch
  • 5,837
  • 4
  • 39
  • 41
1
2 3
99 100