Ask Your Question
1

libreoffice 5.2.6 headless install on CentOS 7

asked 2017-05-05 20:53:35 +0200

Stefred gravatar image

The RPM install package seems to be missing a few package dependencies. In order to do a headless installation of libreoffice 5.2.6 on CentOS 7, I needed do the following:

. download the rpm tarball: wget http://download.documentfoundation.or...

. unpack it: tar xzf LibreOffice_5.2.6_Linux_x86-64_rpm.tar.gz

. install the downloaded rpm files: cd LibreOffice_5.2.6.2_Linux_x86-64_rpm/RPMS; sudo yum localinstall *.rpm

. install three extra packages that were not included in the rpm package dependencies list: sudo yum install cairo cups-libs libSM

Without this last step the command "libreoffice5.2" fails with error messages about not being able to find some libraries that it needs.

I hope this helps anyone having difficulty with a headless RPM install. Is there any other (recent) version which doesn't have these missing dependencies?

edit retag flag offensive close merge delete

Comments

A bug report is filed (tdf#114581), as should have been from the start.

As I cannot reproduce it myself (no CentOS or whatever required), it'd be nice if someone suffering from this monitored the bug for possible QA questions (although the description here seems clear enough).

Mike Kaganski gravatar imageMike Kaganski ( 2017-12-20 10:31:18 +0200 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2017-12-19 18:09:38 +0200

updated 2017-12-19 18:10:23 +0200

Fantastic, this did the trick for me on Centos 7 with LibreOffice 5.4.3. Thanks for this! I'm not sure this isn't documented in the LibreOffice prerequisites, but it should be.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2017-05-05 20:53:35 +0200

Seen: 8,677 times

Last updated: Dec 19 '17