The Pragmatic Addict

Wine Tips

This is an ongoing entry on various tricks I’ve learned about using Wine.

Installing Wine on Debian

Do Not install Wine from the Debian repositories. It is much easier to install from WineHQ directly. In those instructions you add WineHQ has an apt repository as well as install the necessary keys.

Following installation, be sure to have Winetricks installed:

apt-get install winetricks

Create a Win7 (32-bit) independent environment

This has a few tricks involved. All wine files will be stored in “mywine”, in addition Winetricks is used to jumpstart the configuration and install some basics. This should be only run once.

mkdir ~/mywine
WINEARCH=win32 WINEPREFIX=~/mywine winetricks win7 corefonts

Emulate a complete “Win7” desktop and run your windows program.

WINEARCH=win32 WINEPREFIX=~/mywine wine explorer /desktop=shell,1024x768 *mypgm*

Configs for various software installs

LaserGRBL

Winetricks additional support (run once)

WINEARCH=win32 WINEPREFIX=~/mywine winetricks gdiplus msxml3

Created: 2024-03-14 Modified: 2024-04-01