This is guide, howto to install LibreOffice 4.0.2 on Fedora 18/17/16/15/14/13/12, CentOS 6.4/6.3/6.2/6.1/6 and Red Hat (RHEL) 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 18/17/16/15/14/13/12, CentOS/Red Hat (RHEL) 6.4/6.3/6.2/6.1/6 users.
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?
.
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, …
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:
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?
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.
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….
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
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…
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.
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?
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
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.
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.
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.
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.
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?
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. 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.
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).
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!)
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.
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.
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:
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.
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.
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). ;)
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!
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.
hello
thank u for ur good job
it is very useful
u have my thanks
How do you keep your Libreoffice updated? Manually checking for new releases?
Hi Kshitij Mehta,
If you are not Fedora 16 user, then manually. LibreOffice doesn’t have (currently) built-in update system, like latest OpenOffice…
You can check manually for updates or you can use my repo ;-)
http://www.nux.ro/archive/2012/04/LibreOffice_org_RPMs_in_a_yum_friendly_format.html
Thanks for this repo Nux! :)
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)?
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.
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!
Excellent tutorial thank you!
Keep up the good work on Fedora as there are not as many good tutorials like this!
Regards,
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
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. :)
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!
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
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?
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… :)
Works great, thanks again! Got both versions installed.
Excellent! :)
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?
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,
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):
updatedbAnd then post output of following commands:
[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_64Then try installation again. :)
Gr8 help
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.
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.
cheers, mate, this really helped :)
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….
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!
why not just: yum groupinstall “Office/Productivity”
Hi Null,
It’s not working older Fedora versions and CentOS/RHEL.
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.
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
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! :)
it was very useful thanq
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:
And then run:
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
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:
Could you also post output of following command:
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:
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!
I believe command should be “yum localinstall RPMS/desktop-integration/libreoffice3.6-freedesktop-menus-3.6.3-2.noarch.rpm”.
Remove rpm -Uvh
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:
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?
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-themeDoesn’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.
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
Thanks,
Working with oracle linux server 6.3. no problems faced during the installation and working like charms. Thanks a ton.
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:
Change value to:
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 --replacein 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). ;)
thanks for this.. This is a great site..
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!
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:
Btw. right command to install is yum localinstall.
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
Hi Mathieu,
Do you want install French version of LibreOffice?
Download this: http://www.libreoffice.org/download/?type=rpm-x86_64&lang=fr
Thanks a lot!
It works.