分页: 1 / 1

[讨论]ubuntu中的wine仿真器超级使用[使用真正的MS软件包括QQ]

发表于 : 2007-06-18 3:47
JorenWu
本人昨天从FC转到Ubuntu下,发现wine在ubuntu中使用方便,于是在网络上搜寻了很多的资料,经过实践,现整理如下,申请加精!!! :D
先申明一下我对ubuntu的各种版本我不了解,本人用的是alternater版本的硬盘安装法安装的ubuntu系统,废话不多说,看如何完美实现wine的超级仿真:

wine的安装与使用
=============
1、首先将你的/usr/share/X11/locale/zh_CN.UTF-8/XLC_LOCALE中的所有关于GBK的字段都注释掉,这是为了降低WINE对繁体字的检测消耗

2、然后为你的系统开启更多的 locale 支持:
++++++++++++++++++++++++++++++++++++++++++++++++++++
将你的/var/lib/locales/supported.d/zh中添加如下两个字段:
zh_CN.GB2312 GB2312
zh_CN.GB18030 GB18030
然后运行如下命令:
sudo locale-gen
++++++++++++++++++++++++++++++++++++++++++++++++++++

3、然后根据如下步骤安装IE6.0:
++++++++++++++++++++++++++++++++++++++++++++++++++++
You have to enable universe packages first. It is also recommended that you use the official winehq ubuntu package:

1) Open a terminal

2) Open /etc/apt/sources.list

sudo gedit /etc/apt/sources.list

3) Uncomment (or add) following lines:

deb http://us.archive.ubuntu.com/ubuntu edgy universe

4) Add this line:

deb http://wine.budgetdedicated.com/apt edgy main

5) Close gedit. Update and install wine and cabextract:

wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
sudo apt-get update
sudo apt-get install wine cabextract

6) Download IEs 4 Linux and install

wget http://www.tatanka.com.br/ies4linux/dow ... est.tar.gz
tar zxvf ies4linux-latest.tar.gz
cd ies4linux-*
./ies4linux

Note for Dapper users: if you use ubuntu dapper, replace edgy with dapper on lines above.

此时你的IE6.0浏览器可以完美使用了。具体的使用方法可以看你安装完后的提示即可,但是建议在安装步骤的第5步后再运行
++++++++++++++++++++++++++++++++++++++++++++++++++++

4、为你的ies4linux设置路径
将你的/etc/profile中添加:export WINEPREFIX=$YourInstallationDir_for_ies4linux/.ies4linux/ie6
重启你的机器即可

5、为你的WINE仿真某个MS Windows系统
用 winecfg工具(直接在终端敲入即可)把 windows 的版本改为 xp,声音驱动设置为 alsa

6、为你的WINE添砖加瓦,增加一些动态库:
从 windows xp 中system32文件夹中复制 riched*.* mfc42*.dll 到 $YourInstallationDir_for_ies4linux/.ies4linux/ie6/drive_c/windows/system32 下

7、为你的WINE添加优美的字体
从windows xp中的一些中英文字体拷贝到$YourInstallationDir_for_ies4linux/.ies4linux/ie6/drive_c/windows/fonts/,最好把这个fonts软连接到你的/usr/share/fonts/中的某个字体文件夹即可,我这儿用的/usr/share/fonts/ms_windows文件夹来存储所有来自windows xp的字体

8、安装你的qq
我采用的是qq2006官方版,具体的安装命令是wine qq2006standard.exe

9、运行你的qq
具体的做法是在Gnome桌面上建立一个启动器,具体运行命令是env WINEPREFIX="$YourInstallationDir_for_ies4linux/.ies4linux/ie6" wine "C:\\Program Files\\Tencent\\QQ\\QQ.exe"

Enjoy! Good Luck!

发表于 : 2007-06-18 12:41
wth123456
好文章,照着试试。

发表于 : 2007-06-18 12:51
arobot
好文,先标记一下。

上次我装wine,没成,这下应该没问题了。