Score:1

Where does snapd put the files for install snap apps?

cn flag

After installing Kubuntu 20.04, I found that I had to use snap to obtain a current version of GIMP -- which I did.

Now I'm looking ahead to needing to "upgrade" in a couple years, and it occurs to me to wonder if snapd put the installed files for GIMP in under my / folder (which will be reformatted, then refilled with Kubuntu 24.04, I presume) or in a hidden folder under my /home/[user] folder, where my desktop and locally stored files go (in a different partition, in my case).

If the former, I'll obviously need to used snapd in the new install to get a new, then-current version of GIMP; if the latter, how will I go about replacing the installed copy with one that's presumably a few years newer?

hu flag
Isn't that what an upgrade does - replaces old programs with new ones - automatically? It also does not format anything.
Zeiss Ikon avatar
cn flag
"Upgrade" doesn't work if you have non-Canonical repos in your list; and especially if you skip a version (jump from 16.04 to 20.04, for instance). I've always had to format and install clean. That's why I had it in quotes.
hu flag
So you've reinstalled, not upgraded. Why not just say it as is?
Zeiss Ikon avatar
cn flag
Why not just make it work like it should?
Score:4
cn flag

Snap files are installed under /snap.

  • GIMP application and snap-provided files will be under something like /snap/gimp. Snaps are read-only, so user data and customizations should NOT be stored here.
  • Your GIMP projects and data will be stored somewhere in your normal /home directory, exactly where you expect them to be. The files will be owned by you (not GIMP, not snapd) and have normal permissions.

Keep in mind that snapd will keep updating GIMP for the life of your system. Those updates are independent of the version of Ubuntu -- because you are using snaps, not debs.

When the time comes for you to upgrade/reinstall/replace your system, backup your data in /home and migrate your data onto your new system. DON'T backup /snap. Instead, simply install the GIMP snap on your new system.

  • As long as you use the same snap channel, the new GIMP snap will use exactly the same GIMP version you had an hour before on your old system.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.