Installing Wine in Mint 19.3 (Solved).

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.
Locked
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Installing Wine in Mint 19.3 (Solved).

Post by Wompoo »

I have followed these instructions to install Wine: https://wiki.winehq.org/Ubuntu

However, it did not work.
Can someone point out what I have done wrong please?

Jim.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
motoryzen
Level 10
Level 10
Posts: 3474
Joined: Sun Dec 08, 2019 12:25 am

Re: Installing Wine in Mint 19.3

Post by motoryzen »

Well first. Step 5 in " how to get help' link would be stellar where it says " before you post please read" surrounded by a pink background with pink letter font before that link. We have no idea what you're running "under the hood" of that PC you're dealing with

run inxi -Fxxxrz from terminal window. copy the results of that command. Come back here, left click on that </> button hit that space bar twice to give yourself some pasting..room( fifth from the left above the white message window), past the results of that command between the (quote) (quote)

It makes it much easier for us to read that info without it taking up massive room on this webpage and helps often to narrow down the problem and save on speculation.

So when you get ready to launch any microsoft windows native program that would normally require WINE to work, when you right click on that .exe file...do you see the open to open with " Wine Windows Program Loader" ? Or not?

If not...my first guess would actually be either you did something wrong in following those winehq.org's instructions for your LM 19.3 installation. Beyond that, I and probably others here need more details. I've never had a problem getting wine to run regardless of the Linux Mint version for the past around 11 years from winehq.org's instructions per the version of Mint I was dealing with.

Let's double check some things together.
You're on mint 19.3 so it would end up making sense to choose the part for Ubuntu Bionic aka 18.04 based option: terminal commands would be .....
1. sudo dpkg --add-architecture i386
2. wget -nc https://dl.winehq.org/wine-builds/winehq.key
3. sudo mv winehq.key /usr/share/keyrings/winehq-archive.key
4. wget -nc https://dl.winehq.org/wine-builds/ubunt ... ic.sources
5. sudo mv winehq-bionic.sources /etc/apt/sources.list.d/
6. sudo apt update
7. sudo apt install --install-recommends winehq-stable ( for stable) and/or sudo apt install --install-recommends winehq-staging -y
(((( the -y part just is the same as pressing enter when prompted " are you sure you want to install this?" deal done automatically ))))

I've had a problem only one time following these steps to get the option to launch a .exe with " Windows Wine Program Loader" and it was something I accidentally goofed on majority and had to reinstall LM. Otherwise, I've always been able to get Wine up and going this way. Tried Software Manager in any of the LM versions, it's never worked right or at all for me. (shrugs)
Mint 21.2 Cinnamon 5.8.4
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Re: Installing Wine in Mint 19.3

Post by Wompoo »

motoryzen wrote: Sat May 21, 2022 10:28 pm Well first. Step 5 in " how to get help' link would be stellar where it says " before you post please read" surrounded by a pink background with pink letter font before that link. We have no idea what you're running "under the hood" of that PC you're dealing with..............
Motoryzen,
Thanks for the reply.
Ok, I now consider myself to be suitably rebuked!.........(So it seems!).
Not unusual for me............apologies for my ignorance.

I will take some time to read the above and your instructions below before answering further in order to avoid making a similar mistake again.
More from me after that.............
run inxi -Fxxxrz from terminal window. .............................etc.
Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Abandoning this thread.

Post by Wompoo »

I am marking this thread as abandoned.
The main reason is that I am seriously out of my depth here.
Thanks again for the reply.

Jim.
Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
User avatar
karlchen
Level 23
Level 23
Posts: 18212
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Installing Wine in Mint 19.3 (Abandoned).

Post by karlchen »

Hello, Wompoo.
Wompoo wrote: Sat May 21, 2022 9:41 pmI have followed these instructions to install Wine: https://wiki.winehq.org/Ubuntu
However, it did not work. Can someone point out what I have done wrong please? Jim.
Why did you not follow the instruction given in the Linux Mint 19.3 release notes, using wine-installer, instead?
Wine 4.0 wrote:To install the stable version of WINE from WineHQ, open a terminal and type:

Code: Select all

apt install --install-recommends wine-installer
Among other things, this will install wine-desktop-files, which adds menu entries for regedit, your C:\ drive and other items which are missing from upstream WINE.
Admittedly, wine-installer will give you an older Wine version than the one downloaded from WineHQ.
The relevant question is whether the Windows software, which you want to run under Wine, will require the newer Wine version or not.

In case you decide to give wine-installer a try now, after having tried WineHQ already, in this case you will have to uninstall any installed Wine packages beforehand and you will have to disable the WineHQ repository from your software sources beforehand. Only afterwards, you can install and use wine-installer.

Regards,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 771 days now.
Lifeline
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Re: Installing Wine in Mint 19.3 (Abandoned).

Post by Wompoo »

Karl,
karlchen wrote: Sun May 22, 2022 6:30 am ....................................
Why did you not follow the instruction given in the Linux Mint 19.3 release notes, using wine-installer, instead?............
Only for all the (apparently) wrong reasons, including:

Reason #1:
Ignorance

Reason #2"
I did a search and the WineHQ site came up first.

Why should I have looked further? I certainly did not know, due to reason #1.
In hindsight, I would have done better to search this site.
Oohh, the wisdom of hindsight!
karlchen wrote: Sun May 22, 2022 6:30 am................ in this case you will have to uninstall any installed Wine packages beforehand and you will have to disable the WineHQ repository from your software sources beforehand. Only afterwards, you can install and use wine-installer............
I will do a search and see if I can find out how to do this, but first by observing the advice offered above by motoryzen.
Give me a day or two to see if I can find out how to do that.

Thanks for the reply, even after I had abandoned this.

Edit: The only reason that I want to install Wine, is to download a purchased online eBook that requires Windows to do so.
Maybe I should resort to a virtual machine?

Jim.
Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
pbear
Level 16
Level 16
Posts: 6569
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Installing Wine in Mint 19.3 (Abandoned).

Post by pbear »

FWIW, I don't think anyone should be expected to check the release notes every time they install software, on the off chance there might be a useful tidbit. On the bright side, this is fixable.

And, no, I don't think a VM would be better or easier. Entails a really big learning curve. The objective raises an important question, though. What Windows app do you want to run in Wine? Have you checked whether it works?
mikeflan
Level 17
Level 17
Posts: 7114
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: Installing Wine in Mint 19.3 (Abandoned).

Post by mikeflan »

If you have abandoned wine you might want to try Play-on-Linux. No need to uninstall whatever wine you have now - just install Play-on-Linux from the Software Manager. Come back with another post if you need help running Play-on-Linux.
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Re: Installing Wine in Mint 19.3

Post by Wompoo »

motoryzen wrote: Sat May 21, 2022 10:28 pm ...............................
run inxi -Fxxxrz from terminal window. ............................
This is the terminal result:

Code: Select all

jim@jim-LinuxMint-ASUS:~$ inxi -Fxxxrz
System:
  Host: jim-LinuxMint-ASUS Kernel: 5.4.0-110-generic x86_64 bits: 64 
  compiler: gcc v: 7.5.0 Desktop: MATE 1.22.2 info: mate-panel 
  wm: marco 1.22.3 dm: LightDM 1.26.0 Distro: Linux Mint 19.3 Tricia 
  base: Ubuntu 18.04 bionic 
Machine:
  Type: Desktop Mobo: ASUSTeK model: P5G41T-M LX v: Rev X.0x 
  serial: <filter> BIOS: American Megatrends v: 1101 date: 06/08/2012 
CPU:
  Topology: Dual Core model: Intel Core2 Duo E7500 bits: 64 type: MCP 
  arch: Penryn rev: A L2 cache: 3072 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 11731 
  Speed: 1600 MHz min/max: 1603/2936 MHz Core speeds (MHz): 1: 1600 2: 1600 
Graphics:
  Device-1: Intel 4 Series Integrated Graphics vendor: ASUSTeK driver: i915 
  v: kernel bus ID: 00:02.0 chip ID: 8086:2e32 
  Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: fbdev,vesa 
  compositor: marco v: 1.22.3 resolution: 1920x1080~60Hz 
  OpenGL: renderer: Mesa DRI Intel G41 (ELK) v: 2.1 Mesa 20.0.8 
  direct render: Yes 
Audio:
  Device-1: Intel NM10/ICH7 Family High Definition Audio vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:27d8 
  Device-2: Logitech Webcam C600 type: USB driver: snd-usb-audio,uvcvideo 
  bus ID: 1-1:2 chip ID: 046d:0808 serial: <filter> 
  Sound Server: ALSA v: k5.4.0-110-generic 
Network:
  Device-1: Qualcomm Atheros AR8131 Gigabit Ethernet vendor: ASUSTeK 
  driver: atl1c v: 1.0.1.1-NAPI port: ec00 bus ID: 01:00.0 
  chip ID: 1969:1063 
  IF: enp1s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 525.39 GiB used: 231.73 GiB (44.1%) 
  ID-1: /dev/sda vendor: Crucial model: CT500MX500SSD1 size: 465.76 GiB 
  speed: <unknown> serial: <filter> rev: 010 scheme: MBR 
  ID-2: /dev/sdb type: USB vendor: Lexar model: USB Flash Drive 
  size: 59.62 GiB serial: <filter> rev: 1100 scheme: MBR 
Partition:
  ID-1: / size: 457.45 GiB used: 182.48 GiB (39.9%) fs: ext4 dev: /dev/sda1 
Sensors:
  System Temperatures: cpu: 34.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list 
  1: deb https://dl.winehq.org/wine-builds/ubuntu/ focal main
  Active apt repos in: /etc/apt/sources.list.d/google-earth-pro.list 
  1: deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/kicad-kicad-6_0-releases-bionic.list 
  1: deb http://ppa.launchpad.net/kicad/kicad-6.0-releases/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/linuxuprising-java-bionic.list 
  1: deb http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://mirror.internode.on.net/pub/linuxmint-packages tricia main upstream import backport
  2: deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ bionic partner
  Active apt repos in: /etc/apt/sources.list.d/signal-xenial.list 
  1: deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main
  Active apt repos in: /etc/apt/sources.list.d/skype-stable.list 
  1: deb [arch=amd64] https://repo.skype.com/deb stable main
  Active apt repos in: /etc/apt/sources.list.d/teamviewer.list 
  1: deb https://linux.teamviewer.com/deb stable main
  Active apt repos in: /etc/apt/sources.list.d/vivaldi.list 
  1: deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/webupd8team-y-ppa-manager-bionic.list 
  1: deb http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/winehq-bionic.sources 
  1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu bionic main
  Active apt repos in: /etc/apt/sources.list.d/winehq-jammy.sources 
  1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/ubuntu jammy main
Info:
  Processes: 198 Uptime: 1h 16m Memory: 7.74 GiB used: 2.73 GiB (35.3%) 
  Init: systemd v: 237 runlevel: 5 Compilers: gcc: 7.5.0 alt: 7 Shell: bash 
  v: 4.4.20 running in: mate-terminal inxi: 3.0.32 
jim@jim-LinuxMint-ASUS:~$ 
I am working on the second question. More when I get that worked out.
Thanks.
Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Success!

Post by Wompoo »

For reasons that I am unable to explain, Wine is installed on my system, and I do have the eBook file I wanted to read downloaded.
I will try and work out what I did and when I did it to achieve this later.

I have a suspicion that I had it installed and available right from the beginning, but did not know it!

For the time being.........my apologies to all respondents for the assistance.

Jim.
Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
motoryzen
Level 10
Level 10
Posts: 3474
Joined: Sun Dec 08, 2019 12:25 am

Re: Installing Wine in Mint 19.3 (Solved).

Post by motoryzen »

I have a suspicion that I had it installed and available right from the beginning, but did not know it!
That is PRECISELY what happened to me years ago xD Ah..the internet brain farts we have as humans. Keep your sense of humor flexible and good. :D
Mint 21.2 Cinnamon 5.8.4
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
pbear
Level 16
Level 16
Posts: 6569
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Success!

Post by pbear »

Wompoo wrote: Mon May 23, 2022 9:38 pm ... Wine is installed on my system, and I do have the eBook file I wanted to read downloaded.
Congratulations. Perhaps you've done this already, but be aware there's a second step, where you configure Wine. You should now have a Wine folder on Menu. The config app will be listed there.

Out of curiosity, which version of Wine did you end up with? In Terminal, wine --version will tell us.
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Re: Installing Wine in Mint 19.3 (Solved).

Post by Wompoo »

motoryzen wrote: Mon May 23, 2022 9:59 pm .......................
That is PRECISELY what happened to me years ago xD Ah..the internet brain farts we have as humans. Keep your sense of humor flexible and good. :D
Thanks for coming back to me about this motor zen.
As for humour...........I had lost mine for a while there.........but, all good now!

Jim.

Congratulations. Perhaps you've done this already, but be aware there's a second step, where you configure Wine. You should now have a Wine folder on Menu. The config app will be listed there...............
I cannot find that now, but somehow I have configured Wine because it is working now. Cannot explain further...........sorry!....???
Edit:
I have found a wine glass symbol with the words "home page" beside it in the Menu. Is that what I should be looking for?
Out of curiosity, which version of Wine did you end up with? In Terminal, wine --version will tell u...........
Wine version 4.0

Thanks for the reply,

Jim.
Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
pbear
Level 16
Level 16
Posts: 6569
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Installing Wine in Mint 19.3 (Solved).

Post by pbear »

As I recall, Wine not on Menu means you installed from Software Manager, probably wine-stable. Which is to say, as I recall, Wine not on Menu was one of the problems the wine-installer package was designed to solve.

If you don't mind, I'd be curious to see the output of apt list --installed wine*. Should be only 4 or 5 lines.
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Re: Installing Wine in Mint 19.3 (Solved).

Post by Wompoo »

pbear wrote: Tue May 24, 2022 12:57 am As I recall, Wine not on Menu means you installed from Software Manager, probably wine-stable. Which is to say, as I recall, Wine not on Menu was one of the problems the wine-installer package was designed to solve................
Negative.
I installed it by following the instructions on WineHQ.
If you don't mind, I'd be curious to see the output of apt list --installed wine*. Should be only 4 or 5 lines.

Code: Select all

jim@jim-LinuxMint-ASUS:~$ apt list --installed wine*
Listing... Done
jim@jim-LinuxMint-ASUS:~$ 

Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
pbear
Level 16
Level 16
Posts: 6569
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Installing Wine in Mint 19.3 (Solved).

Post by pbear »

FWIW, my hypothesis is that you installed it a couple years ago (and don't remember), which would cause your recent attempt at installing per the WineHQ instructions to fail. Conversely, had your recent attempt succeeded, you would have v.7.

Anyhoo, my latest questions were out of curiosity. If your problem has been solved, we can let this go.
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Re: Installing Wine in Mint 19.3 (Solved).

Post by Wompoo »

pbear wrote: Tue May 24, 2022 3:16 am FWIW, my hypothesis is that you installed it a couple years ago (and don't remember), which would cause your recent attempt at installing per the WineHQ instructions to fail. Conversely, had your recent attempt succeeded, you would have v.7.

Anyhoo, my latest questions were out of curiosity. If your problem has been solved, we can let this go.
Ok.............if you say so!
Thanks again.

Jim.
Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
pbear
Level 16
Level 16
Posts: 6569
Joined: Wed Jun 21, 2017 12:25 pm
Location: San Francisco

Re: Installing Wine in Mint 19.3 (Solved).

Post by pbear »

For comparison, here's what I get after installing per the WineHQ instructions:

Code: Select all

pbear@vbox-mate-19-3:~$ apt list --installed wine*
Listing... Done
wine-stable/bionic,now 7.0.0.0~bionic-1 amd64 [installed,automatic]
wine-stable-amd64/bionic,now 7.0.0.0~bionic-1 amd64 [installed,automatic]
wine-stable-i386/bionic,now 7.0.0.0~bionic-1 i386 [installed,automatic]
winehq-stable/bionic,now 7.0.0.0~bionic-1 amd64 [installed]
Anyhoo, as I said, if your problem has been solved, we can let this go.
Locked

Return to “Software & Applications”