An HTML attachment was scrubbed... URL: http://www.winehq.org/pipermail/wine-users/attachments/20040608/6318d2cd/attachment.html -------------- next part -------------- Hi Can you please tell me how to check what version of wine is installed on Linux machine. curently I am using "rpm -q wine" in the console to check the wine version. Is the version information is stored anywhere else (ie. in any file or so) ? My requirement is to write a java program to retrieve the version of wine installed on Linux machine. Can any one help on this ? Thanks & Regards Bhuvaneswari S
S Buvaneswari wrote:> Hi > Can you please tell me how to check what version of wine is installed on Linux machine. > curently I am using "rpm -q wine" in the console to check the wine version. > Is the version information is stored anywhere else (ie. in any file or so) ? > My requirement is to write a java program to retrieve the version of wine installed on Linux machine. Can any one help on this ? > > Thanks & Regards > Bhuvaneswari S >The best that I know of is: wine --version this will give you an idea, but it's not guaranteed accurate, or so I was told last week. If your RPM was built from CVS then it's totally up to whoever checked the code out of CVS. If they checked out a specific revision then --version will be correct, but if they just checked out the most recent then it will be then version name most recent, but with newer code included.
On June 8, 2004 02:31 am, S Buvaneswari wrote:> <P> > Hi <BR> > Can you please tell me how to check what version of wine is > installed on Linux machine.<BR> curently I am using "rpm -q > wine" in the console to check the wine version. <BR> > Is the version information is stored anywhere else (ie. in any file > or so) ?<BR> My requirement is to write a java program to retrieve > the version of wine installed on Linux machine. Can any one help on this > ?<BR> <BR> > Thanks & Regards<BR> > Bhuvaneswari S<BR>No, the version is almost certainly not stored in a file anywhere. (That would be a risky thing to do since it could very easily get out of sync with the actual executables). If the wine is installed under rpm then I would say that using rpm -q is the best way to get the version. (I have known of one occasion in the past on which it was more correct than the wine --version answer). Using rpm will give much more accurate information including whose build of wine it is as well as the version. Otherwise, as Mark said, use wine --version. I am really not knowledgeable about java but I would have thought that if you are able to access the local filesystem to read a file then you should be able to execute a command in the local system and read its output.> > </P> > <br><br> > <A target="_blank" > HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG > SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com >/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0></a>-- Bill Medland mailto:billmedland@mercuryspeed.com http://webhome.idirect.com/~kbmed
An HTML attachment was scrubbed... URL: http://www.winehq.org/pipermail/wine-users/attachments/20040609/91e23724/attachment.htm -------------- next part -------------- Hi Thanks for your response regards bhuvana On Tue, 08 Jun 2004 Bill Medland wrote :>On June 8, 2004 02:31 am, S Buvaneswari wrote: > > <P> > > Hi <BR> > > ? Can you please tell me how to check what version of wine is > > installed on Linux machine.<BR> ? curently I am using "rpm -q > > wine" in the console to check the wine version.? ? <BR> > > ? Is the version information is stored anywhere else (ie. in any file > > or so) ?<BR> ? My requirement is to write a java program to retrieve > > the version of wine installed on Linux machine. Can any one help on this > > ?<BR> <BR> > > Thanks & Regards<BR> > > Bhuvaneswari S<BR> > >No, the version is almost certainly not stored in a file anywhere. (That >would be a risky thing to do since it could very easily get out of sync with >the actual executables). > >If the wine is installed under rpm then I would say that using rpm -q is the >best way to get the version. (I have known of one occasion in the past on >which it was more correct than the wine --version answer). Using rpm will >give much more accurate information including whose build of wine it is as >well as the version. > >Otherwise, as Mark said, use wine --version. > >I am really not knowledgeable about java but I would have thought that if you >are able to access the local filesystem to read a file then you should be >able to execute a command in the local system and read its output. > > > > > </P> > > <br><br> > > <A target="_blank" > > HREF="http://clients.rediff.com/signature/track_sig.asp"><IMG > > SRC="http://ads.rediff.com/RealMedia/ads/adstream_nx.cgi/www.rediffmail.com > >/inbox.htm@Bottom" BORDER=0 VSPACE=0 HSPACE=0></a> > >-- >Bill Medland >mailto:billmedland@mercuryspeed.com >http://webhome.idirect.com/~kbmed