这是带有 Windows 10 的 Ubuntu 18.10 双引导。
显然,获取最新 LibreOffice 的唯一方法是通过 Flatpak 或从官方网站下载 zip。
根据下面的“注意”声明,我应该在哪里以及在哪里进行更改?
$ sudo flatpak install flathub org.libreoffice.LibreOffice
Installing in system:
org.libreoffice.LibreOffice/x86_64/stable flathub 1bf7758dc1d7
permissions: ipc, network, pulseaudio, wayland, x11, dri
file access: host, xdg-run/dconf
dbus access: ca.desrt.dconf, org.gtk.vfs.*
dbus ownership: org.libreoffice.LibreOfficeIpc0
org.libreoffice.LibreOffice.Locale/x86_64/stable flathub 4a88b1bc88e1
Is this ok [y/n]: y
Installing: org.libreoffice.LibreOffice/x86_64/stable from flathub
[####################] 418 metadata, 4841 content objects fetched; 253117 KiB transferred in 776 seconds
Now at 1bf7758dc1d7.
Installing: org.libreoffice.LibreOffice.Locale/x86_64/stable from flathub
[####################] 10 metadata, 71 content objects fetched; 1021 KiB transferred in 7 seconds
Now at 4a88b1bc88e1.
Note that '/var/lib/flatpak/exports/share' is not in the search path
set by the XDG_DATA_HOME and XDG_DATA_DIRS
environment variables, so applications may not
be able to find it until you set them. The
directories currently searched are:
- /home/pranav/.local/share
- /usr/local/share/
- /usr/share/
如果案件已结案,我没有得到实际帮助:https ://www.reddit.com/r/Ubuntu/comments/av15lq/flathub_warning_help_need_some_help_screenshot/
不知道如何设置环境变量。但是你可以通过卸载 Flapak 的 LibreOffice来使用“ snap install LibreOffice ”。Snap 也不断更新 LibreOffice