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
Also make sure, that you own a valid Windows license. Because the installer will install dotnet and vcrun from Microsoft. And this software requires a valid Windows license.
Change the rights of the script, and run it.
chmod u+x install.sh
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.
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:
sudo docker run --privileged codesys-control
After the installer finished, you should have a folder "~/.wine.cds/drive_c/CODESYS". From there you can start CODESYS like this...