several wine versions on the same machine?

Questions about Wine on Linux
Locked
marchello
Level 1
Level 1
Posts: 7
Joined: Sat Jan 04, 2020 12:02 pm

several wine versions on the same machine?

Post by marchello »

Hi all,

I use wine that was in repository (rather old). Is there any simple way to keep existing wine version, but install additional latest wine (unstable) just to test latest features on one of windows app?

Please advise.

Code: Select all

user@pc:~$ wine --version
wine-4.0.3
user@pc:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:        18.04
Codename:       bionic
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: several wine versions on the same machine?

Post by Bob Wya »

@marchello

See: WineHQ Wiki: Ubuntu.

You can install all 3 of the WineHQ Ubuntu repository Wine packages simultaneously.
E.g.:

Code: Select all

sudo apt install --install-recommends winehq-stable
sudo apt install --install-recommends wine-devel
sudo apt install --install-recommends wine-staging
The Development and Staging versions of Wine will be installed out-of-tree, without any compatibility symbolic links (which are provided by the winehq-* packages).

So to run applications with wine-devel, you'd specify the full path:

Code: Select all

/opt/wine-devel/bin/wine ...
to the wine executable.

Bob
marchello
Level 1
Level 1
Posts: 7
Joined: Sat Jan 04, 2020 12:02 pm

Re: several wine versions on the same machine?

Post by marchello »

Thanks Bob Wya.

Can't install both dev and stage versions.

Code: Select all

user@pc:~$ sudo apt install --install-recommends wine-staging
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine-staging : Depends: wine-staging-i386 (= 5.0~rc5~bionic)
                Depends: wine-staging-amd64 (= 5.0~rc5~bionic) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
user@pc:~$ sudo apt install --install-recommends wine-devel
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine-devel : Depends: wine-devel-i386 (= 5.0~rc5~bionic)
              Depends: wine-devel-amd64 (= 5.0~rc5~bionic) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
also

Code: Select all

$ sudo apt-get install wine-devel-amd64
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 wine-devel-amd64 : Depends: libfaudio0 but it is not installable
E: Unable to correct problems, you have held broken packages.
Please advise.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: several wine versions on the same machine?

Post by Bob Wya »

@marchello

Attempt to install the main packages together:

Code: Select all

sudo apt-get install wine-devel-amd64 wine-devel-i386
and work backwards to determine the broken dependency.

You might also get better results using aptitude - which allegedly has better dependency resolution than apt.

32-bit and 64-bit packages, of multilib package, must both be installed and matching versions (exactly matching).
(Or certainly that is my understanding of how Debian handles multilib packages...)

This might all seem a bit archaic and quite frankly it is... :roll:
I don't have this sort of issue with Gentoo...

Bob
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: several wine versions on the same machine?

Post by dimesio »

Code: Select all

wine-devel-amd64 : Depends: libfaudio0 but it is not installable
Follow the instructions in viewtopic.php?f=8&t=32192 to install FAudio.
Locked