Wine

Wine is a open-source compatibility layer that allows Windows applications  to run on Unix-like operating system without a copy of Microsoft Windows.

Availability and Restrictions

Versions

Version Owens Pitzer Note
3.0.2 X    
4.0.3 X    
5.1 X*   only support 64-bit Windows binaries
6.0 X X*
* Current default version

You can use module spider wine to view available modules for a given machine. Feel free to contact OSC Help if you need other versions for your work.

Access

Wine is available to all OSC users. If you have any questions, please contact OSC Help.

Publisher/Vendor/Repository and License Type

The Wine project authors, Open source

Usage

Set-up

In OnDemand Desktop app, run the following command:

module load wine/version

Using Wine

Please note that for the versions 3.0.2, 4.0.3 and 5.1 , Wine are built with --enable-win64 and so they cannot run Windows 32-bit binaries.  You can run the following command to execute a Windows 64-bit binary: 

wine64 /path/to/window_64bit_exe

Starting with 6.0, Wine is built with Mono and Gecko. We recommend to run wineboot -u to set up these libraries in your wine prefix.

Use other directory for C:\

You can change the default wine prefix $HOME/.wine to other directories:

mkdir -p $TMPDIR/my_wine_tmp
module load wine/6.0
export WINEPREFIX=$TMPDIR/my_wine_tmp
wine wineboot -u
wine winecfg

Further Reading

 

 
Tag: 
Supercomputer: 
Service: 
Fields of Science: