how to install window exe program on ubuntu

the source page is from:http://us.battle.net/heroes/en/forum/topic/15700256549

1. install playonlinux

wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
sudo wget http://deb.playonlinux.com/playonlinux_precise.list -O /etc/apt/sources.list.d/playonlinux.list
sudo apt-get update
sudo apt-get install playonlinux

2.create a virtual drive in playonlinux

The first thing to do with PlayOnLinux is install a version of WINE (this may be prompted for by default, I'm unsure).


Installing WINE:
In order to do this, click Tools > Manage Wine Versions. It will bring up a window with a box labeled Available Wine Versions on the left, and Installed Wine Versions on the right, as well as tabs for x86 (32 bit) and amd64 (64 bit). In the middle are arrows pointing between the boxes.
Select a current WINE version (I've tested the amd64 1.7.34 version at time of writing). Click the arrow pointing towards the installed versions box.
A window will pop up prompting you to hit next and a download will appear. Once this completes, that version of WINE will be installed. When submitting bug reports, it is useful to include what version of WINE you are running.


Creating the virtual drive:
Now that WINE is installed, you can close back to the main PlayOnLinux window. From there, click the gear icon marked 'configure'.
This will bring up a window with a sidebar containing all the virtual drives you have configured. On that sidebar, click 'New'
This will prompt you to choose 32 bit or 64 bit, pick whichever you have an installed version for. 
After that, it will ask you for the specific version of WINE to use. Again pick the version you have installed, the more current the better. The next prompt asks you to enter a name for the virtual drive.
After that, it will take a few moments to go through the initial setup, and then drop you back at the configuration window.


Installing the Battle.net Client:
Select the virtual drive you just created (it may erroneously say 32 bit when creating a 64 bit drive, this is ok. Closing and reopening the window will rectify it, but it does not harm the rest of the installation guide to leave it as is).
Selecting it in the sidebar will bring up several tabs. Select the 'Miscellaneous' tab.
Click 'Run a .exe in the virtual drive', navigate to the battle.net installer you downloaded and select it.
Follow the installer prompts to install the Battle.net launcher


(Optional) Create a shortcut on the desktop:
From the configuration window, go to the General tab. 
Click the button labeled "Make a new shortcut from this virtual drive".
Several items will come up, some of them are the internals of the Battle.net Client. The correct one to choose is the "Battle.net Launcher" as it will run through the full launcher scripts and initialize it properly.




here is one more thing I want to say: on my own experience,  choose 32bit version wine, 64bit one is not suited for my ubuntu14.04. And this is not only for battlenet, you can try any windows exe programs else. it might work. good luck!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值