Компиляция Wine на Ubuntu

Создайте LXC контейнер

lxc-create -t download -n ubuntu32 -- --dist ubuntu --release bionic --arch i386

Подключитесь к контейнеру

lxc-start ubuntu32
lxc-attach ubuntu32

Установите приложения

apt update
apt install mc nano aptitude wget

Скачайте wine

mkdir /src
cd /src
wget https://dl.winehq.org/wine/source/3.x/wine-3.3.tar.xz
tar -xf wine-3.3.tar.xz

Установите программы

apt install build-essential libcurl4-gnutls-dev libxml2-dev libssl-dev -y
apt install flex bison libx11-dev libfreetype6-dev liblcms2-dev libgphoto2-dev libv4l-dev libsane-dev libgnutls28-dev libgnutls-dane0 libdbus-1-dev libtiff5-dev libgnutls-openssl27 libgnutls28-dev libpulsedsp libpulse-mainloop-glib0 libfontconfig1-dev fontconfig libmpg123-dev libldap2-dev libldap-2.4-2 libldap-common libvulkan1 libudev-dev libdbus-glib-1-2 libpcap0.8-dev libosmesa-dev libglu-dev libglu1-mesa-dev libxcomposite-dev libxinerama-dev libxrandr-dev libxxf86vm-dev libxshmfence-dev libxi-dev libxcursor-dev libjpeg8-dev libxrender-dev opencl-dev libncursesw5-dev libncurses5-dev libsdl2-dev libcapi20-dev libcups2-dev libgsm1-dev libkrb5-dev libopenal-dev openal-info libvulkan-dev libgstreamer1.0-dev libgstreamer-plugins-bad1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-pulseaudio libxslt-dev oss4-base oss4-dev -y

Скомпилируйте wine

./configure --prefix=/opt/wine-3.3
make
make install