安装最新版 wine:
1)增加签名:
去wine网站下载最新版本的wine
2)执行更新与安装 wine:
sudo apt-get update
sudo apt-get install wine
安装 office2007:
1)configure wine:
将richedit20.dll、richedit32.dll 和 msxml3.dll 添加为默认库,即native(Windows)
2)下载richedit30.exe,并用wine安装这个文件:
http://processlist.com/info/richedit30.html
# wine richedit30.exe
还有一个下载地址: http://download.youkuaiyun.com/detail/soekchl521/6221075
3)下载msxml3.msi,并用wine安装这个文件:
http://www.microsoft.com/downloads/details.aspx?FamilyID=28494391-052B-42FF-9674-F752BDCA9582&displaylang=en
# wine msiexec /i msxml3.msi
还有一个下载地址:http://download.youkuaiyun.com/detail/soekchl521/6221087
4)下载并安装office2007:
office下载麻烦的话上网找个精简版吧,必须有setup的哪种
# wine setup.exe
转至:http://wxmijl.blog.163.com/blog/static/132459282009101651244890/
我修改了一些
然后运行的时候遇到问题了就看这里的吧
http://appdb.winehq.org/objectManager.php?bIsQueue=false&bIsRejected=false&sClass=version&sTitle=&sReturnTo=&iId=4992
这是wine 官网给出的office07的安装的办法 是英文版本的 主要是看那个 加载 函数库文件的那个
Post Installation Instructions
Once installed, one override is necessary. Without it, Powerpoint and Infopath with not start, and some dialog boxes in other Office apps will not display correctly. Follow the steps below:
Open winecfg by going to Applications > Wine > Configure Wine. Or open a terminal and type:
winecfg
In the Libraries tab in the area labeled "New override for library" type in riched20.dll and click on Add.
You will see it appear in the list below. Now select the riched20 in the list that we just added and click on the Edit button.
Set it to Native (Windows) and click OK.
This will allow Powerpoint and the other applications to run correctly.
就这些 以上!