Wine-9.14

Introduction to Wine

Wine is a compatibility layer for running Windows programs.

[Note]

Note

Development versions of GLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Wine Dependencies

Wine Dependencies

[Note]

Note

This may take a while to build. Feel free to do something else while this is building.

Installation of Wine

Wine has three build types. Scroll down to the build type you want. Visit Wine Dependencies for more information about each build type.

64-bit Only

Install 64-bit only Wine by running the following commands:

mkdir build &&
cd    build

../configure --prefix=/usr --enable-win64

make

Now, as the root user:

make install

32-bit Only

[Note]

Note

If you're on 64-bit, invoke PKG_CONFIG_PATH=/usr/lib32/pkgconfig at the beginning of the following command to build for 32-bit.

Install 32-bit only Wine by running the following commands:

mkdir build &&
cd    build

../configure --prefix=/usr

make

Now, as the root user:

make install

WoW64

Install WoW64 Wine by running the following commands:

mkdir build-win64 &&
cd    build-win64

../configure --prefix=/usr --enable-win64

make

cd ..             &&
mkdir build-win32 &&
cd    build-win32 &&

PKG_CONFIG_PATH=/usr/lib32/pkgconfig      \
../configure --prefix=/usr                \
             --with-wine64=../build-win64

make

Now, as the root user:

make install      &&
cd ../build-win64 &&
make install

Command Explanations

--with-wine64=../build-win64: This option allows Wine during the compilation stage to use files built in the wine64 stage to enable support for both 32-bit and 64-bit.

Contents

Installed Programs: msidb, msiexec, notepad, regedit, regsvr32, widl, wine, wine-preloader, wine64, wine64-preloader, wineboot, winebuild, winecfg, wineconsole, winecpp, winedbg, winedump, winefile, wineg++, winegcc, winemaker, winemine, winepath, wineserver, wmc, and wrc
Installed Libraries: Various dynamic and static libraries
Installed Directories: /usr/include/wine/windows, /usr/lib/wine/x86_64-windows, /usr/lib32/wine/i686-unix, and /usr/share/wine

Short Descriptions

msidb

handles MSI databases

msiexec

is the Wine MSI installer

notepad

is the Wine text editor

regedit

is the Wine registry editor

regsvr32

is the Wine DLL Registration Server

widl

is the Wine Interface Definition Language (IDL) compiler

wine

runs Windows programs on Unix

wine-preloader

preloads Win32 binaries

wine64

runs 64-bit Windows programs on Unix

wine64-preloader

preloads 64-bit Windows binaries

wineboot

performs Wine initialization, startup, and shutdown tasks

winebuild

is the Wine dll builder

winecfg

is the Wine Configuration Editor

wineconsole

is the Wine console

wine{cpp,g++,gcc}

is the Wine C and C++ MinGW-w64 Compatible Compiler

winedbg

is the Wine debugger

winedump

is a Wine DLL tool

winefile

is a Wine File Manager

winemaker

generates a build infrastructure for compililing Windows programs on Unix

winemine

is the Wine Minesweeper game.

winepath

is a tool to convert Unix paths to/from Win32 paths

wineserver

is the Wine server

wmc

is the Wine Message Compiler

wrc

is the Wine Resource Compiler