LibreOffice

From Gentoo Wiki
Jump to:navigation Jump to:search

LibreOffice is a full office productivity suite. It's a successor to OpenOffice.org and strives to be a better and less bloated office suite.[1][2]

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)
+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)
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)
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
qt5 Add support for the Qt 5 application and UI framework
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)

USE flags for app-office/libreoffice-bin A full office productivity suite. Binary package

gnome Add GNOME support
java Add support for Java
kde Add support for software made by KDE, a free software community

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. Attempting to use them on an ~arch system may result in difficulties; 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 the java and firebird USE flags.

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 the L10N useflags of hunspell - either globally in /etc/portage/make.conf or in /etc/portage/package.env.

A package specific to the Finnish language is also available: app-office/libreoffice-voikko.

External resources

References