下载tar 包解压安装后,在/opt/libreoffice6.2/program/soffice.bin 报错
执行yum -y install cairo cups-libs libSM 还行报下面的错误:
/opt/libreoffice6.2/program/soffice.bin: /lib64/libdbus-1.so.3: no version information available (required by /opt/libreoffice6.2/program/libmergedlo.so)
执行帮助文件的命令可以出来,但是也有一个报错:
/opt/libreoffice6.2/program/soffice -help
/opt/libreoffice6.2/program/soffice.bin: /lib64/libdbus-1.so.3: no version information available (required by /opt/libreoffice6.2/program/libmergedlo.so)
 Warning: -help is deprecated.  Use --help instead.
 LibreOffice 6.2.8.2 f82ddfca21ebc1e222a662a32b25c0c9d20169ee
Usage: soffice [argument...]
        argument - switches, switch parameters and document URIs (filenames).
Using without special arguments:
 Opens the start center, if it is used without any arguments.
    {file}              Tries to open the file (files) in the components
                        suitable for them.
    {file} {macro:///Library.Module.MacroName}
                        Opens the file and runs specified macros from
                        the file.
Getting help and information:
    --help | -h | -?    Shows this help and quits.
    --helpwriter        Opens built-in or online Help on Writer.
    --helpcalc          Opens built-in or online Help on Calc.
    --helpdraw          Opens built-in or online Help on Draw.
    --helpimpress       Opens built-in or online Help on Impress.
    --helpbase          Opens built-in or online Help on Base.
    --helpbasic         Opens built-in or online Help on Basic scripting
                        language.
    --helpmath          Opens built-in or online Help on Math.
    --version           Shows the version and quits.
    --nstemporarydirectory
                        (MacOS X sandbox only) Returns path of the temporary
                        directory for the current user and exits. Overrides
                        all other arguments.
General arguments:
    --quickstart[=no]   Activates[Deactivates] the Quickstarter service.
    --nolockcheck       Disables check for remote instances using one
                        installation.
    --infilter={filter} Force an input filter type if possible. For example:
                        --infilter="Calc Office Open XML"
                        --infilter="Text (encoded):UTF8,LF,,,"
    --pidfile={file}    Store soffice.bin pid to {file}.
    --display {display} Sets the DISPLAY environment variable on UNIX-like
                        platforms to the value {display} (only supported by a
                        start script).
User/programmatic interface control:
    --nologo            Disables the splash screen at program start.
    --minimized         Starts minimized. The splash screen is not displayed.
    --nodefault         Starts without displaying anything except the splash
                        screen (do not display initial window).
    --invisible         Starts in invisible mode. Neither the start-up logo nor
                        the initial program window will be visible. Application
                        can be controlled, and documents and dialogs can be
                        controlled and opened via the API. Using the parameter,
                        the process can only be ended using the taskmanager
                        (Windows) or the kill command (UNIX-like systems). It
                        cannot be used in conjunction with --quickstart.
    --headless          Starts in "headless mode" which allows using the
                        application without GUI. This special mode can be used
                        when the application is controlled by external clients
                        via the API.
    --norestore         Disables restart and file recovery after a system crash.
    --safe-mode         Starts in a safe mode, i.e. starts temporarily with a
                        fresh user profile and helps to restore a broken
                        configuration.
    --accept={connect-string}  Specifies a UNO connect-string to create a UNO
                        acceptor through which other programs can connect to
                        access the API. Note that API access allows execution
                        of arbitrary commands.
                        The syntax of the {connect-string} is:
                          connection-type,params;protocol-name,params
                        e.g.  pipe,name={some name};urp
                          or  socket,host=localhost,port=54321;urp
    --unaccept={connect-string}  Closes an acceptor that was created with
                        --accept. Use --unaccept=all to close all acceptors.
    --language={lang}   Uses specified language, if language is not selected
                        yet for UI. The lang is a tag of the language in IETF
                        language tag.
Developer arguments:
    --terminate_after_init
                        Exit after initialization complete (no documents loaded).
    --eventtesting      Exit after loading documents.
  
  
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
                    <p>yum install libreoffice</p>
                
                        回复 <a class="referer" target="_blank">@huyang19881115</a>  : 对新版本什么功能有需求吗?
                    
                        yum 安装的版本比较旧吧~到时候试下