Unfortunately the software that I'm using (Alfresco) requires the installation of openoffice, and not libreoffice. If I try and configure it to use libreoffice I receive errors during startup. If I try to install any of the openoffice packages:

yum install openoffice*

I receive errors for all packages similar to:

Package openoffice.org-langpack-bg_BG is obsoleted by libreoffice-langpack-bg, trying to install 1:libreoffice-langpack-bg- instead

Then it proceeds to try and download libreoffice. I don't see anything in man yum with regards to installing obsolete packages. Is there any way to install obsolete packages via yum and not their newer counterparts?

  • same problem installing languageweaver. @BengiWiebe below solved my problem perfectly.
    – MattPark
    May 29, 2013 at 18:18

3 Answers 3


If you prefer, you can download the proper package (deb, rpm..) from the official website: http://www.openoffice.org/download/other.html

After you can install with rpm or with yum.


I found that, when installing openoffice, adding exclude=libreoffice* to your /etc/yum.conf helped with sudo yum update, and I am sure that it would help with your problem too. It tells yum to ignore libreoffice* packages, therefore yum does not even know that there is a package that obsoletes openoffice.

  • Best solution because you don't have to download anything manually. Also you don't have to yum clean all and rebuild the cache in case you were wondering.
    – MattPark
    May 29, 2013 at 18:20
  • 1
    Important to note that if it's a single command you are running (e.g. in a script), you don't need to mess around with yum.conf—you can just use --exclude=libreoffice\* as a flag to yum directly on the command line.
    – Wildcard
    Feb 1, 2016 at 22:28
sudo yum --setopt=obsoletes=0 install openoffice*

Or you can put obsoletes=0 to /etc/yum.conf

Both ways worked for me on Oracle Linux 6.7.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.