0

This a cygwin newbe question.

On sites that have iunstuctions to install things, for example PHP has a page with Instructions ...

Installation on Unix systems
Installation on Mac OS X
Installation on Windows systems

With cygwin does that mean you can do the Installation on Unix systems even though you are on Windows or is this not the case?

2 Answers 2

4

If you have instructions on how to install to Windows natively, you should follow native instructions. Cygwin is really a way to graft particular functionality to the Windows platform because it's not natively supported.

It might be kind silly to take a UNIX-based application, graft it to an abstraction layer on Windows, and put up with (potential) compatibility conflicts if you can just install a version that was meant for and tested for Windows. Or run it in a VM running Linux natively. In the long run you'll have fewer administration/maintenance headaches and compatibility issues.

To directly answer your question, I'd say look for instructions to run XYZ in cygwin, or look for "proper" instructions on your given platform. UNIX systems is generic and you'll have to figure out paths and command mappings and such, plus you might have library differences. Instructions are generally targeted towards a particular testbed (installed on Red Hat XYZ, or Ubuntu 11.04, etc.) so paths and such won't match unless it's suitably generic and simple and you'll not have certain tools available (like hitting the step where you apt-get a package to continue.)

1

If you're installing any files that are OS-specific binary executables then, no this will not work. So basically the only time this would work is if you're installing an application that is entirely java, script based, etc. and it is not installing the interpreter for that script. As someone who has created software distributions before, I can tell you I wouldn't distribute Windows software like that (where there aren't good dependency management mechanisms built into the operating system like rpm, etc.). You're much better off going with a native Windows installer.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .