CODESYS 4 Linux is just a small install helper, to install CODESYS on top of wine. This works, since the release of version 3.5 SP13, more or less smoothly. You can't expect, that all features are working, or that the usability is as smooth as under windows. But big parts of the product are working, what makes it well usable for many scenarios.
This describes, the prefered way, using the install script.
To manually do the installation, you might want to take a look into this page.
Download the install script. This can be done with
You can build a docker container, which contains a CODESYS installation running on top of wine. The installation process is automated in the same way as described above. To build the docker image, you can simply use the Dockerfile from the Git repository:
The image can be used to automate tasks. It contains a wrapper to start CODESYS, which contains already a few scripts, which can be used to automate specific tasks.
But again, be aware, that you need to own a Windows license to use the image, as it contains a DotNet installation from Microsoft.
The CODESYS Control runtime is natively running on Linux. The Soft PLC CODESYS Control Linux SL contains a free 2h Demo mode. You can easily create a debian based docker inage, which contains this demo:
The runtime can then be started inside the container. Note that the runtime needs to be started with root privileges. This is not very common for docker, but currently the easiest solution to get it running: