This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
LibreOffice
From Gentoo Wiki (test)
LibreOffice is a full office productivity suite. It's a successor of the OpenOffice.org and strives to be a better and less bloated office suite.
Installation
USE flags
USE flags for app-office/libreoffice A full office productivity suite
+branding
|
Enable Gentoo specific branding |
+cups
|
Add support for CUPS (Common Unix Printing System) |
+dbus
|
Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc) |
+gtk
|
Add support for x11-libs/gtk+ (The GIMP Toolkit) |
+gtk3
|
Enable support for x11-libs/gtk+:3 |
+mariadb
|
Prefer mariadb connector over mysql connector |
accessibility
|
Add support for accessibility (eg 'at-spi' library) |
base
|
Enable full support for LibreOffice Base databases (involves additional bundled libs) |
bluetooth
|
Enable Bluetooth Support |
clang
|
Use Clang compiler instead of GCC |
coinmp
|
Use sci-libs/coinor-mp as alternative solver |
custom-cflags
|
Build with user-specified CFLAGS (unsupported) |
debug
|
Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces |
eds
|
Enable support for Evolution-Data-Server (EDS) |
googledrive
|
Enable support for remote files on Google Drive |
gstreamer
|
Add support for media-libs/gstreamer (Streaming media) |
gtk4
|
Enable support for gui-libs/gtk:4 |
java
|
Add support for Java |
kde
|
Add support for software made by KDE, a free software community |
ldap
|
Add LDAP support (Lightweight Directory Access Protocol) |
odk
|
Build the Office Development Kit |
pdfimport
|
Enable PDF import via the Poppler library |
postgres
|
Add support for the postgresql database |
qt6
|
Add support for the Qt 6 application and UI framework |
test
|
Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently) |
valgrind
|
Enable annotations for accuracy. May slow down runtime slightly. Safe to use even if not currently using dev-debug/valgrind |
vulkan
|
Enable Vulkan usage via the skia library (clang recommended) |
Emerge
Install app-office/libreoffice:
root #
emerge --ask --verbose app-office/libreoffice
Binary installation
Since LibreOffice is such a large package to compile, it is also offered in pre-compiled binaries in app-office/libreoffice-bin.
root #
emerge --ask --verbose app-office/libreoffice-bin
The binary packages are compiled such that they fit to the libraries of a stable Gentoo system. You will encounter difficulties if you try to use them on an ~arch system; this is not supported.