Difference between revisions of "Wine"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
 
(21 intermediate revisions by 11 users not shown)
Line 1: Line 1:
[[wine]], the Windows Emulator, is a [[command]] to execute Windows files under Linux.
+
[[wine]], the Windows Emulator, is a [[command]] to execute Windows programs under Linux.
  
 
= Getting it =
 
= Getting it =
 
To download, compile and install it, [[find out your distribution]] and proceed accordingly.
 
To download, compile and install it, [[find out your distribution]] and proceed accordingly.
 +
 +
== SUSE Linux 12.2 ==
 +
* Download it from http://www.winehq.com
 +
* [[open a console]] and [[unpack]] it like this:
 +
cd
 +
bunzip2 Downloads/wine*
 +
tar xvf Downloads/wine*
 +
* [[install]] some dependencies
 +
yast -i gcc-32bit flex bison libX11-devel-32bit freetype2-devel-32bit
 +
* [[compile]] it
 +
cd
 +
cd wine*
 +
./[[configure]] && [[make]] -j8 && make install
  
 
== SUSE Linux Enterprise Server 11 SP1 x86_64 ==
 
== SUSE Linux Enterprise Server 11 SP1 x86_64 ==
Line 21: Line 34:
 
= Installing MSI files =
 
= Installing MSI files =
 
  wine msiexec /a ''file''.msi
 
  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 =
 +
* [[iometer]]
 +
* [[read e-books with Linux]]
 +
* [[Unpack .zipx files]]

Latest revision as of 19:12, 24 November 2015

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

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