Install LibreOffice 4.1.5 on Fedora 20/19, CentOS/Red Hat (RHEL) 6.5

LibreOffice logo smallThis is guide, howto to install LibreOffice 4.1.5 on Fedora 20/19/18/17/16/15/14/13/12, CentOS 6.5/6.4/6.3/6.2/6.1/6 and Red Hat (RHEL) 6.5/6.4/6.3/6.2/6.1/6 with using LibreOffice original RPM packages. This guide’s idea is offer one method to all LibreOffice versions and also one method to all Fedora 20/19/18/17/16/15/14/13/12, CentOS/Red Hat (RHEL) 6.5/6.4/6.3/6.2/6.1/6 users.

1. Download LibreOffice 4.1.5 Linux Package

LibreOffice 4.1.5 32-bit version

wget http://download.documentfoundation.org/libreoffice/stable/4.1.5/rpm/x86/LibreOffice_4.1.5_Linux_x86_rpm.tar.gz

LibreOffice 4.1.5 64-bit version

wget http://download.documentfoundation.org/libreoffice/stable/4.1.5/rpm/x86_64/LibreOffice_4.1.5_Linux_x86-64_rpm.tar.gz

2. Change to root User

su -
## OR ##
sudo -i

3. Extract LibreOffice Package and Access Directory

LibreOffice 4.1.5

tar -xvf LibreOffice_4.1.5*
 
cd LibreOffice_4.1.5*

4. Install Dependencies and Install / Update LibreOffice RPM packages

Install libpng-compat on Fedora (not needed on Fedora 20/19/18)

More info from this bug report.

yum install libpng-compat

Install pangox-compat to Fix Ugly UI (Windows 95 look) on Fedora

yum install pangox-compat

Install LibreOffice 4.1.5 RPMs

yum localinstall RPMS/*.rpm

5. Start LibreOffice

LibreOffice 4.1.5

Start LibreOffice with Clicking Icons (found normally from menus) or Start LibreOffice with Following Command:

libreoffice4.1
## OR ##
/opt/libreoffice4.1/program/soffice

Screenshots

LibreOffice 4.1 Running on Fedora 19

LibreOffice 4.0.0 running on CentOS 6.3

LibreOffice 4.0.0 Running on CentOS 6.3

Follow If Not True Then False Updates!

104 Comments

  1. hello
    thank u for ur good job
    it is very useful
    u have my thanks

  2. How do you keep your Libreoffice updated? Manually checking for new releases?

  3. On centos 6.2 I cannot get libre office to install
    open office is complete uninstalled and I tried the above
    and then I tried yum install yum-plugin-fastestmirror
    yum install yum-fastertmirror
    I checked /etc/yumpluginconf.d/fasterstmirror.conf to be shure it contained the
    following lines
    verbose=0
    socket_time = 3
    enabled =1
    hostfilepath = /var/cache/yum/timedhosts.txt
    maxhostfileage = 1

    the fastest host it selected was always my file:///media…
    so basically it was trying to use my cd to install from, but nothing
    on the cd. or in the drive.
    any ideas?
    .

    • Hi fudmier,

      If you follow this guide, then I do not understand why you can’t install LibreOffice using RPM packages and rpm command (no yum at all)?

  4. I’ve successfully installed various versions of OpenOffice on RHEL 5.7, but I wanted to try out LibreOffice 3.4.4/5 as well.

    I’ve repeatedly extracted, installed and removed the package downloaded from the LibreOffice website following the instructions both the website and you have provided.

    As a non-root user, I have always received the following errors and I have not been able to successfully connect to any java connector/environment/plugin:

    #libreoffice3.4
    /opt/libreoffice3.4/program/../basis-link/ure-link/bin/javaldx: /usr/lib64/libxml2.so.2: no version information available (required by /opt/libreoffice3.4/ure/bin/../lib/libjvmfwk.so.3)
    /opt/libreoffice3.4/program/soffice.bin: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.9′ not found (required by /opt/libreoffice3.4/program/../basis-link/program/libbasegfxlx.so)

    BUT as root, I am able to do everything in LibreOffice that I can do in OpenOffice — connect to my data sources, spell check works, …

    Any words of wisdom??

    • I updated this guide to latest version and I just tested 3.4.5 version on CentOS 5.7 and for me it’s working just normally (as normal user and root).

      So I recommend you to remove all LibreOffice packages and try install it again.

  5. Hi JR,

    thanks for the great work and the great page. like to sneak through your tipps and tricks.

    one little comment: seems you forgot to change the how to for the latest RC3 for installation (seems still to be the beta install instructions). Changes are:

    tar -xvf LibO_3.5.0*
    cd LibO_3.5.0*

    rpm -Uvh RPMS/*.rpm RPMS/desktop-integration/libreoffice3.5-freedesktop-menus-3.5*.noarch.rpm

    OR

    rpm -Uvh RPMS/*.rpm
    rpm -Uvh RPMS/desktop-integration/libreoffice3.5-freedesktop-menus-3.5*.noarch.rpm

    5. Start LibreOffice
    /opt/libreoffice3.5/program/soffice

    Hope that helps,

    Cheers
    Oliver

    • Hi Oliver,

      Thank you very much, I forgot update 3.5.0 from Beta to RC. I actually test it, but forgot update this guide commands.

      I tested installation once again, updated guide and your commands are working perfectly! Thanks Oliver!

  6. Excellent tutorial thank you!
    Keep up the good work on Fedora as there are not as many good tutorials like this!

    Regards,

  7. Hi JR,

    just because i did it right now, i thought i could share it (hope that is ok for you):

    install of LibreOffice 3.5.1 (32 + 64bit (tested on RHEL 6.2)):

    *****
    32bit
    wget http://download.documentfoundation.org/libreoffice/stable/3.5.1/rpm/x86/LibO_3.5.1_Linux_x86_install-rpm_en-US.tar.gz

    64bit
    wget http://download.documentfoundation.org/libreoffice/stable/3.5.1/rpm/x86_64/LibO_3.5.1_Linux_x86-64_install-rpm_en-US.tar.gz

    tar -xvf LibO_3.5.1*
    cd LibO_3.5.1rc2*

    rpm -Uvh RPMS/*.rpm RPMS/desktop-integration/libreoffice3.5-freedesktop-menus-3.5*.noarch.rpm

    OR

    rpm -Uvh RPMS/*.rpm
    rpm -Uvh RPMS/desktop-integration/libreoffice3.5-freedesktop-menus-3.5*.noarch.rpm

    ******************************************

    Optional — install of Help Package

    32bit
    wget http://download.documentfoundation.org/libreoffice/stable/3.5.1/rpm/x86/LibO_3.5.1_Linux_x86_helppack-rpm_en-US.tar.gz

    64bit
    wget http://download.documentfoundation.org/libreoffice/stable/3.5.1/rpm/x86_64/LibO_3.5.1_Linux_x86-64_helppack-rpm_en-US.tar.gz

    tar -xvf LibO_3.5.1*helppack*
    cd LibO_3.5.1rc2*helppack*

    rpm -Uhv RPMS/*
    *****

    Cheers

    Oliver

  8. and also for 3.4.6 (rc2)

    *****
    32bit
    wget http://download.documentfoundation.org/libreoffice/stable/3.4.6/rpm/x86/LibO_3.4.6_Linux_x86_install-rpm_en-US.tar.gz

    64bit
    wget http://download.documentfoundation.org/libreoffice/stable/3.4.6/rpm/x86_64/LibO_3.4.6_Linux_x86-64_install-rpm_en-US.tar.gz

    tar -xvf LibO_3.4.6*install*
    cd LibO_3.4.6rc2*install*

    rpm -Uvh RPMS/*.rpm RPMS/desktop-integration/libreoffice3.4-redhat-menus-3.4-6*.noarch.rpm

    OR

    rpm -Uvh RPMS/*.rpm
    rpm -Uvh RPMS/desktop-integration/libreoffice3.4-redhat-menus-3.4-6*.noarch.rpm

    ******************************************

    Optional — install of Help Package

    32bit
    wget http://download.documentfoundation.org/libreoffice/stable/3.4.6/rpm/x86/LibO_3.4.6_Linux_x86_helppack-rpm_en-US.tar.gz

    64bit
    wget http://download.documentfoundation.org/libreoffice/stable/3.4.6/rpm/x86_64/LibO_3.4.6_Linux_x86-64_helppack-rpm_en-US.tar.gz

    tar -xvf LibO_3.4.6*helppack*
    cd LibO_3.4.6rc2*helppack*

    rpm -Uhv RPMS/*
    *****

    Oliver

    • Hi Oliver and thank you! I will update this guide soon. :)

  9. Hi JR,

    First off, thanks for your site! It has helped me a lot since trying out Fedora…

    I had to also do this before installing Libreoffice –
    yum install libgnome

    • Hi Lavezarez,

      Good point, thanks!

  10. hi ! nice post but i would have +1 this for google but i dont find the +1 button :( only facebook etc..

    • ops i just found that :P

  11. Thanks for this guide and for all of your other handy guides! If I install this version from Libreoffice will it replace my current version or install alongside?

    • Hi Jonathan,

      You are welcome!

      It depends on version of LibreOffice that you have currently installed and how it is installed?

  12. I have version 3.4.something and it’s installed through the normal Fedora 16 repos. I typed my name in properly this time…

    • Hi again, I fix your name on earlier comments… :D

      I also update this guide, currently LibreOffice 3.5.2 is latest stable version and any development versions are not even available.

      And yes I just tested this and yes, you can install LibreOffice 3.5.2 alongside the Fedora 16 own LibreOffice 3.4.5 and both should work normally… :)

  13. Works great, thanks again! Got both versions installed.

    • Excellent! :)

  14. Thanks for the site mate. This site has helped me alot getting my Fedora box and my CentOS box functioning more productively

    I’m getting a failed dependencies error after I rpm -Uvh RPMS/*.rpm

    • Hi AreuR00t,

      Could you post more info about failed dependencies error message?

  15. that would only make sense for me to post the dependencies error, duh. Sorry about that

    error: Failed dependencies:
    libgnomevfs-2.so.0()(64bit) is needed by libobasis3.5-gnome-integration-3.5.2-202.x86_64

    I did do a yum install libgnomevfs-2.so.0 and installed all of the 33 or 32 dependencies it wanted to install

    ran rpm -Uvh RPMS/*.rpm and got the same error

    I’m waiting for something else to finish installing before I try rebooting

    Thanks,

  16. rebooted, ran rmp -Uvh RPMS/*.rpm and got the same error again

    error: Failed dependencies:
    libgnomevfs-2.so.0()(64bit) is needed by libobasis3.5-gnome-integration-3.5.2-202.x86_64

    I’m running Fedora 16
    I am running from inside the LibO_3.2.1… folder

    Thanks for you help

    Regards,
    A

    • Please run first following command (as root):

      updatedb

      And then post output of following commands:

      locate libgnomevfs-2.so.0
       
      rpm -qa gnome-vfs2\*
       
      uname -a
      • [root@ ************* ~]# locate libgnomevfs-2.so.0
        /usr/lib/libgnomevfs-2.so.0
        /usr/lib/libgnomevfs-2.so.0.2400.4
        [root@ ************* ~]# rpm -qa gnome-vfs2\*
        gnome-vfs2-2.24.4-6.fc16.i686
        [root@ ************* ~]# uname -a
        Linux ************* 3.3.1-3.fc16.x86_64 #1 SMP Wed Apr 4 18:08:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

        • You have something strange on your system…you have only 32-bit gnome-vfs2 installed on 64-bit system. Please try following:

          yum install gnome-vfs2.x86_64

          Then try installation again. :)

  17. Gr8 help

  18. Does anyone know when Openoffice.org / LibreOffice changed printig GUI? For example I can select printer input tray in OO 3.3 and it works but in LO 3.4.5 it always pools paper from default input tray. I believe that ther might be newer version of OO or LO which has printing like OO 3.3. Point is that I want to use newest office suite possible but if it has capabilitiy like OO 3.3 to change input tray from within Writer.

  19. if u get error saying missing libgnomevfs-2

    install as follows:
    yum install ruby-gnomevfs

    • I don’t get any visible error. It just prints from default tray.

    • Gracias, soluciono mi problema

  20. cheers, mate, this really helped :)

  21. I think a yum localinstall would be a better approach to install the rpms after downloading. Yum will take care of any missing dependencies such as ruby-gnomevfs etc….

  22. Just in case anybody else gets this error after install everything and trying to run libreoffice.
    You will only get this error if this is a fresh install (no other versions installed before installing now)

    [root@belial desktop-integration]# libreoffice3.6
    /opt/libreoffice3.6/program/soffice.bin: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

    just install this package:
    yum install libpng-compat

    Good to go after that!

    • Hi Belial,

      Thanks for this tip!

  23. why not just: yum groupinstall “Office/Productivity”

    • Hi Null,

      It’s not working older Fedora versions and CentOS/RHEL.

  24. For those who had this kind of issue:

    error: Failed dependencies:
    libgnomevfs-2.so.0()(64bit) is needed by libobasis3.5-gnome-integration-3.5.2-202.x86_64

    Maybe add –norequires option to your rpm command. For example: “rpm -Uvh –nodeps RPMS/*.rpm”

    • # /opt/libreoffice3.5/program/soffice

      The above command gives the following out-put:

      /opt/libreoffice3.5/program/soffice.bin: symbol lookup error: /opt/libreoffice3.5/program/../program/libpyuno.so: undefined symbol: PyUnicodeUCS2_FromUnicode

      I am trying to run libreoffice on RHEL6-x86_64 but sofar no success.

      Thanks.

  25. I have successfully installed 3.6 on my RHEL 6.3 but nothing happening when I gave the following command
    /opt/libreoffice3.6/program/soffice

    or if I press the menu ?!

    Previous version I was running successfully.. but that I uninstalled …

    Any advice/suggestion most welcome ASAP. In trouble

    Thanks in Advance.
    R@J

    • Hi RAJ,

      Do you get any errors if you run /opt/libreoffice3.6/program/soffice on command line as normal user?

      • There was no error. It was just staying without telling anything for a long time… I was infront of the black screen waiting for the spash screen or any error— it just negleted me completely without showing me a splash screen or some thing to help with atleast an error !!

        removing everything and installing again helped me this time…

        Thanks & Rgds.
        R@J

  26. Hi,

    I am able to run office now.. Thank God. I have uninstalled everything related to Office and installed again.

    Thanks
    Rgds.
    R@J

    • Excellent! You are welcome! Nice to hear that you got it working! :)

  27. it was very useful thanq

  28. I am getting the following problems. In the second step where we are extracting, I am not able to extract from root. This error comes.


    tar: LibO_3.6.2*: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now

    Please help. I am not able to install Libre Office because of this.

    • I somehow managed to extract only when I went without typing su -

      Whenever I went into the root, I got the above error. And after having installed libpng-compat and all, when I tried the localinstall in the next step, this is what I got.


      [root@Ankur-Fedora ~]# yum localinstall RPMS/*.rpm RPMS/desktop-integration/libreoffice3.6-freedesktop-menus-3.6*.noarch.rpm
      Loaded plugins: langpacks, presto, refresh-packagekit
      Cannot open: RPMS/*.rpm. Skipping.
      Cannot open: RPMS/desktop-integration/libreoffice3.6-freedesktop-menus-3.6*.noarch.rpm. Skipping.
      Nothing to do

      • You have to change directory to location where you have extracted package, example:

        cd /home/[replace your user name]/Downloads/LibO_3.6.2*

        And then run:

        yum localinstall RPMS/*.rpm RPMS/desktop-integration/libreoffice3.6-freedesktop-menus-3.6*.noarch.rpm
  29. How do you associate file types with LO? For instance I run yum remove libreoffice* to remove default 3.4.5 version from CentOS. Then I follow your tutorial. It is great, but I have to asign file types manually and twice: once for opening them from file system and second for opening them from thunderbird attachment :)

    Can I tell it during installation to associate itself with default types like LO 3.4.5 which comes by default?

    • Hi Milan,

      I just tested this on clean installed CentOS and LibreOffice files works just normally.

      Open Nautilus File Manager and click one document with right mouse button -> select properties -> select tab “Open with” -> add LibreOffice application and remove other applications

  30. Hi JR

    Thank you for this guide but I have a problem on my 2.6.43.8-1.fc15.x86_64 with LibreOffice 3.3.4 (the last yum update for F15).
    I try to install the last LibreOffice version (3.6).

    When: yum localinstall rpm -Uvh RPMS/desktop-integration/libreoffice3.6-freedesktop-menus-3.6.3-2.noarch.rpm
    I get: no such option: -U

    NB: yum localinstall RPMS/*.rpm
    –> Nothing to do

    If I open LibreOffice Writer, it’s still in 3.3.4.

    I don’t get where I’m wrong.

    • Hi wert,

      As Milan, commented it was typo on guide and you should use following instead:

      yum localinstall RPMS/desktop-integration/libreoffice3.6-freedesktop-menus-3.6.3-2.noarch.rpm

      Could you also post output of following command:

      rpm -qa libreoffice\* |sort
      • Thank you JR and Milan for your answers.

        yum localinstall RPMS/desktop-integration/libreoffice3.6-freedesktop-menus-3.6.3-2.noarch.rpm
        –> Impossible to open : RPMS/desktop-integration/libreoffice3.6-freedesktop-menus-3.6.3-2.noarch.rpm. Omission.
        Nothing to do.

        [root@xxx RPMS]# rpm -qa libreoffice\* |sort
        libreoffice3.6-3.6.3.2-2.x86_64
        libreoffice3.6-base-3.6.3.2-2.x86_64
        libreoffice3.6-calc-3.6.3.2-2.x86_64
        libreoffice3.6-dict-en-3.6.3.2-2.x86_64
        libreoffice3.6-dict-es-3.6.3.2-2.x86_64
        libreoffice3.6-dict-fr-3.6.3.2-2.x86_64
        libreoffice3.6-draw-3.6.3.2-2.x86_64
        libreoffice3.6-en-US-3.6.3.2-2.x86_64
        libreoffice3.6-freedesktop-menus-3.6.3-2.noarch
        libreoffice3.6-impress-3.6.3.2-2.x86_64
        libreoffice3.6-math-3.6.3.2-2.x86_64
        libreoffice3.6-stdlibs-3.6.3.2-2.x86_64
        libreoffice3.6-ure-3.6.3.2-2.x86_64
        libreoffice3.6-writer-3.6.3.2-2.x86_64
        libreoffice-calc-3.3.4.1-5.fc15.x86_64
        libreoffice-core-3.3.4.1-5.fc15.x86_64
        libreoffice-draw-3.3.4.1-5.fc15.x86_64
        libreoffice-graphicfilter-3.3.4.1-5.fc15.x86_64
        libreoffice-impress-3.3.4.1-5.fc15.x86_64
        libreoffice-kde-3.3.4.1-5.fc15.x86_64
        libreoffice-langpack-en-3.3.4.1-5.fc15.x86_64
        libreoffice-langpack-fr-3.3.4.1-5.fc15.x86_64
        libreoffice-math-3.3.4.1-5.fc15.x86_64
        libreoffice-opensymbol-fonts-3.3.4.1-5.fc15.noarch
        libreoffice-pdfimport-3.3.4.1-5.fc15.x86_64
        libreoffice-presenter-screen-3.3.4.1-5.fc15.x86_64
        libreoffice-ure-3.3.4.1-5.fc15.x86_64
        libreoffice-writer-3.3.4.1-5.fc15.x86_64
        libreoffice-xsltfilter-3.3.4.1-5.fc15.x86_64

        I don’t understand the error.

        • I’ve installed LO 3.6.3 on several PCs without issue, but on one I’ve had a issue with installing desktop integration. Whenever I used yum localinstall with local folder it threw error. Not the same as yours, but similar. Only way to install DI was to double lick on it in archive and let CentOS automatically extract and install rpm. I have no idea what caused this.

          Maybe you can try it too.

          • I tried to install
            /home/USER/Downloads/LibO_3.6.3.2_Linux_x86-64_install-rpm_en-US/RPMS/desktop-integration/libreoffice3.6-freedesktop-menus-3.6.3-2.noarch.rpm

            and
            /home/USER/Downloads/LibO_3.6.3.2_Linux_x86-64_install-rpm_en-US/RPMS/libobasis3.6-kde-integration-3.6.3.2-2.x86_64.rpm

            both say “waiting for service startup”
            (maybe a bad translation because I translated my French message)

            but nothing changed, LibreOffice is still in 3.3.4.

            • Hi wert,

              Actually you have libreoffice3.6-freedesktop-menus-3.6.3-2.noarch installed. Real problem is Fedora 15 different naming for LibreOffice packages, so please remove LibreOffice 3.3 and LibreOffice 3.6 and install just LibreOffice 3.6.3:

              yum remove libreoffice*

              Then follow this guide again. Do you get LibreOffice 3.6.3 working then?

              • After removing all LibreOffice and reboot the computer, I reinstalled the last LibreOffice version and it works!

                Thank you very much for your help, JR and Milan.

                • Excellent! You are very welcome!

  31. I believe command should be “yum localinstall RPMS/desktop-integration/libreoffice3.6-freedesktop-menus-3.6.3-2.noarch.rpm”.

    Remove rpm -Uvh

  32. hiiii jr
    its me install libreoffice
    its nt installing in pc

    • Hi lakshya,

      Could you tell more specific, what it’s your problem?

      And could you also post output of following commands:

      uname -a
       
      lsb_release -a
  33. ya sure , here it is
    [lakshya@lakshya ~]$ uname -a
    Linux lakshya 3.3.4-5.fc17.i686 #1 SMP Mon May 7 17:45:26 UTC 2012 i686 i686 i386 GNU/Linux
    [lakshya@lakshya ~]$ lsb_release -a
    bash: lsb_release: command not found…
    [lakshya@lakshya ~]$ uname -a
    Linux lakshya 3.3.4-5.fc17.i686 #1 SMP Mon May 7 17:4

    hey jr i want to install libreoffice on PC bt but terminal is showing error!!

    • Hi lakshya,

      Thanks and could you post exact error what terminal is showing?

  34. Hi. Since LibreOffice 4.0 came out a few days ago while Fedora’s still shipping 3.6.4.3 and because I have issue with setting the working directory with fedora’s version (see https://www.libreoffice.org/bugzilla/show_bug.cgi?id=59508 ) I’ve tried manually installing it with the rpms from libreoffice.org according to
    this guide. It works quite nicely, however, the UI looks bad, the menu fonts are either too small or too big, the menu colors kinda remind me of wine/windooze with that ugly blue. Fedora’s version seems to apply the gtk theme like any other application. Any hint on how to fix this would be appreciated.

    • Hi Jack,

      Yes, I know what you mean, gtk stuff looks like Windows 95. First I thought that was LOdev 4 version problem, but it still exists on LibreOffice 4.0.0 final release.

      Unfortunately even old trick:

      yum install light-gtk2-theme light-gtk3-theme

      Doesn’t fix ugly UI on LibreOffice 4.0.0 (it worked with LibreOffice 3.x.x).

      I have to look this a little more closely, if there any solution to this.

      • Thanks for looking into it. Actually, I had the same problem with 3.6.x versions directly from libreoffice.org – and honestly, I don’t quite understand how a gtk theme would fix it, when my system uses a completely diffrent theme (I’m using Xfce4 with a hand compiled equinox engine and the equinox-gass theme). I kinda fear libreoffice set the UI to be rather static in their binary rpms while Fedora patched something to make system themes work (while at the same time breaking paths settings). I even grabbed the source rpm and looked over the SPEC file to seewhat they patched, but just couldn’t find anything (yet).

        • Install pangox-compat and UI looks normal again:)

          • Thanks Thomas,

            Installing pangox-compat do the trick! Excellent! :) I add this to guide.

            • Thanks a million, works like a charm. And yet again, thanks for all the guides and keeping the information coming together. You rock.

  35. THANK you SO much for this!….I have been beating my brains out trying to figure out why I couldn’t get this to install….after following your instructions I now have LibreOffice 4.0!…I’m gonna go and install it on ALL my machines now! (I have about 7!…LoL! I know..I’m just a pathetic GEEK!…but it’s just too much fun!)

    Cheers!

    EGO II

  36. Thanks,

    Working with oracle linux server 6.3. no problems faced during the installation and working like charms. Thanks a ton.

  37. Thank You for the pangox-compat fix, I’ve been scratching my head for hours.

    • Strangely, WITH the pangox-compat fix, I get another problem, that I can’t set the working Dir within Libreoffice (under options, Paths. See also here ) anymore. No matter what directory I set it to, it’ll always set to my home directory. I had the same problem with 3.6.x as shipped by Fedora. I can, however, set the directory on that crippled UI, WITHOUT the pangox-compat package.

      • Hi Jack,

        Did you get this resolved?

        If not, then I can try setup fresh installed Fedora with XFCE and try this too. This sounds like a bug, but it’s hard to say where the bug really is.

        • Hi JR,

          thanks for asking asking about this again. And no, I haven’t found any way to fix it yet.
          If you want to test it out, that’d be great. However, as you said already, it will be very hard to find out what is exactly not working in connection with XFCE. I don’t want to switch my desktop though, XFCE is just the best Desktop for my needs. It’s fast, looks pretty and is easy to customize. I used to work with twm in a pure Xorg environment, but XFCE is so much easier to set up without much loss of performance.
          As for that bug, I was so sure it had something to do with Fedora’s packages (that they patched something to the source that broke the path settign on XFCE), but
          obviously that’s not the case as the original rpms from libreoffice.org have exactly the same issue now with the pangox-compat package. It does have to do something with Fedora
          18 though, because it still worked on Fedora 16 and funny enough it does work on that
          broken UI (when I remove pangox-compat that is). For now I learnt to live with it by
          setting up a bookmark (with .gtk-bookmarks) that points to my Document directory. It’s not ideal, but it’s better than nothing.

          • Hi Jack,

            I tested this and it “works” exactly how you described. Without pangox-compat it works normally and with pangox-compat installed it loses the selected path.

            I quickly check files under ~/.config/libreoffice/4/user and it appears that the this path is set in registrymodifications.xcu file.

            You can manually set this path:
            1. Change My Documents path to default Options -> Paths -> clicking default and then ok
            2. Close LibreOffice (all open windows)
            3. Open ~/.config/libreoffice/4/user/registrymodifications.xcu
            4. Find following line:

            <item oor:path="/org.openoffice.Office.Paths/Paths/org.openoffice.Office.Paths:NamedPath['Work']"><prop oor:name="WritePath" oor:op="fuse"><value>$(work)</value></prop></item>

            Change value to:

            <value>$(home)/some/directory</value>

            5. Save and close file
            6. Open LibreOffice and test

            Is it working then?

            If yes, then modify this path manually. If you try to use Options -> Paths, it will lose it again. :)

            • Oh yes, setting the path manually does the job. It’s been so annoying when I wanted to go through several documents to look for something and had to switch to my data directory for each one because libreoffice never kept its path. I tried to find out where it stores these settings, but I just couldn’t find it. You’re awesome, thanks so much for the help once more.

              • You are welcome! Excellent to hear that you got it working!

                Unfortunately I can’t explain why pangox-compat cause this problem, but this is temporary fix to problem, until pangox-compat is fixed.

                • Hi JR,

                  First, I don’t think the problem is within pangox-compat. As I said, the libreoffice packages shipped by fedora have the same issue and they don’t even rely on pangox-compat. My assumption is that when breaking the UI by removing pangox-compat, the problem gets circumvented somehow, by providing a diffrent UI dialogues and buttons etc.
                  Second, unfortunately I was to fast in saying that your temporary fix solved the problem. After manually changing that config file it does work: exactly once. After loading one document it resets to my home directory again, even though the path in the config file is still there. Maybe there’s more to it than just the
                  registrymodifications.xcu file.

                • Sorry for spamming your blog, but I found out some more interesting facts about that Paths setting problem which I think may be interesting:
                  I tried diffrent desktops and found out that setting the Paths in the gui works just fine when using LXDE. Interesting enough, in KDE it also works fine for libreoffice 3.6.x (as shipped by Fedora) but NOT with version 4.0. LXDE uses openbox as window manager, so I tried the following. I replaced xfwm4 with openbox in XFCE by running openbox --replace in a terminal and then saving my session. Now setting and saving the Paths works as it should both in libreoffice 3 and 4. I suspect that bug is somewhere in xfwm 4.10, which would explain why I didn’t have any problems in Fedora 16 which was still using xfce 4.8. I could confirm the same paths setting problem on the xfce edition of Linuxmint on my notebook, so it’s not tied to Fedora.

                  • Very interesting, thanks Jack!

                    Excellent debugging, it’s definitely xfwm 4.10 problem then. One good thing, you get much better window manager when you change xfwm to openbox (in my opinion). ;)

  38. thanks for this.. This is a great site..

  39. I like the helpful info you provide in your articles. I’ll bookmark your blog and check again here regularly. I am quite certain I will learn lots of new stuff right here! Best of luck for the next!

  40. I have a problem installing libreoffice. I used to have version 3.6.0. I wanted to upgrade to latest version. After removing the previous version, I tried to install the latest version. That is where I am getting into a fix. It maybe a trivial but it is irritating.

    LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
    Distributor ID: RedHatEnterpriseWorkstation
    Description: Red Hat Enterprise Linux Workstation release 6.3 (Santiago)
    Release: 6.3
    Codename: Santiago

    Error:
    After giving yum install *.rpm, it goes through the RPMS folder for the required RPMs and their dependencies and shoots out the undermentioned error.
    Error: Package: libobasis4.0-core01-4.0.1.2-2.x86_64 (/libobasis4.0-core01-4.0.1.2-2.x86_64)
    Requires: libreoffice4.0-ure

    I thought the db might have been corrupted during the un-install (yum remove libreoffice*). So I cleaned it up. still no use.

    Any assistance is required. Thank you.

    • Hi Arvin,

      Could you post output of following command:

      ls -la RPMS/

      Btw. right command to install is yum localinstall.

  41. Good morning,

    thanks a lot for this post and your site in general!
    I’ve just install libreoffice 4.0.1 and everything is alright.

    Except when I try to install the french languqga pack. I get the same error as below :

    Erreur : Paquet : libobasis4.0-fr-help-4.0.1.2-2.x86_64 (/libobasis4.0-fr-help-4.0.1.2-2.x86_64)
    Requiert : libobasis4.0-fr

    and ls -la RPMS/ gives

    libobasis4.0-fr-help-4.0.1.2-2.x86_64.rpm

    Best regards

  42. Thanks a lot!

    It works.

  43. Thanks for a useful article.

    I used your procedure as a starting point for installing LibreOffice 4.1 plus my regional settings on CentOS 6.4 i686. Once the main LibreOffice_4.1.0_Linux_x86_rpm.tar.gz file has been extracted, everything is installed with
    yum localinstall RPMS/*.rpm

    The desktop-integration in the main RPMS folder.

    I also installed my regional language and helpfile.
    LibreOffice_4.1.0_Linux_x86_rpm_langpack_en-GB.tar.gz
    LibreOffice_4.1.0_Linux_x86_rpm_helppack_en-GB.tar.gz

    Each one of these extracts into it’s own directory. Start with the langpack first and then install the helppack otherwise you will get complaints of missing libraries. Change to the appropriate folder for each and use the
    yum localinstall RPMS/*.rpm
    command to install them.

    HTH,
    Nick.

  44. Thanks alot! by the guide, Now I installed all Ok on Centos 6.4, using your guide. Thank you!.
    best regards.

    Sirliebre.

  45. I able to install finally as it says below on completion

    Installed size: 24 M
    Is this ok [y/N]: y
    Downloading Packages:
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Warning: RPMDB altered outside of yum.
    Installing : libobasis4.1-en-US-help-4.1.3.2-2.x86_64 1/1
    Verifying : libobasis4.1-en-US-help-4.1.3.2-2.x86_64 1/1

    Installed:
    libobasis4.1-en-US-help.x86_64 0:4.1.3.2-2

    Complete!

    But I do not see any icon or able to run /opt/libreoffice4.1/program/soffice

    How can I get its GUI or able to start.
    please help

  46. Thank you so much!

  47. The RPM link above is no longer working. Updated and latest URL is


    http://download.documentfoundation.org/libreoffice/stable/4.1.4/rpm/x86_64/LibreOffice_4.1.4_Linux_x86-64_rpm.tar.gz

    However, great post. Thanks!

    • Thanks Nithin, I updated this guide.

  48. Thank you!

  49. [prathm@localhost ~]$ yum localinstall RPMS/*.rpm
    Loaded plugins: presto, refresh-packagekit
    You need to be root to perform this command.
    [prathm@localhost ~]$ su -
    Password:
    [root@localhost ~]# yum localinstall RPMS/*.rpm
    Loaded plugins: presto, refresh-packagekit
    Setting up Local Package Process
    Cannot open: RPMS/*.rpm. Skipping.
    Nothing to do
    [root@localhost ~]# cd LibreOffice_4.1.5*
    -bash: cd: LibreOffice_4.1.5*: No such file or directory
    [root@localhost ~]# yum localinstall RPMS/desktop-integration/libreoffice3.6-freedesktop-menus-3.6.3-2.noarch.rpm
    Loaded plugins: presto, refresh-packagekit
    Setting up Local Package Process
    Cannot open: RPMS/desktop-integration/libreoffice3.6-freedesktop-menus-3.6.3-2.noarch.rpm. Skipping.
    Nothing to do
    [root@localhost ~]# su -c ‘yum remove libreoffice*’
    Loaded plugins: presto, refresh-packagekit
    Setting up Remove Process
    No Match for argument: libreoffice*
    No Packages marked for removal
    [root@localhost ~]# sudo -i
    [root@localhost ~]# tar -xvf LibreOffice_4.1.5*
    tar: LibreOffice_4.1.5*: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    [root@localhost ~]#

    • Hi Prathamesh,

      Your command line output looks a bit messy. Could you please start over and run this guide commands step by step?

      If you extracted LibreOffice package, then looks like you are wrong path, when you run yum localinstall command…looks like you are first prathm user home and then root home, when you run those commands, so yes it won’t work.

      You could example change path to /tmp and make sure that you run all this guide commands exactly /tmp directory.

  50. Why would you want to install the old version of libreoffice? Now Libreoffice 4.2.3.3 is standard in fedora 20 repositories…

Add Comment Register



Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>