How to Install LibreOffice 4.0.0 on CentOS 6/RHEL 6.3


LibreOffice 4 is launched and I was very exited to install it on my CentOS 6. It was really a good experience to install and use it. I am very happy to see that its performance is enhanced a lot. Documents are opening very fast than the earlier versions. I would like to share its installation procedure here for CentOS 6.

LibreOffice4

Preparation of installation of LibreOffice 4.0.0:

First of all download the newer version of LibreOffice 4.0.0 using wget command as follows.

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

This tar file contains RPMs of LibreOffice 4.0.0 package. Extract this tar file to some location, I like /opt.

tar -xf Libreoffice_4.0.0_Linux_x86_rpm.tar.gz -C /opt

Uninstall Previous version of LibreOffice Package:

Previously existing installation of LibreOffice package must be removed before proceeding to installation of newer version. You can use yum erase command to remove old LibreOffice package.

yum erase libreoffice\*

You can use any method to uninstall earlier LibreOffice package but it must be uninstalled first. Check my earlier post How to use yum for package management.

Installation of LibreOffice 4.0.0 RPMs:

To install the RPM, you can use yum command again.

cd /opt/LibreOffice_4.0.0.3_Linux_x86_rpm/RPMS/
yum localinstall *.rpm

It will install all LibreOffice RPMs from RPMS directory.

Finalizing the installation:

The above command(s) does the first part of the installation process. To complete the process, you also need to install the desktop integration packages. To do this, change directory to the desktop-integration directory that is within the RPMS directory, by entering the following command at the command line of a terminal window:

cd desktop-integration

Now run the installation command again:

yum localinstall libreoffice4.0-freedesktop-menus-4.0.0-103.noarch.rpm

The installation process is now completed, and you should have icons for all the LibreOffice.

LibreOffice-Start

LibreOffice-about

Now you are ready to enjoy the power of opensource. Try this version, you will feel proud to be an Open Source user or supporter. Thanks a lot to Document Foundation for such a great product.

If you like this please don't forget to share this with others, Thanks.

About these ads

7 thoughts on “How to Install LibreOffice 4.0.0 on CentOS 6/RHEL 6.3

  1. Pingback: install libre office on centos 6.2 using yum

  2. Just had LO3 crash on me saving a label document. So checked and found LO4 was available. Downloaded per your instructions, but had problems with the tar command, left off the tar x”zv”f to gunzip the file but figured that out and then it didn’t put it in the /opt directory as I did it under a different user. Located the rpms and install went as you instructed. Tried the same thing got the label built and page shown and then saved and Writer stayed open. YEA!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s