安装libreoffice7.6.5.2失败

在Ubuntu中安装libreOffice7.6.5.2完成后,执行 libreoffice --version命令,出现如下报错:

admin@itappdemo:~$ libreoffice --version
Command ‘libreoffice’ not found, but can be installed with:
snap install libreoffice # version 24.2.5.2, or
apt install libreoffice-common # version 4:24.2.6-0ubuntu0.24.04.1
See ‘snap info libreoffice’ for additional versions.
admin@itappdemo:~$ libreoffice7.6 --version
/opt/libreoffice7.6/program/oosplash: error while loading shared libraries: libXinerama.so.1: cannot open shared object file: No such file or directory

安装方式是:官网下载安装包 (from Index of /libreoffice/old/7.6.5.2/deb/x86_64) 并解压,然后执行 "$ sudo dpkg -i ./LibreOffice_7.6.5.2_Linux_x86-64_deb"命令。

请教大佬们如何解决?如果要安装 libreoffice-common,如何安装 libreoffice-common 7.6.5.2版本的呢?

好吧,希望你还能上来看看。毕竟这快2个月了。建议你直接官网下最新的linux deb 64的版本。 解压后,直接按照说明写的。For Debian/Ubuntu-based systems: sudo dpkg -i *.deb

您可以想办法安装Discover软件中心。在安装好了Discover软件中心后,打开文件管理器,在要安装的deb软件包文件上按右键,点击打开方式,选择Discover软件中心,等待界面出现后点击右上角的安装按钮,输入系统账户的密码后即可安装