Ask Your Question
0

Build LibreOffice without GUI on Ubuntu

asked 2017-08-24 07:29:46 +0100

andrei gravatar image

updated 2017-08-24 07:30:19 +0100

My goal is to run the LibreOffice on a AWS Lambda for converting documents. I want to build LibreOffice without GUI and all the extra that is not needed for conversion. Need to get the minimum size of LibreOffice.

Thanks!

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2017-11-26 14:36:34 +0100

Hi,

Recently I managed to run LibreOffice inside AWS Lambda.

More info here, including compilation instructions

edit flag offensive delete link more

Comments

You are removing licenses from the resulting package. Surely you have a lot of gain doing that?

Btw: you do --without-firebird-sdbc twice.

Mike Kaganski gravatar imageMike Kaganski ( 2017-11-26 18:11:04 +0100 )edit
2

answered 2017-08-24 07:47:19 +0100

Mike Kaganski gravatar image

updated 2017-08-24 07:47:59 +0100

You should not build LO to have no GUI, unless you clearly understand the implications. However, you can run it without GUI: there is --headless switch, and some other switches imply headless (so no need to specify it explicitly) - e.g., --convert-to.

If you feel like you certainly need to try to strip LO from "unnecessary" stuff, then refer to documentation available with

./autogen.sh --help

in LibreOffice development environment set up after instructions in Development wiki. (Notice that there is --disable-gui switch, but read the disclaimer given for it carefully.)

Anyway, this relates to development (in a way), and this kind of questions is better asked in #libreoffice-dev on IRC, or on our developer's mailing list.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-08-24 07:29:46 +0100

Seen: 539 times

Last updated: Nov 26 '17