public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* How to find out the current cygwin version?
@ 2017-09-08  4:40 Ben Stover via cygwin
  2017-09-08  4:44 ` David Billinghurst
  0 siblings, 1 reply; 6+ messages in thread
From: Ben Stover via cygwin @ 2017-09-08  4:40 UTC (permalink / raw)
  To: cygwin

Assume I get to another (Windows) computer where Cygwin is already installed.

How can I find out which version of Cygwin is currently installed?

Thy
Ben



.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to find out the current cygwin version?
  2017-09-08  4:40 How to find out the current cygwin version? Ben Stover via cygwin
@ 2017-09-08  4:44 ` David Billinghurst
  2017-09-08  8:16   ` Corinna Vinschen
                     ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: David Billinghurst @ 2017-09-08  4:44 UTC (permalink / raw)
  To: cygwin

On 8/09/2017 14:39, Ben Stover via cygwin wrote:

> Assume I get to another (Windows) computer where Cygwin is already installed.
>
> How can I find out which version of Cygwin is currently installed?
cygcheck --version             # for cygwin dll
cygcheck  --check-setup   # for all packages

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to find out the current cygwin version?
  2017-09-08  4:44 ` David Billinghurst
@ 2017-09-08  8:16   ` Corinna Vinschen
  2017-09-08 13:06   ` Nellis, Kenneth
  2017-09-08 15:41   ` Larry Hall (Cygwin)
  2 siblings, 0 replies; 6+ messages in thread
From: Corinna Vinschen @ 2017-09-08  8:16 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 558 bytes --]

On Sep  8 14:44, David Billinghurst wrote:
> On 8/09/2017 14:39, Ben Stover via cygwin wrote:
> 
> > Assume I get to another (Windows) computer where Cygwin is already installed.
> > 
> > How can I find out which version of Cygwin is currently installed?
> cygcheck --version             # for cygwin dll

Or `uname -a'.

> cygcheck  --check-setup   # for all packages


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: How to find out the current cygwin version?
  2017-09-08  4:44 ` David Billinghurst
  2017-09-08  8:16   ` Corinna Vinschen
@ 2017-09-08 13:06   ` Nellis, Kenneth
  2017-09-08 15:39     ` Ian Lambert via cygwin
  2017-09-08 15:41   ` Larry Hall (Cygwin)
  2 siblings, 1 reply; 6+ messages in thread
From: Nellis, Kenneth @ 2017-09-08 13:06 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 832 bytes --]

From: David Billinghurst 
> On 8/09/2017 14:39, Ben Stover via cygwin wrote:
> 
> > Assume I get to another (Windows) computer where Cygwin is already
> installed.
> >
> > How can I find out which version of Cygwin is currently installed?
> cygcheck --version             # for cygwin dll
> ...

This isn't technically correct, right? This gives the version of
cygcheck itself, not the cygwin DLL, which is what was really
being requested.

Instead, use: cygcheck -c cygwin

Or, as I do (and Corinna already suggested): uname -a
or, more quietly: uname -r

--Ken Nellis

\0ТÒÐÐ¥\a&ö&ÆVÒ\a&W\x06÷'G3¢\x02\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒ÷\a&ö&ÆV×2æ‡FÖÀФd\x15\x13¢\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒöf\x17\x12ðФFö7VÖVçF\x17F–öã¢\x02\x02\x02\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒöFö72æ‡FÖÀÐ¥Vç7V'67&–&R\x06–æfó¢\x02\x02\x02\x02\x02\x06‡GG\x03¢òö7–wv–âæ6öÒöÖÂò7Vç7V'67&–&R×6–×\x06ÆPРÐ

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: How to find out the current cygwin version?
  2017-09-08 13:06   ` Nellis, Kenneth
@ 2017-09-08 15:39     ` Ian Lambert via cygwin
  0 siblings, 0 replies; 6+ messages in thread
From: Ian Lambert via cygwin @ 2017-09-08 15:39 UTC (permalink / raw)
  To: cygwin

On September 8, 2017 9:05:31 AM EDT, "Nellis, Kenneth" <Kenneth.Nellis@conduent.com> wrote:
>From: David Billinghurst 
>> On 8/09/2017 14:39, Ben Stover via cygwin wrote:
>> 
>> > Assume I get to another (Windows) computer where Cygwin is already
>> installed.
>> >
>> > How can I find out which version of Cygwin is currently installed?
>> cygcheck --version             # for cygwin dll
>> ...
>
>This isn't technically correct, right? This gives the version of
>cygcheck itself, not the cygwin DLL, which is what was really
>being requested.
>
>Instead, use: cygcheck -c cygwin
>
>Or, as I do (and Corinna already suggested): uname -a
>or, more quietly: uname -r
>

Fwiw, from what I've seen, only 
cygcheck -c cygwin 
gives the full x.y.z-n version.
All other suggestions give only
x.y.z without -n

Small difference, but...




-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How to find out the current cygwin version?
  2017-09-08  4:44 ` David Billinghurst
  2017-09-08  8:16   ` Corinna Vinschen
  2017-09-08 13:06   ` Nellis, Kenneth
@ 2017-09-08 15:41   ` Larry Hall (Cygwin)
  2 siblings, 0 replies; 6+ messages in thread
From: Larry Hall (Cygwin) @ 2017-09-08 15:41 UTC (permalink / raw)
  To: cygwin

On 09/08/2017 12:44 AM, David Billinghurst wrote:
> On 8/09/2017 14:39, Ben Stover via cygwin wrote:
> 
>> Assume I get to another (Windows) computer where Cygwin is already installed.
>>
>> How can I find out which version of Cygwin is currently installed?
> cygcheck --version             # for cygwin dll
> cygcheck  --check-setup   # for all packages

To do a check of all installed packages, the second option is really the
only choice.  But if you're just looking for version of the Cygwin DLL,
"uname -r" is an alternative to the first option that is a bit more
UNIXy/Linuxy.  As such, it may be preferable if you're checking this in a
script that is meant to be cross-platform.


-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-09-08 15:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-08  4:40 How to find out the current cygwin version? Ben Stover via cygwin
2017-09-08  4:44 ` David Billinghurst
2017-09-08  8:16   ` Corinna Vinschen
2017-09-08 13:06   ` Nellis, Kenneth
2017-09-08 15:39     ` Ian Lambert via cygwin
2017-09-08 15:41   ` Larry Hall (Cygwin)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).