Ask Your Question

Is there a way to get CLI-only LibreOffice on a server? [closed]

asked 2012-08-17 09:13:38 +0200

Maaaks gravatar image

updated 2015-10-17 19:47:03 +0200

Alex Kemp gravatar image

I am looking for a way to convert generated DOCX files to DOC format on a FreeBSD server. LibreOffice's --convert-to parameter would be very well, but I couldn't compile LibreOffice on the server. As far as I understood the messages, LibreOffice's dependencies require X to be installed.

How can I get a no-GUI, CLI-only version of LibreOffice with just --convert-to support?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-17 19:47:11.491129

1 Answer

Sort by » oldest newest most voted

answered 2012-08-17 12:50:17 +0200

cloph gravatar image

The --headless option will cause no GUI at all, so use that.

There is no special CLI only version, and yes, to build LO you would need the X11 development packages. Running it headless doesn't require X.

edit flag offensive delete link more


Compilation ends with this: gtk-update-icon-cache-2.24.6_1: Needs cairo built with X11 support. What do I need to do? (Sorry, I'm very new to FreeBSD, and I don't know anything about ports system.)

Maaaks gravatar imageMaaaks ( 2012-08-17 15:12:25 +0200 )edit

Question Tools


Asked: 2012-08-17 09:13:38 +0200

Seen: 1,310 times

Last updated: Aug 17 '12