You are not logged in.

#1 2024-08-13 22:25

ichweissnoed
Member
Registered: 2024-08-13
Posts: 2

Cannot install WINE

I replaced a Lubuntu 18.04 on my son's i386 laptop with current Q4OS 5.5. Then I tried to install Wine to run some school apps (windows based), but I cannot install wine:
(instructions by Testyyy as in this forum at topic id=4739 (I am not allowed to post the link, that is also why I put 'space' into the following links))

username@q4os-desktop:~$ sudo apt install wine
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Die folgenden zusätzlichen Pakete werden installiert:
  fonts-wine libcapi20-3 libodbc2 libosmesa6 libwine libz-mingw-w64 wine32
Vorgeschlagene Pakete:
  odbc-postgresql tdsodbc ttf-mscorefonts-installer q4wine winbind winetricks
  playonlinux wine-binfmt dosbox exe-thumbnailer | kio-extras wine32-preloader
Die folgenden NEUEN Pakete werden installiert:
  fonts-wine libcapi20-3 libodbc2 libosmesa6 libwine libz-mingw-w64 wine
  wine32
0 aktualisiert, 8 neu installiert, 0 zu entfernen und 2 nicht aktualisiert.
Es müssen 99.2 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 606 MB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] j
Holen:1 http://deb. debian. org/debian bookworm/main i386 fonts-wine all 8.0~repack-4 [193 kB]
Holen:2 http://deb. debian. org/debian bookworm/main i386 libcapi20-3 i386 1:3.27-3+b1 [29.1 kB]
Holen:3 http://deb. debian. org/debian bookworm/main i386 libodbc2 i386 2.3.11-2+deb12u1 [163 kB]
Holen:4 http://deb. debian. org/debian bookworm/main i386 libosmesa6 i386 22.3.6-1+deb12u1 [3’004 kB]
Holen:5 http://deb. debian. org/debian bookworm/main i386 libz-mingw-w64 all 1.2.13+dfsg-1 [152 kB]
Holen:6 http://deb. debian. org/debian bookworm/main i386 libwine i386 8.0~repack-4 [95.3 MB]
Holen:7 http://deb. debian. org/debian bookworm/main i386 wine32 i386 8.0~repack-4 [261 kB]
Holen:8 http://deb. debian. org/debian bookworm/main i386 wine all 8.0~repack-4 [70.6 kB]
Es wurden 99.2 MB in 1 min 58 s geholt (844 kB/s).
Vormals nicht ausgewähltes Paket fonts-wine wird gewählt.
(Lese Datenbank ... 197424 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../0-fonts-wine_8.0~repack-4_all.deb ...
Entpacken von fonts-wine (8.0~repack-4) ...
Vormals nicht ausgewähltes Paket libcapi20-3:i386 wird gewählt.
Vorbereitung zum Entpacken von .../1-libcapi20-3_1%3a3.27-3+b1_i386.deb ...
Entpacken von libcapi20-3:i386 (1:3.27-3+b1) ...
Vormals nicht ausgewähltes Paket libodbc2:i386 wird gewählt.
Vorbereitung zum Entpacken von .../2-libodbc2_2.3.11-2+deb12u1_i386.deb ...
Entpacken von libodbc2:i386 (2.3.11-2+deb12u1) ...
Vormals nicht ausgewähltes Paket libosmesa6:i386 wird gewählt.
Vorbereitung zum Entpacken von .../3-libosmesa6_22.3.6-1+deb12u1_i386.deb ...
Entpacken von libosmesa6:i386 (22.3.6-1+deb12u1) ...
Vormals nicht ausgewähltes Paket libz-mingw-w64 wird gewählt.
Vorbereitung zum Entpacken von .../4-libz-mingw-w64_1.2.13+dfsg-1_all.deb ...
Entpacken von libz-mingw-w64 (1.2.13+dfsg-1) ...
Vormals nicht ausgewähltes Paket libwine:i386 wird gewählt.
Vorbereitung zum Entpacken von .../5-libwine_8.0~repack-4_i386.deb ...
Entpacken von libwine:i386 (8.0~repack-4) ...
Vormals nicht ausgewähltes Paket wine32 wird gewählt.
Vorbereitung zum Entpacken von .../6-wine32_8.0~repack-4_i386.deb ...
Entpacken von wine32 (8.0~repack-4) ...
Vormals nicht ausgewähltes Paket wine wird gewählt.
Vorbereitung zum Entpacken von .../7-wine_8.0~repack-4_all.deb ...
Entpacken von wine (8.0~repack-4) ...
libcapi20-3:i386 (1:3.27-3+b1) wird eingerichtet ...
libz-mingw-w64 (1.2.13+dfsg-1) wird eingerichtet ...
fonts-wine (8.0~repack-4) wird eingerichtet ...
libodbc2:i386 (2.3.11-2+deb12u1) wird eingerichtet ...
libwine:i386 (8.0~repack-4) wird eingerichtet ...
libosmesa6:i386 (22.3.6-1+deb12u1) wird eingerichtet ...
wine32 (8.0~repack-4) wird eingerichtet ...
wine (8.0~repack-4) wird eingerichtet ...
Trigger für libc-bin (2.36-9+deb12u7) werden verarbeitet ...
Trigger für man-db (2.11.2-2) werden verarbeitet ...
Trigger für hicolor-icon-theme (0.17-2) werden verarbeitet ...
Trigger für wine (8.0~repack-4) werden verarbeitet ...
Fehler: Zeitüberschreitung wurde erreicht

username@q4os-desktop:~$ winecfg
wine: created the configuration directory '/home/corneille/.wine'
0040:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0040:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
002c:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
002c:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."

I installed also
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install wine wine32 wine64 fonts-wine

But there is no Wine-Section in the TDE-Menu, and if I try to start one of the apps that worked at Lubuntu with a right-mouse-click, the mouse shows for some seconds a "wine" glass, but the .exe is not opened properly, but in a konqueror window.

What I missed that my son can use his school apps as he could with wine @lubuntu 18?

Offline

#2 2024-08-14 06:53

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,329

Re: Cannot install WINE

Let's say that you want to install a windows program called "World Map" and the installer is worldmap.exe

Assuming the installer is in your Downloads folder then you would use the Konsole command:-

WINEPREFIX=/home/username/.wine wine /home/username/Downloads/worldmap.exe

If the executable contains a space - e.g. world map.exe then it would be:-

WINEPREFIX=/home/username/.wine wine "/home/username/Downloads/world map.exe"

Provided it installs OK then you will find the menu updated with the relevant entry

Offline

#3 2024-08-18 21:57

ichweissnoed
Member
Registered: 2024-08-13
Posts: 2

Re: Cannot install WINE

Thank you, bin

This way, I can start the apps with wine.

But is there a way to show them in the TDE-Menu? In Lubuntu there was a section "Wine" with all the Win Apps I had installed. For my 10y-old child, this would be more convenable as to use the console.

Offline

#4 2024-08-19 07:20

hchiper
Member
From: Belgium
Registered: 2020-07-28
Posts: 502

Re: Cannot install WINE

On Q4OS 4 / Plasma, I have App Launcher > Applications > Wine > Programs


Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD

Offline

#5 2024-08-19 07:25

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,329

Re: Cannot install WINE

You are welcome.

My experience with TDE and wine is that any app I install shows up in the menu exactly as you describe, and of course also creates a desktop launcher as it does in windows.

I do recall that some apps used by schools just run straight from the executable rather than actually gong through a 'normal' windows installation. In that case they will not create a menu entry. However you said that they did that in Lubuntu so there must be another reason. It may just be a case of forcing the menus to regenerate - though I would still be puzzled if there is no desktop launcher created by the installation.

First i suggest you run

sudo lcmodules --unlock

in Konsole. This allows access to all the settings menu items.
Next, right click on the Menu button>Unlock Panels
Next, right click on the Menu button>Configure Panels>Menus
At the top of the screen will be 'TDE Style Menu' showing Bourbon in a drop down box.
Click the drop down box and select Trinity Classic>OK
Click the Menu button>Programmes>Accessories and see if there is a WINE menu entry.
If you want to return to the original menu appearance then go back and right click on the Menu button>Configure Panels>Menus
At the top of the screen will be TDE Style Menu showing Trinity Classic - swap back to Bourbon>OK

If none of this makes sense, or just doesn't work, then I'd be happy to investigate further but would need access to the application/installer you are trying to use.

Offline

Board footer

Powered by FluxBB