Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How would I find the cygwin version which has been installed on my machine

Cygwin - How would I find the Cygwin's version which has been installed on my machine? (Win Vista)

like image 224
user339108 Avatar asked Dec 22 '10 04:12

user339108


People also ask

How do I know what version of Cygwin I have installed?

To find the version of the Cygwin DLL installed, you can use uname -r as you would for a Unix kernel. As the Cygwin DLL takes the place of a Unix kernel, you can also use the Unix compatible command: head /proc/version , or the Cygwin specific command: cygcheck -V .

How do I know if Cygwin is installed on Windows?

If cygwin complains with windows installer standards then when you install it you should be able to find a registry entry for this program. You should check the registry for something like localmachine/software/cygwin.... this validation can be done using RegistryKey class in c#.

Where is Cygwin installed?

The installation directory (by default, c:\cygwin) is the root of the Unix-like file system, which contains bin, etc, home, tmp, and usr directories as would be found on a GNU/Linux or other Unix system. Within home will be one or more subdirectories, each allocated to a Windows user.

What is the Cygwin terminal?

Cygwin is a collection of open source tools that allows Unix or Linux applications to be compiled and run on a Microsoft Windows operating system (OS) from within a Linux-like interface. Cygwin offers users a Linux-like experience in a Windows environment.


2 Answers

With the uname utility, as on other POSIX systems.

uname -r 
like image 127
ak2 Avatar answered Sep 25 '22 08:09

ak2


If you want to detect if you're running the 32 bit or 64 bit version, the -m switch will tell you:

uname -m

"i686" for the 32-bit version, "x86_64" if it's 64-bit.

uname -a

..gives you all the information at once. Check man uname for details.

(This is also answered in How do I tell whether my cygwin installation is 32 or 64 bit?)

like image 25
Bing Avatar answered Sep 25 '22 08:09

Bing