I can't install wine properly

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
Nelwep
Level 1
Level 1
Posts: 2
Joined: Sat Feb 20, 2021 7:21 am

I can't install wine properly

Post by Nelwep »

Hi,

I've tried several times and several methods but it won't work, I get the error message :

Code: Select all

sudo apt install --install-recommends winehq-stable
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:
 winehq-stable : Depends: wine-stable (= 6.0.0~focal-1)
E: Unable to correct problems, you have held broken packages.
Thank you so much for your help

I really need it for some win app to work.

Wishing you a sweet day and a good health :)
mikeflan
Level 5
Level 5
Posts: 917
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: I can't install wine properly

Post by mikeflan »

Hi Nelwep. Welcome to the list.
Would you be willing to use PlayOnLinux from the Software Manager? It is a front end to Wine and that is what I use.
User avatar
DraganTheMighty
Level 4
Level 4
Posts: 322
Joined: Sat Jan 30, 2021 5:53 pm
Location: HELLAS

Re: I can't install wine properly

Post by DraganTheMighty »

To install WINE, make it work and more easy to use on Linux Mint 20:

01. Install it from Synaptic Package Manager. What you must choose for installation is "wine-installer".
02. Copy-Paste /usr/share/doc/wine/examples/Wine Windows Program Loader into /usr/share/applications/
03. Open file /usr/share/applications/Notepad and on line: Exec=wine notepad replace "notepad" with "wine notepad".
04. If you have Mint Xfce Right click on the "m" icon, I mean right click what you usually left click to get the start menu. Now click on "Properties" and on the "Appearance" tab (the first one) make sure that "Show as tree" is selected. This way each new Wine-Windows application it's installed will have its shortcuts in a different folder.

For Linux Mint 19: viewtopic.php?f=90&t=314921
Nelwep
Level 1
Level 1
Posts: 2
Joined: Sat Feb 20, 2021 7:21 am

Re: I can't install wine properly

Post by Nelwep »

Thank you mikeflan, I installed PlayonLinux but how do I get to install a software ?
When I right-click on the .exe and click on the App, it opens but nothing happens and I don't see where we can install anything... Maybe in advanced mode ?

DraganTheMighty thank you for your instructions but being on 19, I followed the command and got some error message again :

apt install --install-recommends wine-installer[sudo] password for dameaw:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package wine-installer

Thank you very much for your help this is really appreciated.
Wishing you a sweet day
mikeflan
Level 5
Level 5
Posts: 917
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: I can't install wine properly

Post by mikeflan »

Click on 'Install a program':
play.png
Mostly pick the defaults. If it is old software, go with 32 bit install.
User avatar
GELvdH
Level 4
Level 4
Posts: 238
Joined: Tue Jan 08, 2019 10:10 am
Location: Havelock, NC USA

Re: I can't install wine properly

Post by GELvdH »

I installed wine the following way. Go to winehq.org, Downloads, Ubuntu, Ubuntu 20.04/Linux Mint 20.x and than copy and paste the sudo... script into the terminal. Follow the instructions. It worked for me.
Post Reply

Return to “Software & Applications”