从命令行运行 Open Office 时出现问题

从命令行运行 Open Office 时出现问题

昨天我在 Linux 服务器上安装了 OpenOffice。但是当我通过命令行运行它时,它说找不到命令。我还尝试了其他东西,例如 OOWriter 等。有人遇到过这个问题吗?安装过程如下:

    root@aserver [OOO330_m20_native_packed-1_en-US.9567/RPMS]#
    rpm -i *.rpm 
        package openoffice.org-ure-1.7.0-9567.i586 is already installed
        package ooobasis3.3-core01-3.3.0-9567.i586 is already installed
        package ooobasis3.3-en-US-3.3.0-9567.i586 is already installed
        package ooobasis3.3-core02-3.3.0-9567.i586 is already installed
        package ooobasis3.3-core03-3.3.0-9567.i586 is already installed
        package ooobasis3.3-core04-3.3.0-9567.i586 is already installed
        package ooobasis3.3-core05-3.3.0-9567.i586 is already installed
        package ooobasis3.3-core06-3.3.0-9567.i586 is already installed
        package ooobasis3.3-core07-3.3.0-9567.i586 is already installed
        package ooobasis3.3-en-US-base-3.3.0-9567.i586 is already installed
        package ooobasis3.3-en-US-calc-3.3.0-9567.i586 is already installed
        package ooobasis3.3-en-US-draw-3.3.0-9567.i586 is already installed
        package ooobasis3.3-en-US-help-3.3.0-9567.i586 is already installed
        package ooobasis3.3-en-US-impress-3.3.0-9567.i586 is already installed
        package ooobasis3.3-en-US-math-3.3.0-9567.i586 is already installed
        package ooobasis3.3-en-US-res-3.3.0-9567.i586 is already installed
        package ooobasis3.3-en-US-writer-3.3.0-9567.i586 is already installed
        package ooobasis3.3-base-3.3.0-9567.i586 is already installed
        package ooobasis3.3-calc-3.3.0-9567.i586 is already installed
        package ooobasis3.3-draw-3.3.0-9567.i586 is already installed
        package ooobasis3.3-images-3.3.0-9567.i586 is already installed
        package openoffice.org3-3.3.0-9567.i586 is already installed
        package ooobasis3.3-impress-3.3.0-9567.i586 is already installed
        package ooobasis3.3-math-3.3.0-9567.i586 is already installed
        package ooobasis3.3-writer-3.3.0-9567.i586 is already installed
        package jre-1.6.0_22-fcs.i586 is already installed
        package ooobasis3.3-binfilter-3.3.0-9567.i586 is already installed
        package ooobasis3.3-en-US-binfilter-3.3.0-9567.i586 is already installed
        package ooobasis3.3-gnome-integration-3.3.0-9567.i586 is already installed
        package ooobasis3.3-graphicfilter-3.3.0-9567.i586 is already installed
        package ooobasis3.3-javafilter-3.3.0-9567.i586 is already installed
        package ooobasis3.3-kde-integration-3.3.0-9567.i586 is already installed
        package ooobasis3.3-onlineupdate-3.3.0-9567.i586 is already installed
        package ooobasis3.3-ooofonts-3.3.0-9567.i586 is already installed
        package ooobasis3.3-oooimprovement-3.3.0-9567.i586 is already installed
        package ooobasis3.3-ooolinguistic-3.3.0-9567.i586 is already installed
        package ooobasis3.3-pyuno-3.3.0-9567.i586 is already installed
        package ooobasis3.3-testtool-3.3.0-9567.i586 is already installed
        package ooobasis3.3-xsltfilter-3.3.0-9567.i586 is already installed
        package openoffice.org3-base-3.3.0-9567.i586 is already installed
        package openoffice.org3-calc-3.3.0-9567.i586 is already installed
        package openoffice.org3-dict-en-3.3.0-9567.i586 is already installed
        package openoffice.org3-dict-es-3.3.0-9567.i586 is already installed
        package openoffice.org3-dict-fr-3.3.0-9567.i586 is already installed
        package openoffice.org3-draw-3.3.0-9567.i586 is already installed
        package openoffice.org3-en-US-3.3.0-9567.i586 is already installed
        package openoffice.org3-impress-3.3.0-9567.i586 is already installed
        package openoffice.org3-math-3.3.0-9567.i586 is already installed
        package openoffice.org3-writer-3.3.0-9567.i586 is already installed
    root@aserver [OOO330_m20_native_p

acked-1_en-US.9567/RPMS]# soffice
bash: soffice: command not found

答案1

二进制名称是ooffice,而不是soffice

$ ooffice

答案2

它很方便,但您需要处于正确的路径或将环境指向它。默认安装位置是/opt/openoffice.org3

相关内容