Wine

From LinuxIntro
Jump to: navigation, search

wine, the Windows Emulator, is a command to execute Windows programs under Linux.

Contents

Getting it

To download, compile and install it, find out your distribution and proceed accordingly.

SUSE Linux 12.2

cd
bunzip2 Downloads/wine*
tar xvf Downloads/wine*
yast -i gcc-32bit flex bison libX11-devel-32bit freetype2-devel-32bit
cd
cd wine*
./configure && make -j8 && make install

SUSE Linux Enterprise Server 11 SP1 x86_64

cd
bunzip2 Downloads/wine*
tar xvf Downloads/wine*
yast -i gcc-32bit
yast -i flex
yast -i bison
cd
cd wine*
./configure && make -j8 && make install

Installing MSI files

wine msiexec /a file.msi

RS232 serial port

RS232 serial port is com1 under Windows and /dev/ttyUSB0 under SUSE Linux 12.1. As long as you use a USB to serial adapter. Then do a

cd
cd .wine
cd dosdevices
ln -s /dev/ttyUSB0 com1

and you can use your USB to serial adapter under wine.

See also