19 May 2013

Swapnil Bhartiya's picture
Posted by Swapnil Bhartiya on March 10, 2011

LibreOffice has reached the stable version and is now getting new features. Just recently, the community driven office suite got new icon sets. If you are an Ubuntu/Debian user, you will find it very easy to install LibreOffice on your machine. If you have not installed LibreOffice yet, you can see the instructions here. But if you are running Fedora 14, you may have to work a bit to install LibreOffice on your machine, but it is very much doable – and its good old GNU/Linux fun too!

LibreOffice Running in Fedora 14

First of all download the .rpm version of LibreOffice from this link. The files will be downloaded to your Download folder, if you have not changed the default location of file downloads. Go to the downloaded files and extract the files by right clicking on it and selecting 'extract here'. Once your files are extracted, its time to play with the Terminal or command line.

Open the terminal from Applications > System Tools. Change user by running this command:
Su -
enter password.

You should be the root user, now.  You need to change directory (CD) to the RMP folder of the extracted files. In my case the path was:
[root@localhost ~]# cd /home/Muktware/Downloads/LibO_3.3.1rc2_Linux_x86_install-rpm_en-US/RPMS/

Now run this command:
[root@localhost ~]# rpm -ivh *rpm

This should install the rmp files in that folder, or will install LibreOffice on your machine. But you also need LibreOffice to be integrated to your desktop. Change directory again and just add 'desktop-integration' to the previous path.

[root@localhost ~]# cd /home/Muktware/Downloads/LibO_3.3.1rc2_Linux_x86_install-rpm_en-US/RPMS/desktop-integration/

and run this command:

[root@localhost ~]# rpm -ivh *rpm

But running this command may throw some errors:

[root@localhost desktop-integration]# rpm -ivh *rpm
error: Failed dependencies:
    libreoffice3.3-suse-menus conflicts with libreoffice3.3-freedesktop-menus-3.3-8.noarch
    libreoffice3.3-redhat-menus conflicts with libreoffice3.3-freedesktop-menus-3.3-8.noarch
    libreoffice3.3-mandriva-menus conflicts with libreoffice3.3-freedesktop-menus-3.3-8.noarch
    mandrake-release is needed by libreoffice3.3-mandriva-menus-3.3-8.noarch
    /etc/SuSE-release is needed by libreoffice3.3-suse-menus-3.3-8.noarch

The problem here is, from what I understand, the desktop-integration folder contains files for Mandriva, Suse and other .rpm based distros and they conflict. So, go to the desktop-integration folder of the extracted files and delete three non Fedora/Red Hat files

Fedora 14, LibreOffice Error

libreoffice3.3-freedesktop-menus-3.3-8.noarch.rpm
libreoffice3.3-mandriva-menus-3.3-8.noarch.rpm
libreoffice3.3-suse-menus-3.3-8.noarch.rpm


Now, all you have is "libreoffice3.3-redhat-menus-3.3-8.noarch.rpm" Run this command again:
[root@localhost ~]# cd /home/Muktware/Downloads/LibO_3.3.1rc2_Linux_x86_install-rpm_en-US/RPMS/desktop-integration/
[root@localhost ~]# rpm -ivh *rpm

You should now be able to see clean install. You can now go to Applications > Office and open LibreOffice. There is a possibility of a glitch if Java Runtime is not installed on your machine. You may see an error.

LibreOffice JRE Dependecy Fedora 14

There is a solution. Log out of su account in terminal and close it. Go to Applications > System Tools > YumExtender and search for 'java'. Just install the JRE and you are good to go, now you can run LibreOffice on your Fedora 14 machine. If you face any problem, let me know.

Swapnil Bhartiya

A free software fund-a-mental-ist and Charles Bukowski fan, Swapnil also writes fiction and tries to find cracks in a proprietary company's 'paper armours'. He is a big movie buff and prefers listening to music at such high volumes that he's gone partially deaf when it comes to identifying anything positive about proprietary companies. You can follow him on Twitter, Google+ & Facebook. You can write to him on editor at muktware dot com