LibreOffice
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
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 |
branding
|
Enable Gentoo specific branding |
clang
|
Use Clang compiler instead of GCC |
coinmp
|
Use sci-libs/coinor-mp as alternative solver |
cups
|
Add support for CUPS (Common Unix Printing System) |
custom-cflags
|
Build with user-specified CFLAGS (unsupported) |
dbus
|
Enable dbus support for anything that needs it (gpsd, gnomemeeting, etc) |
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) |
firebird
|
Add support for the Firebird relational database |
googledrive
|
Enable support for remote files on Google Drive |
gstreamer
|
Add support for media-libs/gstreamer (Streaming media) |
gtk
|
Add support for x11-libs/gtk+ (The GIMP Toolkit) |
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) |
mariadb
|
Prefer mariadb connector over mysql connector |
odk
|
Build the Office Development Kit |
pdfimport
|
Enable PDF import via the Poppler library |
postgres
|
Add support for the postgresql database |
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-util/valgrind |
vulkan
|
Enable Vulkan usage via the skia library (clang recommended) |
Libreoffice does not start without a database enabled. Most users should choose one to enable.
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.
The app-office/libreoffice-bin may not be compatible with the use of the Base application. In this case it may be necessary to use a source build and enable USE=java and USE=firebird.
Flatpak
This method uses third party installation from Flathub (which can be potentially compromised by attackers one day) and therefore should not used in trusted or critical environments such as enterprises. The Gentoo Security team does not approve this method. Gentoo Linux is about choice, so please be careful.
Completely alternative method is to use package from Flathub. Follow the Flatpak guide to setup prerequisitions, then you may install Libreoffice:
user $
flatpak install org.libreoffice.LibreOffice
You can run it with:
user $
flatpak run org.libreoffice.LibreOffice
Spell check
By default, LibreOffice uses app-text/hunspell for spell check. To enable spell checking for a specific language, enable the corresponding language in L10N useflags of hunspell - either globally in /etc/portage/make.conf or in /etc/portage/package.env.