Wine install Mint 19 Mate

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Relative
Level 3
Level 3
Posts: 131
Joined: Fri Jul 30, 2010 9:43 pm
Location: Garden Grove, CA

Wine install Mint 19 Mate

Post by Relative »

Did a complete wipe of /home and / partitions and a fresh install of Mint 19 Mate on two different laptops. Tried to install Wine using various suggestions on one of the laptops and it still doesn't work. (Neither of these laptops did the 'upgrade' option.)

Am I to understand that the Mint repositories do not have a current working version of Wine? If so, when might that occur? If never, what is a correct alternative to get a clean install of Wine that will work for anyone?

Am currently re-installing Mint 19 on the first laptop where I tried to install Wine and seem to have bolixed up the entire install. Have to continue to use the Windows 7 partition to run the spreadsheets that are important to me.

Mike
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Mate 21.3 - MacBookPro2,1, MacBook2,1
Mate 21.3 - ThinkPad L430, ThinkPad T430, Dell N7110, iMac8.1, Toshiba A215
Mate 19.3 - (32-bit version) Old home-built P4 desktop.
Raspbian - Pi3 & Pi4.
All except P4 machine run cancer research 24/7.
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: Wine install Mint 19 Mate

Post by trytip »

you can try wps office for your spreadsheets http://wps-community.org/downloads
or install wine with the official ppa https://wiki.winehq.org/Ubuntu ... i'm finding out that wine 3.0 is much more stable then later versions
Image
User avatar
Pierre
Level 21
Level 21
Posts: 13227
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Wine install Mint 19 Mate

Post by Pierre »

there is actually a couple of software programs, that most folk will suggest that you get direct,
from the Site Authors & the ./wine project is one of those:
https://wiki.winehq.org/Ubuntu
tells you how to install the later versions of the ./wine project.

you can also try out the Commercial version of ./wine as well :
https://www.codeweavers.com/products/windowsmac/
to see if some of your software will run better on the Commercial version of ./wine
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.
Relative
Level 3
Level 3
Posts: 131
Joined: Fri Jul 30, 2010 9:43 pm
Location: Garden Grove, CA

Re: Wine install Mint 19 Mate

Post by Relative »

Thank you for the suggestions. However; I am hoping that Mint will re-establish the simplicity of using "apt install wine" as it has for previous versions. Otherwise, it seems to turn the release into a 'hobby' rather than the sophisticated Linux it has always been.

Mike
Mate 21.3 - MacBookPro2,1, MacBook2,1
Mate 21.3 - ThinkPad L430, ThinkPad T430, Dell N7110, iMac8.1, Toshiba A215
Mate 19.3 - (32-bit version) Old home-built P4 desktop.
Raspbian - Pi3 & Pi4.
All except P4 machine run cancer research 24/7.
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Wine install Mint 19 Mate

Post by Flemur »

Relative wrote: Mon Jul 16, 2018 6:19 amI am hoping that Mint will re-establish the simplicity of using "apt install wine" as it has for previous versions.
What happened when you did "[sudo] apt install wine" ?
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
TJMcK
Level 1
Level 1
Posts: 38
Joined: Tue Jan 28, 2014 1:52 am

Re: Wine install Mint 19 Mate

Post by TJMcK »

Flemur wrote: Mon Jul 16, 2018 10:32 am
Relative wrote: Mon Jul 16, 2018 6:19 amI am hoping that Mint will re-establish the simplicity of using "apt install wine" as it has for previous versions.
What happened when you did "[sudo] apt install wine" ?
I came across this thread when doing a google search for why wine wasn't installed with the basic "install wine" command. (I'm using LM19 that I installed a few days ago). I get the following when using the short version of install wine:

Code: Select all

sudo apt install wine
[sudo] password for tim: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package wine is a virtual package provided by:
  wine-stable 3.0-1ubuntu1
  wine-development 3.6-1
You should explicitly select one to install.

E: Package 'wine' has no installation candidate
Then, when when I cut and paste the package name from/to the terminal, I get:

Code: Select all

$ sudo apt install wine-stable 3.0-1ubuntu1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package 3.0-1ubuntu1
E: Couldn't find any package by glob '3.0-1ubuntu1'
E: Couldn't find any package by regex '3.0-1ubuntu1'
So then I looked up wine stable in synaptic and it brought up the package "wine-stable" and the current release is: 3.0-1ubuntu1
So I plugged in:

Code: Select all

sudo apt install wine-stable
And everything installed and is working as it should (I think).
Relative
Level 3
Level 3
Posts: 131
Joined: Fri Jul 30, 2010 9:43 pm
Location: Garden Grove, CA

Re: Wine install Mint 19 Mate

Post by Relative »

Previous sequence was one of the sequences I went through, but it didn't work - nothing showed up in the menu and couldn't come up with a command line entry that would start or config wine. Of course, like I said in the first post, laptop is thoroughly bollixed up and fresh install has been done. Awaiting solid answer so I am not wasting time again.

Just vaguely remembered - after completing the above I also was instructed to install mono and gecko and gecko again.

Also, just discovered that Brasero isn't installed - I thought this was a default also.

Mike
Mate 21.3 - MacBookPro2,1, MacBook2,1
Mate 21.3 - ThinkPad L430, ThinkPad T430, Dell N7110, iMac8.1, Toshiba A215
Mate 19.3 - (32-bit version) Old home-built P4 desktop.
Raspbian - Pi3 & Pi4.
All except P4 machine run cancer research 24/7.
truesarang

Re: Wine install Mint 19 Mate

Post by truesarang »

1. sudo dpkg --add-architecture i386

2. wget -nc https://dl.winehq.org/wine-builds/Release.key

3. sudo apt-key add Release.key

4. sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'

5. sudo apt-get update

6. if you want to get stable version: sudo apt-get install --install-recommends winehq-stable
if you want to get develpment version: sudo apt-get install --install-recommends winehq-devel
if you want to get staging version: sudo apt-get install --install-recommends winehq-staging


7. WineARCH=win32 WINEPREFIX=~/.wine wine wineboot (this will initiate environment for wine, if you want win64 change value win32 to win64)

if you somehow massed up you can always do sudo rm -rf ~/.wine and do above command again to initiate it.

8. sudo apt-get install winetricks (winetricks is useful when you need to install windows library,etc)

good luck!
Last edited by truesarang on Mon Jul 16, 2018 9:17 pm, edited 1 time in total.
User avatar
Mage of Maple
Level 2
Level 2
Posts: 70
Joined: Tue Jul 10, 2018 10:41 am
Location: Maryland USA
Contact:

Re: Wine install Mint 19 Mate

Post by Mage of Maple »

Nice instructions, truesarang. Thanks!
Relative
Level 3
Level 3
Posts: 131
Joined: Fri Jul 30, 2010 9:43 pm
Location: Garden Grove, CA

Re: Wine install Mint 19 Mate

Post by Relative »

trusarang: that sequence is one that I found but it just seemed to add to the mess I was in. Could be that one of these suggestions by itself (without any of the other suggestions) would do the trick. Let me and others know if any one of them works out for you and what you installed and got working under Wine.

Even went through the removal and purge as suggested somewhere.

Thanks,
Mike
Mate 21.3 - MacBookPro2,1, MacBook2,1
Mate 21.3 - ThinkPad L430, ThinkPad T430, Dell N7110, iMac8.1, Toshiba A215
Mate 19.3 - (32-bit version) Old home-built P4 desktop.
Raspbian - Pi3 & Pi4.
All except P4 machine run cancer research 24/7.
truesarang

Re: Wine install Mint 19 Mate

Post by truesarang »

if that didn't work, just go to synaptic package manager...(not sure mate has one....pretty sure they do..)

go search type wine

right click on everything related to wine and click on mark for complete removal.

then apply.... (that will erase all the things related to wine)

open terminal see if you have .wine and erase it by sudo rm -rf .wine

reboot...

and do all of that procedure posted before....

this will uninstall whatever you had previously....and reinstall new....
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: Wine install Mint 19 Mate

Post by trytip »

Just vaguely remembered - after completing the above I also was instructed to install mono and gecko and gecko again
don't install these two, hit cancel. @truesarang gave clear instructions to get things started. delete .wine and do what he posted
Image
truesarang

Re: Wine install Mint 19 Mate

Post by truesarang »

try to type wine --version

if it shows wine-version number wine is installed...

go to your download folder download one of the windows program for example myname.exe

right click on it, and select open with ...if it shows mono runtime, mono runtime (terminal), wine windows program loader you did install properly...

when install windows program you can do right click, open with wine windows program loader..

or if you need additional library you can do with winetricks by open terminal and type winetricks.

or you can install playonlinux
Relative
Level 3
Level 3
Posts: 131
Joined: Fri Jul 30, 2010 9:43 pm
Location: Garden Grove, CA

Re: Wine install Mint 19 Mate

Post by Relative »

Flemur wrote: Mon Jul 16, 2018 10:32 am
Relative wrote: Mon Jul 16, 2018 6:19 amI am hoping that Mint will re-establish the simplicity of using "apt install wine" as it has for previous versions.
What happened when you did "[sudo] apt install wine" ?
Exactly the same as trusarang indicated but with the additional requirements of installing mono and gecko twice.

My intent right now is to simply wait until a moderator indicates the normal installation process is re-established rather than attempt what I am calling a 'hobby' workaround - this should not be necessary.

Mike
Mate 21.3 - MacBookPro2,1, MacBook2,1
Mate 21.3 - ThinkPad L430, ThinkPad T430, Dell N7110, iMac8.1, Toshiba A215
Mate 19.3 - (32-bit version) Old home-built P4 desktop.
Raspbian - Pi3 & Pi4.
All except P4 machine run cancer research 24/7.
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Wine install Mint 19 Mate

Post by Flemur »

Relative wrote: Mon Jul 16, 2018 10:03 pm
Flemur wrote: Mon Jul 16, 2018 10:32 amWhat happened when you did "[sudo] apt install wine" ?
Exactly the same as trusarang indicated but with the additional requirements of installing mono and gecko twice.
Your answer is completely mysterious; for one, I don't see that trusarang ever entered that exact command in this thread.

TJMcK typed that command ("[sudo] apt install wine" ) and got everything to work, the "hobby work around" consisted of installing wine-stable instead of wine, as the "apt" command suggested:
viewtopic.php?f=47&t=273396#p1497164

I don't install mono or gecko, they're not a problem even though it occasionally suggests installing them; that settles down after you're done installing.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Relative
Level 3
Level 3
Posts: 131
Joined: Fri Jul 30, 2010 9:43 pm
Location: Garden Grove, CA

Re: Wine install Mint 19 Mate

Post by Relative »

Flemur wrote: Mon Jul 16, 2018 10:43 pm
Relative wrote: Mon Jul 16, 2018 10:03 pm
Flemur wrote: Mon Jul 16, 2018 10:32 amWhat happened when you did "[sudo] apt install wine" ?
Exactly the same as trusarang indicated but with the additional requirements of installing mono and gecko twice.
Your answer is completely mysterious; for one, I don't see that trusarang ever entered that exact command in this thread.

TJMcK typed that command ("[sudo] apt install wine" ) and got everything to work, the "hobby work around" consisted of installing wine-stable instead of wine, as the "apt" command suggested:
viewtopic.php?f=47&t=273396#p1497164

I don't install mono or gecko, they're not a problem even though it occasionally suggests installing them; that settles down after you're done installing.
You are correct. I misquoted the source - should have been "by TJMcK » Mon Jul 16, 2018 12:30 pm". Right now if you think it will work, I will try the wine-stable version without mono and gecko and get back with results...... Mike
Mate 21.3 - MacBookPro2,1, MacBook2,1
Mate 21.3 - ThinkPad L430, ThinkPad T430, Dell N7110, iMac8.1, Toshiba A215
Mate 19.3 - (32-bit version) Old home-built P4 desktop.
Raspbian - Pi3 & Pi4.
All except P4 machine run cancer research 24/7.
Relative
Level 3
Level 3
Posts: 131
Joined: Fri Jul 30, 2010 9:43 pm
Location: Garden Grove, CA

Re: Wine install Mint 19 Mate

Post by Relative »

mike@OnionDell:~$ sudo apt install wine
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package wine is a virtual package provided by:
wine-stable 3.0-1ubuntu1
wine-development 3.6-1
You should explicitly select one to install.

E: Package 'wine' has no installation candidate
mike@OnionDell:~$ sudo apt install wine-stable 3.0-1ubuntu1
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package 3.0-1ubuntu1
E: Couldn't find any package by glob '3.0-1ubuntu1'
E: Couldn't find any package by regex '3.0-1ubuntu1'
mike@OnionDell:



Did not seem right, thought I typo'd the package name then I realized that space after 'wine-stable' probably told me to just use that part of the name.


mike@OnionDell:~$ sudo apt install wine-stable
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libwine ocl-icd-libopencl1 wine64
Suggested packages:
ttf-mscorefonts-installer opencl-icd winbind winetricks playonlinux wine-binfmt dosbox libwine-gecko-2.47 wine64-preloader
Recommended packages:
libcapi20-3 libodbc1 libosmesa6 fonts-wine wine32
The following NEW packages will be installed:
libwine ocl-icd-libopencl1 wine-stable wine64
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 20.5 MB of archives.
After this operation, 193 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 ocl-icd-libopencl1 amd64 2.2.11-1ubuntu1 [30.3 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic/universe amd64 libwine amd64 3.0-1ubuntu1 [20.2 MB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/universe amd64 wine64 amd64 3.0-1ubuntu1 [201 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic/universe amd64 wine-stable all 3.0-1ubuntu1 [51.4 kB]
Fetched 20.5 MB in 4s (4,681 kB/s)
Selecting previously unselected package ocl-icd-libopencl1:amd64.
(Reading database ... 306014 files and directories currently installed.)
Preparing to unpack .../ocl-icd-libopencl1_2.2.11-1ubuntu1_amd64.deb ...
Unpacking ocl-icd-libopencl1:amd64 (2.2.11-1ubuntu1) ...
Selecting previously unselected package libwine:amd64.
Preparing to unpack .../libwine_3.0-1ubuntu1_amd64.deb ...
Unpacking libwine:amd64 (3.0-1ubuntu1) ...
Selecting previously unselected package wine64.
Preparing to unpack .../wine64_3.0-1ubuntu1_amd64.deb ...
Unpacking wine64 (3.0-1ubuntu1) ...
Selecting previously unselected package wine-stable.
Preparing to unpack .../wine-stable_3.0-1ubuntu1_all.deb ...
Unpacking wine-stable (3.0-1ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for doc-base (0.10.8) ...
Processing 1 added doc-base file...
Registering documents with scrollkeeper...
Processing triggers for man-db (2.8.3-2) ...
Setting up ocl-icd-libopencl1:amd64 (2.2.11-1ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Setting up libwine:amd64 (3.0-1ubuntu1) ...
Setting up wine64 (3.0-1ubuntu1) ...
Setting up wine-stable (3.0-1ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for wine-stable (3.0-1ubuntu1) ...
mike@OnionDell:~$

Looks like it worked, but nothing in the Menu......Reboot.....still nothing in the Menu. Checked for a .wine directory - did not exist. Decided to try a setup.exe file and absolutely nothing happened.
Note that there are 'suggested packages' and 'recommended packages' in the install sequence. Do I need to plug those in?


?????

Mike
Mate 21.3 - MacBookPro2,1, MacBook2,1
Mate 21.3 - ThinkPad L430, ThinkPad T430, Dell N7110, iMac8.1, Toshiba A215
Mate 19.3 - (32-bit version) Old home-built P4 desktop.
Raspbian - Pi3 & Pi4.
All except P4 machine run cancer research 24/7.
truesarang

Re: Wine install Mint 19 Mate

Post by truesarang »

It's already posted on top type this in terminal

WineARCH=win32 WINEPREFIX=~/.wine wine wineboot

wine will load up and will create .wine

about the not showing in the menu, do you mean it doesn't show wine inside of menu applet, if you installed some window applications it will show wine category and inside you will able to view your installed program.

this will be probably my last post in the thread...

Have a good one :)

and yes you do need suggested package and recommended package.
rbeltz48
Level 4
Level 4
Posts: 319
Joined: Mon Jan 16, 2012 3:08 pm
Location: Florida, USA

Re: Wine install Mint 19 Mate

Post by rbeltz48 »

What a convoluted mess this thread has become. Why was LM 19 even released before an updated version of Wine was added to the appropriate repository? Installing Wine should be as simple as going to Synaptic and selecting Wine from the list as we have done in the past. Many people using Mint also have Windows installed and having a working install of Wine is a MUST. Just like one commentator stated above, getting Mint to work properly has now become a hobby or test project. Whatever happened to the Mint that "works out of the box"? It seems that since Mint 17 (or even earlier), each new release has had more and more problems. They haven't even fixed all the bugs in Mint 18. My suggestion? Get off the Ubuntu code base and create your own code base by becoming an independent distro.
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: Wine install Mint 19 Mate

Post by trytip »

it has become a mess. last night decided to uninstall wine in mint19 cinmon and test new versions. well that's when all hell broke loose. seems that synaptic and the winehq ppa are fighting and after installations using synaptic nothing worked. using winecfg i would get no command found, wine apps did not open when clicked on. renaming my .wine and starting fresh still produced no command found. there are so many version of wine at one point winetricks would not want to install unless it pulled a new version of wine dev on top of the the 64/32 version i already had installed.

so finally again i uninstalled all wine and libwine and since i installed the winehq ppa i had to use their format. installing wine through synaptic whatever version i chose produced "no command found"

only thing that worked was sudo apt-get install --install-recommends winehq-stable i didn't bother to remove ppa and try with repo versions at this point i was just glad i got my wine back . following instructions from https://wiki.winehq.org/Ubuntu was the only thing that worked, but had to use the command provided by them explicitly otherwise nothing worked.

still have no clue how to install wine-mono 4.7.1 or even if is possible. at this point i don't even know what to recommend people.
Image
Locked

Return to “Software & Applications”