Version of Wine Installed in Linux
billmedland at mercuryspeed.com
Tue Jun 8 12:07:12 CDT 2004
On June 8, 2004 02:31 am, S Buvaneswari wrote:
> 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.
> <A target="_blank"
>/inbox.htm at Bottom" BORDER=0 VSPACE=0 HSPACE=0></a>
mailto:billmedland at mercuryspeed.com
More information about the wine-users