ubuntu/linux安装wine ie4linux
16 三, 2010最近一直在ubuntu上.
昨天趁着有时间赶紧把vps配置好了lnmp.
因为经常帮朋友在淘宝上买东西,每次从起进windows下支付宝付款很麻烦.所以就想以后在ubuntu下付款.现在总算安装配置好了,但是非常的后悔.ie4linux真的叫我卡的不行了.
记录一下安装配置过程,用不了,大家自己看吧.还有,谁告诉我怎么彻底的清楚这些东西,例如wine,ie4linux.彻底的彻底的清除.
1.安装wine
虽然很多人不推荐这么安装,但是我还是图简单了。
sudo apt-get install wine
2.配置 winecfg
1、运行 wine 配置程序 ,不要用 sudo 或者 root 权限
winecfg
这样会建立 wine 的运行文件夹 /home/user/.wine .里面有wine的注册表文件和虚拟的C盘;
稍等片刻,就会出现一个面板,这就是 wine 的一些基本的配置。
2、 Drives 标签,配置硬盘和光驱
Autodect 按钮可以自动检测,也打开 Show Advanced 手动配置,
C: /home/用户名/.wine/drive_c Local hard disk
D: /home/用户名 Local hard disk
E: /media/cdrom0 CDROM
其他分区根据需要配置
3、Audio 标签,配置声卡
这个面板会失去反映一段时间,之后出现一个声音驱动程序的选择框,一般情况下选择OSS。如果你是独立的声卡,选择ALSA更好。如果只有 OSS,就选择 OSS。
4、 Application Settings 标签,配置 Windows 版本
下面的 windows 版本把默认的改成 Windows XP ,实际中可以变更 为 Windows 2000 或 其他版本以使用 wine 的效率更高。
5、部分 DLL 设置
在真实的 windows 系统中从 C:\WINDOWS\systenm32 里复制 mfc42.dll,msvcp60.dll, riched20.dll,riched32.dll 这几个文件到 /home/用户名/.wine/drive_c/windows/system32 文件里,需要覆盖时确定。其他dll文件不要随便覆盖,要做备份。
二、字体设置
1、从 Windows 目录下的 Fonts 里的 simsun.ttc 复制到 /home/user/.wine/drive_c/windows/fonts 里面。
把下面的代码保存为 zh.reg ,然后终端执行 regedit zh.reg 。
代码:
REGEDIT4 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes] "Arial"="simsun" "Arial CE,238"="simsun" "Arial CYR,204"="simsun" "Arial Greek,161"="simsun" "Arial TUR,162"="simsun" "Courier New"="simsun" "Courier New CE,238"="simsun" "Courier New CYR,204"="simsun" "Courier New Greek,161"="simsun" "Courier New TUR,162"="simsun" "FixedSys"="simsun" "Helv"="simsun" "Helvetica"="simsun" "MS Sans Serif"="simsun" "MS Shell Dlg"="simsun" "MS Shell Dlg 2"="simsun" "System"="simsun" "Tahoma"="simsun" "Times"="simsun" "Times New Roman CE,238"="simsun" "Times New Roman CYR,204"="simsun" "Times New Roman Greek,161"="simsun" "Times New Roman TUR,162"="simsun" "Tms Rmn"="simsun"
原帖 Via ubuntu中文不过最近老抽风,速度很慢或者错误。
之后
安装ie4linux
sudo gedit /etc/apt/sources.list
加入源
软件源-其他软件-加入下面这行 deb http://wine.budgetdedicated.com/apt edgy main
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add - sudo apt-get update sudo apt-get install wine cabextract
2010.04.12更新
ie4linux加入了ie7beta,但是不如ie6好用,跑起来还是cpu超级高
下载安装ie4linux
wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz tar zxvf ies4linux-latest.tar.gz cd ies4linux-* ./ies4linux
或者加入参数编译安装
./ies4linux --no-gui --beta-install-ie7 --locale CN --install-corefonts
如果安装过程出现错误,就反复安装就好了。= =
上面cd的目录请自己根据版本替换.
如果运行完 ./ies4linux过程中假死..那就请换成./ies4linux –no-gui .但是无法选择ie版本.
更多关于wine Via ubuntu中文
话说,wine真的最好别用了,麻烦点,多从起吧.
补充,
完全卸载wine
openboy@yylinux:~$ sudo apt-get remove wine
openboy@yylinux:~$ whereis win wine: /usr/share/wine
openboy@yylinux:/usr/share$ sudo -i
root@yylinux:/# cd usr/share
root@yylinux:/usr/share# rm -rf wine
这样应该是ok了。
完全卸载ie4linux
直接删除/home/你的用户名/.ies4linux文件夹,/home/你的用户名/bin文件夹里的可执行文件和桌面图标就行了;
来学习linux。。
Using Gravatars in the comments - get your own and be recognized!
XHTML: These are some of the tags you can use: <a href=""> <b> <blockquote> <code> <em> <i> <strike> <strong>
一直很火星,都在用xp!