No Wine binary after installation?

Questions about Wine on Linux
Locked
macuso
Newbie
Newbie
Posts: 3
Joined: Sat May 30, 2020 11:43 am

No Wine binary after installation?

Post by macuso »

I do need to install a specific Wine version, more exactly the 5.8, as this have some correction for the softwares that I do need to use on my Ubuntu 20.04 machine, and because the newer versions are not starting at all.

So, I downloaded the following packages:

Code: Select all

https://dl.winehq.org/wine-builds/ubuntu/dists/focal/main/binary-i386/wine-devel-i386_5.8~focal_i386.deb
https://dl.winehq.org/wine-builds/ubuntu/dists/focal/main/binary-amd64/wine-devel-amd64_5.8~focal_amd64.deb
https://dl.winehq.org/wine-builds/ubuntu/dists/focal/main/binary-i386/wine-devel_5.8~focal_i386.deb
https://dl.winehq.org/wine-builds/ubuntu/dists/focal/main/binary-amd64/wine-devel_5.8~focal_amd64.deb
and installed them using the following commands:

Code: Select all

> sudo apt-get -f install wine-devel-i386_5.8_focal_i386.deb
> sudo apt-get -f install  wine-devel-amd64_5.8_focal_amd64.deb
> sudo apt-get -f install  wine-devel_5.8_focal_i386.deb
> sudo apt-get -f install  wine-devel_5.8_focal_amd64.deb
but if I I'm typing for "wine" in the terminal, I do get the following error message:

Code: Select all

$ wine

Command 'wine' not found, but can be installed with:

sudo apt install wine              # version 5.0-3ubuntu1, or
sudo apt install wine-development  # version 5.5-3ubuntu1
Seems that the installers downloaded all the necessary dependencies, but for some reason the "wine" is missing!

How can I do fix this issue?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: No Wine binary after installation?

Post by jkfloris »

vafred
Newbie
Newbie
Posts: 1
Joined: Sat Mar 26, 2022 1:24 pm

Re: No Wine binary after installation?

Post by vafred »

jkfloris, what are the dependencies for that package? can you point me in the right direction? I running Ubuntu 20.04 on a 64 bit amd system.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: No Wine binary after installation?

Post by dimesio »

You are getting the "not found" message because you failed to install the winehq-devel package. The WineHQ packages are installed to /opt/wine, and the winehq-devel package adds the necessary symlinks to make it the system default version. Without the symlinks, you need to use the full path to wine when running it.
Locked