how to install window exe program on ubuntu

来源:互联网 发布:广告宣传单设计软件 编辑:程序博客网 时间:2024/06/05 14:44

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.listsudo apt-get updatesudo 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
原创粉丝点击
热门问题 老师的惩罚 人脸识别 我在镇武司摸鱼那些年 重生之率土为王 我在大康的咸鱼生活 盘龙之生命进化 天生仙种 凡人之先天五行 春回大明朝 姑娘不必设防,我是瞎子 油画棒染衣服怎么办 风油精泼白墙上怎么办 壁纸涂上油画棒怎么办 心里不能装事怎么办 做事做不快心急怎么办 焦虑症不想上班怎么办 总是忘事应该怎么办 vary渲染太黑怎么办 su一直未响应怎么办 草图大师版本低打不开怎么办 重要纸上滴上油了怎么办 水拓画颜料滴太多怎么办 微信语音撤不回怎么办 kido手表关机了怎么办 玩具店不想开了怎么办 幼儿不拉粑粑怎么办 幼儿拉绿色粑粑怎么办 幼儿拉青粑粑怎么办 小孩龋齿牙疼怎么办 宝宝刷牙不张嘴怎么办 宝宝爱吃棒棒糖怎么办 孩子不刷牙洗脸怎么办 宝宝害怕拉大便怎么办 狗狗不喜欢刷牙怎么办 10小孩不刷牙怎么办 孩子做事磨叽怎么办 一岁半宝宝不愿意刷牙怎么办 两岁半宝宝不愿意刷牙怎么办 小孩牙齿长蛀牙怎么办 2周岁宝宝龋齿怎么办 小孩刷牙吞牙膏怎么办 孩子12不肯刷牙怎么办 小孩牙齿空了怎么办 孩子掉了牙不长怎么办 小朋友不敢看牙医怎么办 小孩不喜欢洗脸刷牙怎么办 宝宝洗澡老是哭怎么办 孩子越来越怕打针怎么办 16孩子不爱洗澡怎么办 死手系统出问题怎么办 死手系统地震怎么办