OpenOffice.org 2.1 安装手记

OpenOffice.org 在几天前推出了最新的 2.1 版,新的版本包含一些不错的改进和增强。OpenOffice.org 2.1 是一次非常重要的升级,这种体会在使用中感觉尤为明显。对多数普通用户来说,如何在自己的系统中安装 OpenOffice.org 2.1,这成为一个需要面临的问题。

OpenOffice.org Writer OpenOffice.org Writer 2.1

以下是我在 Ubuntu Edgy 中安装 OpenOffice.org 2.1 的笔记,或许可以聊作参考。

首先,从 OpenOffice.org 的 ftp 站点上下载 OpenOffice.org 2.1 的安装包 OOo2.1.0LinuxIntelinstallwJRE_en-US.tar.gz。该包约 140 多兆,下载需要一定时间。

在下完之后,执行 tar xvzf OOo2.1.0LinuxIntelinstallwJREen-US.tar.gz 解包,然后执行 cd OOE680m6nativepacked-1_en-US.9095/RPMS 转到 RPMS 目录。

现在,需要为接下来的操作准备一些工具:alien、fakeroot、rpm。这些工具主要的用途就是把 rpm 包转换为 deb 包。如果没有这些工具,就使用 sudo apt-get install alien fakeroot rpm 装上吧。

是时候开始执行转换过程了。执行命令 fakeroot alien -k --scripts *.rpm,这将使 RPMS 目录中所有的 rpm 包转换为 deb 包。由于 OpenOffice.org 的安装包较多,此时要耐心地等一会儿。

当所有的包都转换完成后,先不要急于安装。这里有一些需要注意的地方:

  1. 如果系统中已包含 Java 运行环境,那么 jre1.5.007-fcs-1i386.deb 包就不必安装。
  2. 根据所使用的桌面环境,如果是 GNOME,那么就安装 openoffice.org-gnome-integration2.1.0-6i386.deb 包;而如果是 KDE 的话,则安装 openoffice.org-kde-integration2.1.0-6_i386.deb 包。

把上面这几个包先移到另外的目录,执行 sudo dpkg -i *.deb,这将使 OpenOffice.org 2.1 安装到系统中。接着,根据上述之情况,对应地选择安装上面的包。如 GNOME 或 XFCE,执行 sudo dpkg -i openoffice.org-gnome-integration_2.1.0-6_i386.deb;KDE 下,执行 sudo dpkg -i openoffice.org-kde-integration_2.1.0-6_i386.deb。最后,在 desktop-integration 目录(RPMS 下面)还有个 openoffice.org-debian-menus_2.1-5_all.deb 包,可执行 sudo dpkg -i openoffice.org-debian-menus_2.1-5_all.deb 安装。

至此,OpenOffice.org 2.1 的整个安装过程宣告结束。值得注意的是,OpenOffice.org 2.1 的安装位置在 /opt/openoffice.org2.1/ 下。

Read More:

8 Comments

  1. 1 Mily Commented @ 2006-12-18 17:02Reply to this comment

    很好的教程 已经在hiweed上装上了 虽然平时几乎不用OO 但是还是想追新

  2. 2 manse Commented @ 2006-12-19 11:49Reply to this comment

    dpkg:关于含有 openoffice.org-debian-menus 的 openoffice.org-debian-menus2.1-5all.deb: openoffice.org-core conflicts with openoffice.org-unbundled openoffice.org-debian-menus 提供了 openoffice.org-unbundled,它将被安装。 dpkg:处理 openoffice.org-debian-menus2.1-5all.deb (--install)时出错: 软件包相互冲突 - 将不安装 openoffice.org-debian-menus 在处理时有错误发生: openoffice.org-debian-menus2.1-5all.deb

    我的机子上出现这样的错误

  3. 3 华华 Commented @ 2006-12-19 20:55Reply to this comment

    楼上的, debian-menus 不是必需的。 并且 Ubuntu 默认也不用 debian menu 。

    对了, toy 加个 环境变量 OOOFORCEDESKTOP=gnome 吧

  4. 4 Toy Commented @ 2006-12-19 21:49Reply to this comment

    @华华:谢谢你的提示!

  5. 5 dsc Commented @ 2006-12-21 9:30Reply to this comment

    谢谢~太有用了。有个问题,原来的openoffice不用删除么?

  6. 6 dsc Commented @ 2006-12-21 12:34Reply to this comment

    厄……有木有办法,像默认的那样在menu里面显示出来呀? 我很菜的说

  7. 7 Toy Commented @ 2006-12-21 18:33Reply to this comment

    @dsc:不用。那样的话,你需要自己建立 *.desktop 文件,具体内容可以参考 /usr/share/applications/ 里的文件。

  8. 8 笨龜 Commented @ 2007-02-17 10:00Reply to this comment

    环境变量

    這個加在那裡呢?