Score:0

Auto installed Wine ubuntu 20.04

in flag

I recently upgraded to ubuntu 20.04 after using 18.04 for 3 years, and i was playing around with the new snap Ubuntu Software, and saw there is Trackmania listed in games so i installed it.

But when i tried to open it it showed me wine is being setup in home folder, i dont want wine to be installed in my current setup so i removed Trackmania, and checked if wine is installed with

dpkg -l | grep ^ii | grep -i wine

But wine is not present, then i searched for wine prefixes

du -sh ~/.wine/*

nothing there, but as i know from experience if wine is installed it doesn't go away that easily, so since Ubuntu Software is totally a snap app now, i checked if some snap is installed which is related to wine (i never knew wine can be as a snap).

shantanu@shantanu-pc:~$ ls /var/lib/snapd/snaps
bare_5.snap                   partial
beekeeper-studio_113.snap     pyqt5-runtime_12.snap
canonical-livepatch_105.snap  snapd_13170.snap
core_11743.snap               snapd_13270.snap
core_11798.snap               snap-store_547.snap
core18_2128.snap              wine-platform-3-stable_14.snap
gnome-3-28-1804_161.snap      wine-platform-runtime_251.snap
gnome-3-34-1804_72.snap       youtube-dl_4572.snap
gtk-common-themes_1515.snap   youtube-dl-pro_49.snap
gtk-common-themes_1519.snap

and lo and behold there it is, but what is it exactly this wine-platform-3-stable_14.snap and wine-platform-runtime_251.snap ? these are for sure not full flegged wine, so what are they and what do they do.

Can i remove them without breaking the system ? I mean i am not much familiar with snap ecosystem, and not sure if these two wine runtimes came with fresh ubuntu install.

Thanks for reading.

Score:1
ng flag

Snaps are containerized versions of software that come bundled with their own dependencies.

Your concerns about this snap installing WINE on your system are not quite accurate. These dependencies included in the snap don't interfere with the other software installed on your system.

The WINE platform snaps provide libraries for other snaps that need to use WINE. You can check out the description for these on snapcraft: wine-platform-runtime and wine-platform-3-stable

Further reading:

Shantanu Bedajna avatar
in flag
Thanks alot this seems so new, wine now comes with snap so snap apps can use wine shared libraries without having full-fledged wine installed on system, amazing !
Score:1
cn flag

Let's see....

$ snap info wine-platform-3-stable

description: |
  This snap creates a WINE stable 3 via content sharing to be used by other
  snaps that are using WINE.

$ snap info wine-platform-runtime

description: |
  This snap provides a WINE runtime liberies via content sharing to be used
  by other snaps that are using WINE.

"...[I] know from experience if wine is installed it doesn't go away that easily"

Your experience has perhaps misled you a bit. The persistence of Wine files depends upon your install method. Simple command to snapd will remove all Wine-related files:

sudo snap remove wine-platform-3-stable
sudo snap remove wine-platform-runtime
Shantanu Bedajna avatar
in flag
thanks, hope this doesn't break any other snap apps, and i was not talking about snap wine, i was talking about standard wine. I am still learning about snap and it's ecosystem, truth be told never used snap before always felt like something that would not work well. But the way things are going definitely has me exited for snap !
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.