15

I need to use two different Windows applications, one works well with Wine 1.4 but not on Wine 1.5 and the other application works well with the later version but not with the former.

Is there a way to have both versions of Wine installed, specifying which application should run with which Wine version?

13

PlayOnLinuxInstall PlayOnLinux

You can use PlayOnLinux to install applications which run on different versions of wine. PlayOnLinux provides an option of installing some libraries as well along with installation of a program.

To mange different versions of wine, go to Tools > Manage Wine Versions

Wine_Versions

If you want to add your custom compiled version of Wine to this list, create new wine "version" in ~/.PlayOnLinux/wine/linux-amd64 or linux-x86 and copy your custom installation there.

While installing an application you have an option of installing it a new virtual drive, in which you can install a different version of wine.

Virtual_Drive

PlayOnLinux

1
  • could you elaborate more? this issue is very important and your answer needs more attention - but first has to be detailed. i have not tried it myself, but: ubuntu.igameilive.com/2010/02/… – user47206 Feb 19 '13 at 23:47
5

See the FAQ of wine here telling you that.

You have to scroll to

2.6 Can I install more than one Wine version on my system?

Fixing environment variables you'll be able to get it.

0

I use several scripts but basically do this:
go to:
https://dl.winehq.org/wine-builds/ubuntu/
then further to
https://dl.winehq.org/wine-builds/ubuntu/dists/bionic/main/binary-i386/
and
https://dl.winehq.org/wine-builds/ubuntu/dists/bionic/main/binary-amd64/

download ex.:

wine-staging_4.21_bionic_amd64.deb
wine-staging_4.21_bionic_i386.deb
wine-staging-amd64_4.21_bionic_amd64.deb
wine-staging-i386_4.21_bionic_i386.deb

(can be staging or stable) On the page search type ex.: 4.21
now skip all packages containing: wine-devel-, winehq-, -dbg and -dev, as the above ones.

copy them all to a folder named ex.: wine4.21-bionic (if it was stable could be instead wine4.21stable-bionic)

Extract them all using the filemanager (is easier, I use nemo). Expand all the 4 folders to see simultaneously all the data.tar.xz, select all these 4 and do "extract here" (will be on the sub-folder).

Now rename 2 of the 4 folders at wine4.21-bionic/ to (just keep their ending folder name):
amd64
i386

Copy the subfolders opt and usr from the remaining folders (the extracted but not renamed ones), and paste into the renamed folders (you must opt to merge the folders now).

Cleanup/Trash everything else that is not needed.

In nemo there is open as root context menu option. So I use it to move that folder and apply root permissions to top folder and all enclosed files.

you will need these environment set after that, (I keep them at a top folder: /WineVersions/) ex.:

export PATH="$PATH:/WineVersions/wine4.21-bionic/amd64/opt/wine-staging/bin:/WineVersions/wine4.21-bionic/i386/opt/wine-staging/bin"

export LD_LIBRARY_PATH=":/WineVersions/wine4.21-bionic/amd64/opt/wine-staging/lib:/WineVersions/wine4.21-bionic/i386/opt/wine-staging/lib:/usr/lib/x86_64-linux-gnu"

(this /usr/lib/x86_64-linux-gnu may not be necessary above (try w/o it first?), but I use it anyway)

now you should be able to ex.: wine64 explorer (after you create and env set a WINEPREFIX of course :))

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.