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
e.g.:
wget -c "https://forge.codesys.com/svn/tol,codesys-4-linux,code/trunk/c4l/install.sh"
You might need a development version of wine.
This is the command for debian to install it:
sudo apt-get install wine64-development cabextract winbind
Change the rights of the script, and run it.
chmod u+x install.sh
./install.sh
After the installer finished, you should have a folder "~/.wine.cds/drive_c/CODESYS". From there you can start CODESYS like this...
wine-development ~/.wine.cds/drive_c/CODESYS/CODESYS/Common/CODESYS.exe