o从wine官方网站下载最新的wineubuntu源上的版本比较老,而且dll也不全。
wine的ubuntu版本下载页面:
简单说来,就是执行下面的命令:
wget -q -O- | sudo apt-key add -
For Ubuntu Gutsy (7.10):
sudo wget -O /etc/apt/sources.list.d/winehq.list
For Ubuntu Feisty (7.04):
sudo wget -O /etc/apt/sources.list.d/winehq.list
For Ubuntu Edgy (6.10): *64-bit packages not available*
sudo wget -O /etc/apt/sources.list.d/winehq.list
For Ubuntu Dapper (6.06): *64-bit packages not available*
sudo wget -O /etc/apt/sources.list.d/winehq.list
For Debian Etch (4.0):
sudo wget -O /etc/apt/sources.list.d/winehq.list
之后,直接sudo apt-get update
然后sudo apt-get install wine
对于其他
发行版的
Linux,也可以在wine那里下载最新版,或者直接从源代码编译。
o 从windows上拷贝一些dll
从windows的系统盘下的windows/system32目录下,拷贝下面几个文件到~/.wine/drive_c/windows/system32
mfc42.dll
msvcirt.dll
msvcp60.dll
msvcrt.dll
o 下载Reads51
官方主页:
下载页面:8051soft.htm
下载地址:8051/SetupReads51.exe
o 运行Reads51安装程序和windows下一样,运行安装程序,一路Next。
o 运行Reads51
如果在安装的时候选择了在桌面创建快捷方式,那么直接点击桌面上的启动器就好了。
或者可以到Reads51安装路径下(如果Reads51安装在C盘,那么去~/.wine/drive_c/下找就好了。),运行如下命令:
wine wine Reads51.exe
o 关于中文字体(这个我没测试)如果想让wine出来的
软件正常显示中文,还需要配置一下:
到~/.wine/下打开system.reg文件
找到[Software\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes]一行
将这部分内容替换为:
[Software\\Microsoft\\Windows NT\\CurrentVersion\\FontSubstitutes] 1197091030
"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"