<p>
Wine executes Windows applications on Linux.
</p>

<h3>Contents</h3>
<ul>
<li><a href="#multiarch">Multiarch</a></li>
<li><a href="#install">Installation</a>
<ul>
<li><a href="#install_drivers">Drivers</a></li>
<li><a href="#install_wine">Wine</a></li>
</ul>
</li>
<li><a href="#exec">Execution</a></li>
<li><a href="#links">External Links</a></li>
</ul>

<h3 id="multiarch">Multiarch</h3>
<p>
Most Windows applications (especially older ones) are built for the 32-bit<br />
microprocessor architecture (i386). To execute 32-bit applications,<br />
the underlying operating system needs to support this architecture.<br />
To enable the installation of software packages for the i386 architecture,<br />
execute the following command:
</p>
<pre><code class="language-bash">sudo dpkg --add-architecture i386
sudo apt update
</code></pre>

<h3 id="install">Installation</h3>
<h4 id="install_drivers">Drivers</h4>
<p>
Some 32-bit applications, like games, require graphics acceleration.
</p>
<p>
If the proprietary Nvidia driver is used,<br />
install the libraries for the i386 architecture:
</p>
<pre><code class="language-bash">sudo apt install nvidia-driver-libs:i386
</code></pre>
<p>
If the generic GL library is used,<br />
install the library for the i386 architecture:
</p>
<pre><code class="language-bash">sudo apt install libgl1:i386
</code></pre>
<h4 id="install_wine">Wine</h4>
<p>
The following command installs 32-bit and 64-bit variants of <code>wine</code>:
</p>
<pre><code class="language-bash">sudo apt install wine wine32:i386 wine64
</code></pre>

<h3 id="exec">Execution</h3>
<p>
To execute a 32-bit Windows application, change to the application directory<br />
and call <code>wine</code> with the Windows executable as parameter:
</p>
<pre><code class="language-bash">cd '/mnt/ntfs/games/My Game'
wine MyGame.exe
</code></pre>

<h3 id="links">External Links</h3>
<ul>
<li><a href="https://www.winehq.org/" target="_blank">
https://www.winehq.org/</a></li>
<li><a href="https://appdb.winehq.org/" target="_blank">
https://appdb.winehq.org/</a></li>
</ul>