Tell me more ×
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. – Mik Apr 10 at 23:10

2 Answers

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

Well i do not know if you can downgrade as such...But for your problem of geting only one wine version in software center,you can install the very lightweight software center called DEEPIN SOFTWARE CENTER

Because it provides different versions of wine to install at the same time...

You can download DEEPIN SOFTWARE CENTER here:

enter image description here

share|improve this answer
Whoever Downgraded...You now an alternative way?? – Nirmik May 19 '12 at 16:53
4  
I didn't, but I'd suppose it's because this answer is incorrect. Deepin Software Center is just a different frontend; it does not add or remove repositories to your install, and as such the packages available remain the same. – Jacob Johan Edwards May 19 '12 at 22:24

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.