Installing Windows applications on Mac OS X Lion using wine

What is Wine?

Wine let you run Windows software  on Unix-like operating systems, Mac OS is one of them. With wine, you can install and run these applications just like you would in Windows.

1. Install Apple Xcode

Open App Store, search and install Xcode.

2. Install the Java runtime (JRE)

Use the following instructions: http://kb2.adobe.com/cps/909/cpsid_90908.html#main_Solution_2_

3. Get the latest version of XQuartz

XQuartz are the supporting libraries and applications that forms the X11 that Apple has shipped with OS X since version 10.5.

Get the latest release from here: http://xquartz.macosforge.org/

Open .dmg, doble click to xQuartz.pkg and follow the instructions.

4. Get the wonderful MacPorts package manager

MacPorts will let you install open source programs  in Mac OS without suffering: http://www.macports.org/install.php, choose Lion Disk Image (dmg), open and install pkg.

You´ll need to do some configurations:

Open Terminal (Applications > Utilities > Terminal) and type the following line by line

1
echo export PATH=/opt/local/bin:/opt/local/sbin:\$PATH$'\n'export MANPATH=/opt/local/man:\$MANPATH | sudo tee -a /etc/profile
echo export PATH=/opt/local/bin:/opt/local/sbin:\$PATH$'\n'export MANPATH=/opt/local/man:\$MANPATH | sudo tee -a /etc/profile
1
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
1
export MANPATH=/opt/local/man:$MANPATH
export MANPATH=/opt/local/man:$MANPATH
1
if [ `sysctl -n hw.cpu64bit_capable` -eq 1 ] ; then echo "+universal" | sudo tee -a /opt/local/etc/macports/variants.conf; else echo "not 64bit capable"; fi
if [ `sysctl -n hw.cpu64bit_capable` -eq 1 ] ; then echo "+universal" | sudo tee -a /opt/local/etc/macports/variants.conf; else echo "not 64bit capable"; fi

5. Finally install wine using MacPorts

Open Terminal (Applications > Utilities > Terminal) and type

1
sudo port install wine
sudo port install wine

You will be asked for your administration password.
The process could take a few minutes, please be patient.

6. Install a windows application

In terminal type

1
wine install setup.exe
wine install setup.exe

you should point to your applications installer path.

7. Run

1
2
cd $HOME/.wine
wine app.exe
cd $HOME/.wine
wine app.exe

Hope it be helpful for you.

Tags: ,

3 comments

  1. What about the GUI Version of Wine?

  2. I’m having a tiny problem I can’t seem to be able to subscribe your feed, I’m using google reader by the way.

Leave a comment