Date: prev next · Thread: first prev next last
2020 Archives by date, by thread · List index


On 10.01.20 18:09, David Johnson wrote:
The environment I work in:

Ubuntu 19.10
LibreOffice 6.3.3.2

The LibreOffice SDK requires a path to a LibreOffice installation:

"*OFFICE_HOME*: Path to an existing LibreOffice installation, e.g. 
"/opt/libreoffice8". Be sure that it is not a user installation only."

My question: can I use the LibreOffice that is in the Ubuntu repository 
for this purpose?

In other words, will the following suffice:

$ sudo apt-get install libreoffice

and then I tried to find the installation directory, which seems to be:

/usr/lib/libreoffice/

yes and no.

if you install the SDK from Ubuntu repository too then you have to use
the Ubuntu libreoffice package. i'm not sure what it's called; in Fedora
it's "libreoffice-sdk".

Why is that so? (I pose this question just for improving my understanding of the whole process.) If 
you manually download an SDK version (so from The Document Foundation (TDF) site) that is 
compatible with the LibreOffice that is in the repository of a given Linux distribution, shouldn't 
that also work?

I did grep through the Ubuntu repositories and I found:

libreoffice-dev - office productivity suite -- SDK -- architecture-dependent parts

That looks quite promising.

if you install the SDK from TDF upstream packages you have to install
LibreOffice from TDF upstream packages.

Is this adequate? Or is this "only a user installation"?

i'm not sure what "user installation" refers to here, but possibly it is
the user configuration directory, cf. soffice -env:UserInstallation=...

Thanks for the tip! Perhaps someone else can confirm this? If the semantics of "user installation" 
is not clear to you, then it is definitely not clear to a humble beginner in LibreOffice extension 
development (like me ;-( ).



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.