<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to Patched Wine packages for Ubuntu and CODESYS 3.5</title><link>https://forge.codesys.com/forge/talk/Engineering/thread/9508a5f827/</link><description>Recent posts to Patched Wine packages for Ubuntu and CODESYS 3.5</description><language>en</language><lastBuildDate>Sat, 31 Oct 2026 00:14:10 -0000</lastBuildDate><atom:link href="https://forge.codesys.com/forge/talk/Engineering/thread/9508a5f827/feed.rss" rel="self" type="application/rss+xml"></atom:link><item><title>Patched Wine packages for Ubuntu and CODESYS 3.5</title><link>https://forge.codesys.com/forge/talk/Engineering/thread/9508a5f827/?limit=25#8968</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have now published Ubuntu amd64 packages of my patched Wine build for CODESYS, targeting &lt;strong&gt;Ubuntu 22.04, 24.04, 26.04 and 26.10&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The packages are based on &lt;strong&gt;Wine 11.20&lt;/strong&gt; and include all five compatibility patches covering NCrypt, thread suspension, security tokens, service tokens and local WMI marshalling. Both 32-bit and 64-bit Windows applications are supported through WoW64.&lt;/p&gt;
&lt;p&gt;In my working environment, CODESYS 3.5 SP21 successfully compiled and went online with a very complex project containing hundreds of thousands of lines of code and extensive use of polymorphism.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;PPA and installation&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;All four binary builds have completed successfully and are now published and available through APT.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://launchpad.net/~mondinmr/+archive/ubuntu/wine-adv" rel="nofollow"&gt;Wine ADV for CODESYS PPA&lt;/a&gt;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;sudo add-apt-repository ppa:mondinmr/wine-adv
sudo apt update
sudo apt install wine-adv
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;The runtime installs under /opt/wine-adv and provides dedicated commands, allowing it to coexist with your existing Wine installation.&lt;/p&gt;
&lt;p&gt;For example, to launch CODESYS from an existing dedicated prefix:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;WINEPREFIX="$HOME/.wine.codesys" wine-adv \
  'C:\Program Files\CODESYS 3.5.21.30\CODESYS\Common\CODESYS.exe'
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Adjust the executable path to match your installed version. Use the same WINEPREFIX when running the CODESYS installer or installing its prerequisites.&lt;/p&gt;
&lt;p&gt;The package contains the patched Wine runtime. CODESYS and its required Microsoft .NET components must be installed separately inside the prefix.&lt;/p&gt;
&lt;p&gt;Source code, patches and packaging are available on the &lt;a class="" href="https://launchpad.net/wine-adv" rel="nofollow"&gt;project page&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This is an experimental community build. Feedback and test results from other users are welcome!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;CODESYS Installer and CodeMeter licensing are also working in my setup.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;For CodeMeter, I use the &lt;strong&gt;native Linux CodeMeter runtime&lt;/strong&gt;, while the Windows applications run under the patched Wine build.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mondinmr</dc:creator><pubDate>Sat, 31 Oct 2026 00:14:10 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com5906beb5619c1cd1aa3371dc5b27f6c320ac5874</guid></item></channel></rss>