~FAQ: parallel install of multiple wine versions

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
fcmartins
Level 4
Level 4
Posts: 114
Joined: Sat Nov 01, 2008 5:48 pm

~FAQ: parallel install of multiple wine versions

Post by fcmartins »

This is not in the FAQ, but since different apps run better depending on wine version, and I just have a case I would like to try, is it possible to do it?

I don't want to mess up my system with experiences so, with ubuntu, what would one have to do?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: ~FAQ: parallel install of multiple wine versions

Post by dimesio »

fcmartins wrote:This is not in the FAQ, but since different apps run better depending on wine version, and I just have a case I would like to try, is it possible to do it?

I don't want to mess up my system with experiences so, with ubuntu, what would one have to do?
You would have to compile Wine yourself. Wine doesn't have to be installed to run, and running the different versions from the directories you compiled them in would be the easiest way. If you really want to install the different versions, search the forum for how to do that. This question has come up before.
fcmartins
Level 4
Level 4
Posts: 114
Joined: Sat Nov 01, 2008 5:48 pm

Post by fcmartins »

Thanks. If I got it correctly, wine can indeed run with parallel installs of direct versions. It just happens that packaged wine (e.g., in debs) is compiled with absolute paths and we can't ask for it to be installed in a different folder.

I searched for information on how to install older versions of wine using git, and although I found the page on using git to develop on wine, it doesn't mention how to have an old version. I'm sure it can be done because of the regression testing page, but I don't want to try bisecting as the first step.

What are the steps to install a old version of wine with git?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

fcmartins wrote:What are the steps to install a old version of wine with git?

Code: Select all

cd $HOME
git clone git://source.winehq.org/git/wine.git wine-git
cd wine-git

# Making wine-1.0.1 version
git checkout wine-1.0.1
./configure --prefix=$HOME/wine-1.0.1
make -sj2 depend all install clean

# Making wine-1.1.9 version
git checkout wine-1.1.9
./configure --prefix=$HOME/wine-1.1.9
make -sj2 depend all install clean
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

~FAQ: parallel install of multiple wine versions

Post by austin987 »

On Sun, Mar 1, 2009 at 9:53 AM, fcmartins <[email protected]> wrote:
Thanks. If I got it correctly, wine can indeed run with parallel installs of direct versions. It just happens that packaged wine (e.g., in debs) is compiled with absolute paths and we can't ask for it to be installed in a different folder.

I searched for information on how to install older versions of wine using git, and although I found the page on using git to develop on wine, it doesn't mention how to have an old version. I'm sure it can be done because of the regression testing page, but I don't want to try bisecting as the first step.

What are the steps to install a old version of wine with git?
Reset/checkout the version you want:
$ git reset --hard wine-1.1.10

Configure it, being sure to specify where you want it:
$ ./configure --prefix=/usr/local/bin/wine-1.1.10 && make depend && make

Install it:
$ sudo make install

--
-Austin
dr_costas
Level 2
Level 2
Posts: 17
Joined: Fri Oct 10, 2008 5:10 pm

Post by dr_costas »

hi there,

there is a much easier way to do it, go grab yourself PlayOnLinux

http://www.playonlinux.com/en/

it is a program that allows you to install and run any program you want in any wineprefix you want. It has some scripts done already for some applications / games if you are lucky.

You can have as many wine versions you want (it just downloads it for you) from 0.9.9 to 1.1.16 at the time of writting and change wine versions on the fly for a program (you may have to delete the windows and prefeerence files just to be sure, no need to reinstall)

It keeps everything tidy inside its own directory (user/.playonlinux)
fcmartins
Level 4
Level 4
Posts: 114
Joined: Sat Nov 01, 2008 5:48 pm

Post by fcmartins »

Thanks, I tried it a year ago or so and didn't get lucky with it (I had to debug the Fable install script and in the end didn't work out anyway). I might have a go at it one of these days, but bare wine is better for my setup since I copy wineprefixes between my children's logins (to install a game only once). Playonlinux advantage is also a disadvantage since its prefixes are way bigger than bare wine's.

Anyway, I also want to have source code installs, in case I find the time to do some debugging for a broken game.
Locked