How to Fix WINE

Archived topics about LMDE 1 and LMDE 2
Locked
User avatar
rhY
Level 4
Level 4
Posts: 217
Joined: Wed Mar 04, 2009 9:13 am
Location: Honolulu
Contact:

How to Fix WINE

Post by rhY »

OK, so there were a few different threads about this, and I contributed a bit, but I finally got wine all setup.

Here was my process in a nutshell:

su

<password>

apt install wine

apt install wine32

cd /root

mv .wine .wine32

WINEARCH=win32 WINEPREFIX=/root/.wine32

WINEARCH=win32 WINEPREFIX=/root/.wine32

winecfg

Click next a bunch of times.

Now I can run Civilization 2!

Let me know if I missed something. I'll update this post.
User avatar
Flemur
Level 18
Level 18
Posts: 8820
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: How to Fix WINE

Post by Flemur »

- You shouldn't run wine as root.

Edit:
apt install wine32
There is no such package.
mv .wine .wine32
WINEARCH=win32 WINEPREFIX=/root/.wine32
- Pretty sure that's wrong, and doesn't do anything.
- Did you end up with both "/root/.wine" and "/root/.wine32" directories ?
winecfg
Click next a bunch of times.
winecfg doesn't have any "Next(s)".
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
yquux
Level 1
Level 1
Posts: 40
Joined: Mon Nov 17, 2014 4:28 pm
Location: France

Re: How to Fix WINE

Post by yquux »

Hello,
ok - after many tests on a few different computers, here is my experience with wine on debian : from a fresh install, if you install Wine1.6, be sure to install all recommended/suggested packages by Synaptic. Then when you try to launch your first exe, it will 'prepare the configuration' and ask for a few additional packages.
If, for any reasons, it fails downloading this package : then it'll become a nightmare, you'd better jump in time (clonezilla) or reinstall...
Each time I passed this stage, I had no issue with wine after.
This is just my two cents... probably a more experienced user would know how to fix it.

To get the 'wine' menu, I have seen on the forum a few suggestions, but nothing worked for me - probably highly linked to the desktop, and not really useful.

For people interested in getting a more up to date wine, instead of suggestions to add repositories or ppas... since Jessie, you'd better install wine-development:
https://wiki.debian.org/Wine
This is version 1.7.29.

Yquux
ASUS MAXIMUS IX APEX - i7-6700T - 32Go (ssd) - Mint 20 Cinnamon
Acer SF114-31 - N5000 - M.2 SSD 250 Go - Mint 20 XFCE
GregE
Level 4
Level 4
Posts: 472
Joined: Sun Jan 16, 2011 6:24 am
Location: Melbourne, Australia

Re: How to Fix WINE

Post by GregE »

First step is to ensure you have Multiarch active. Wine is 32 bit so on a 64 bit system you will get nowhere fast unless you have i386 as an extra architecture. Then you can just use Synaptic and install "wine". If you are running 32bit then it is not an issue.
Check with

sudo dpkg --print-foreign-architectures

Here is how to fix it if it is missing

https://wiki.debian.org/Multiarch/HOWTO

sudo dpkg --add-architecture i386

:)
Locked

Return to “LMDE Archive”