Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Some Windows applications work better under an older version of WINE. From time to time it is even necessary to use a previous WINE version in order to get an application to start. However, the repository provides only one version of it, and it may require some hassle to downgrade it.

What is the best way of installing an older version of WINE?

share|improve this question
1  
You could make use of PlayOnLinux create a .pol file that requires a specific version of Wine to install your software- –  Uri Herrera May 19 '12 at 22:36
    
I discuss using different wine versions in playonlinux in this answer. That is by far the easiest way to manage multiple versions of wine. –  user76204 Apr 10 '13 at 23:10

2 Answers 2

From the Wine FAQ:

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

Yes, but you will have to build Wine yourself (see How to compile Wine from source), as it is not possible to have multiple distro packages installed. The easiest way to do this is to run Wine from the build directory (don't do make install). If you want to actually install multiple versions, use --prefix when building Wine to designate a different install directory for each version, e.g.

./configure prefix=/path/to/install/directory && make 

then install it with

sudo make install 

On Linux, even this step is not enough: you must also set environment variables so that the wine executable on your $PATH finds the right shared libraries. Assuming that /path/to/install/directory is $W, then for Wine version 1.4, the following settings appear to be sufficient:

export WINEVERPATH=$W 
export PATH=$W/bin:$PATH  
export WINESERVER=$W/bin/wineserver  
export WINELOADER=$W/bin/wine  
export WINEDLLPATH=$W/lib/wine/fakedlls  
export LD_LIBRARY_PATH="$W/lib:$LD_LIBRARY_PATH" 

The LD_LIBRARY_PATH is definitely required.

Note that regardless of whether you install multiple versions or run them from the build directory, you will still have to designate which version of Wine you wish to use when running applications. It is also recommended that applications being run with different Wine versions be installed into separate wineprefixes.

share|improve this answer

I can recommend to You to use PlayOnLinux. In this app You can manage Wine version depends which program You want to install, even installed You can change Wine version as You like.

share|improve this answer
    
Welcome to Ask Ubuntu mihoo! Although your post attempts to answer the question, is it better to include more explanation on how to "manage wine versions" in PlayOnLinux. Because if you think about it, when other people read your answer, they'll start wondering "how do I install PlayOnLinux" and "how can I manage wine versions using it"? You could include steps or screenshots of PlayOnLinux on how to do this. Additionally, you can include a command or install link to install PlayOnLinux. –  Alaa Ali Jul 28 '13 at 12:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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