Wine on OSX (installed via .pkg file)

Questions about Wine on macOS.
Locked
mrjayviper
Level 1
Level 1
Posts: 7
Joined: Tue May 08, 2018 10:52 am

Wine on OSX (installed via .pkg file)

Post by mrjayviper »

TLDR: How can I run wine on a normal Terminal window?

----------------

So I installed wine via the package file. I needed an old version (2.0.x) so I can installed an app. On Wine3-stable (brew only supplies 3.x versions), I cannot install this app.

Anyway, after installation I got a new app in my Applications. If I run it, it seems just like another terminal window. But the difference is that I can actually run wine from it. If I open a normal Terminal window, I am unable to run wine.

Thanks a lot!
Gcenx
Level 6
Level 6
Posts: 709
Joined: Mon Dec 25, 2017 12:11 pm

Re: Wine on OSX (installed via .pkg file)

Post by Gcenx »

mrjayviper wrote:TLDR: How can I run wine on a normal Terminal window?

----------------

So I installed wine via the package file. I needed an old version (2.0.x) so I can installed an app. On Wine3-stable (brew only supplies 3.x versions), I cannot install this app.

Anyway, after installation I got a new app in my Applications. If I run it, it seems just like another terminal window. But the difference is that I can actually run wine from it. If I open a normal Terminal window, I am unable to run wine.

Thanks a lot!
That's because the wine.app when launches configures the location of Wine application, the Wine application is inside the Wine.app its just a bundle that includes the files that brew would install/symlink to /usr/local/bin
DoMassiot
Newbie
Newbie
Posts: 4
Joined: Thu May 31, 2018 6:44 am

Re: Wine on OSX (installed via .pkg file)

Post by DoMassiot »

I have the same question as mrjayviper - but the answer does not explain how to launch a application from a standard terminal window ?

Could you explain ? or give example ?

Thank you in advance
DoMassiot
Newbie
Newbie
Posts: 4
Joined: Thu May 31, 2018 6:44 am

Re: Wine on OSX (installed via .pkg file)

Post by DoMassiot »

I solve the pb with a script modifying the path before calling wine :

export PATH=/Applications/Wine\ Stable.app/Contents/Resources/start/bin:/Applications/Wine\ Stable.app/Contents/Resources/wine/bin:$PATH:/Applications/Wine\ Stable.app/Contents/MacOS/
wine /Applications/xxx parameters
Locked