[转帖]永中集成Office 2007 beta精简版安装过程详解

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
回复
ahlongxp
帖子: 209
注册时间: 2006-03-06 19:16
联系:

[转帖]永中集成Office 2007 beta精简版安装过程详解

#1

帖子 ahlongxp » 2006-08-24 11:22

下载

wget http://218.90.147.70/EverMore/EIO2007Be ... Lin.tar.gz


解压

mkdir tmp
cd tmp
tar -xvf /media/hda10/EIO2007BetaZH_Lin.tar.gz -C .


安装

cd 4.1.1446.101ZH.B1simple
chmod a+x setup
sudo ./setup


安装过程中文是乱码,大家摸索着选吧,也不难。
最后一步完成时弹出一个对话框,不知道在说什么。
但在控制台发现如下提示:

# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xa77c3424, pid=12097, tid=2806041520
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_01-b08 mixed mode)
# Problematic frame:
# C [libX11.so.6+0x1e424] XFreeFontSet+0x15
#
# An error report file with more information is saved as hs_err_pid12097.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp


刚才的对话框,可能是报告这个错误。

中文显示问题
这时候,已经有了Applications-Office-永中集中Office 2007菜单项
运行一下看看,发现中文全是方块
参考viewtopic.php?p=115165#115165
执行下面的指令,

sudo ln -s /usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/ /usr/local/EIOffice/Jre


运行后汉字还是方块。
我想可能与locale有关,现在我的系统是en_US,可换了zh_CN后问题依然没有解决。
最后去/usr/local/EIOffice/Jre看了一下才发现了问题,链接的时间出错了,jre链到了Jre目录下,而我们是要替换Jre。
补救

sudo rm /usr/local/EIOffice/Jre/jre
sudo mv /usr/local/EIOffice/Jre /usr/local/EIOffice/Jre.bak



重新链接

sudo ln -s /usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre /usr/local/EIOffice/Jre


现在中文可以显示了,但效果不好。字体列表中仅有

Lucida Sans,Lucida Bright,Lucida Sans Typewriter


三种英文字体。新建文档时有永中宋体可用,但下拉框里是没有永中宋体的。

建立字体目录

mkdir /usr/X11R6/lib/X11/fonts/TrueType/ -p



链接永中宋体

sudo ln -s /usr/lib/X11/fonts/TrueType/yzdwsj6.ttf /usr/X11R6/lib/X11/fonts/TrueType/



链接其它常用字体

sudo ln -s /usr/share/fonts/zh_CN/*.tt? /usr/X11R6/lib/X11/fonts/TrueType/


这时再运行,应该发现宋体下拉列表已经有不少中文字体可选了
/usr/share/fonts/zh_CN/里的字体可能是任意你喜欢的字体,我这里使用windows的一些字体(盗版的)。

总结
这样,一个完美的中英文办公环境便产生了。用以上方法安装完成后,程序在中英文界面下均可正常运行,均可用scim输入汉字。

转自本人blog
jnwysh
帖子: 381
注册时间: 2006-04-25 17:07

#2

帖子 jnwysh » 2006-09-05 18:56

谢谢,我今天没有安上,没有执行这一步: chmod a+x setup
提示不能运行
明天再试试
海舟
帖子: 21
注册时间: 2006-09-26 10:12

#3

帖子 海舟 » 2006-09-30 10:25

做个记号,方便下次查找。
我昨天没有安装成功。
回复