jueves, 25 de julio de 2013

How to install LibreOffice 4.1.0 in Mageia 3


Let us assume that you are a newbie running Mageia 3 (like me, I guess). You know that Linux distributions have differences; for example, while Debian uses packages named .deb, Mageia requires packages known as .rpm.

You also know that Linux distros have a different release schedule. If you check Mageia's here, you will have to wait February 2014 to get a new version of the distribution with a new LibreOffice if they do not update the package later this year.  But you want Libre Office to run in your Mageia 3 system right now, so you go to the download section of LibreOffice and, if everything goes right, you will see the packages that you need for your distro and language.  You can confirm if you are getting the right RPM packages because you know how to read (something you learned as a child and have been practicing ever since).  So you download the main installer, the language translation, and the built-in help in your local language.

So, you download the files... now what?

Installation of LibreOffice in Mageia 3

You need: The installation files, your root password, and self confidence.

Once you have the file, you right-click on it and select "extract here, auto detect subfolder". Then you get inside the newly created folder and go inside a sub folder called RPMS.

WARNING:
the following step is not for the faint of heart as it requires use of the TERMINAL!!

Yes, the above is sarcasm. I've read too much about how complicated and inconvenient it is to use the terminal...well, not in this case. I could do it and, believe me, I have no training in programming.

Once inside the folder RPMS, go to the window menu and click on "tools". Select "open terminal" to deal with the friendly black screen.
1. Type su
The terminal returns: password:
2. Type your root password (you have it, don't you?)
The terminal returns: [root@localhost RPMS]#
3. Type urpmi *.rpm and relax while the computer does its own thing. You will read many messages, but do not be afraid.  Let the computer handle the installation.  Once it's over, you will see the same prompt ([root@localhost RPMS]#)
4. Now, close the terminal (Boy, that didn't hurt, did it?)

Perform the same operation with the language file: right-click on it and select "extract here, auto detect subfolder". Then you get inside the newly created folder and go inside the sub folder called RPMS.  Once inside this folder, go to the window menu and click on "tools". Select "open terminal" to deal with the charming black screen. YES, AGAIN! But you are not afraid, are you?

1. Type su
The terminal returns: password:
2. Type your root password
The terminal returns: [root@localhost RPMS]#
3. Type urpmi *.rpm and wait for the computer to finish its thing. When it's over, you will see the same prompt ([root@localhost RPMS]#)
4. Now, close the terminal (Boy, that was enlightening, wasn't it?)


Then do exactly the same for the help file.

After this, your OFFICE menu in Mageia will display icons for LibreOffice under the section MORE.

By the way, having both LibreOffice 4.0.2 and LibreOffice 4.1.0 does not imply that the two office suites fight like cats and dogs within your computer, in case you are wondering. UPDATE (Jul-27-2013): Today, the update to LibreOffice 4.0.4.2 hit the repos.  When you update LibreOffice, your system will only call LibreOffice 4.1 regardless of which version you choose.  That is OK, (unless you want to type in Japanese).

My only complaint about LibreOffice 4.1.0 so far is that I haven't been able to use iBus (the input method editor) to enter text in Japanese. That's a big concern for me. I hope to find a solution soon. In the meantime, I'll keep the previous version for that purpose... or Abiword.

(For those readers that might thinking about having experienced Déjà Vu --or Déjà Lu ;P --, let me clarify that this is a slightly modified re-post of an entry I wrote before.  It was for Mandriva 2010.2 when the first version of LibreOffice was released.  The original is here.)

2 comentarios:

  1. I want to download LO 4.1, but being unable to use Japanese input puts me off.

    ResponderEliminar
  2. Yes, that's why I keep both versions. When they release the update, this problem will be gone for sure.

    ResponderEliminar

14 Years?! Happy anniversary, Mandriva Chronicles!

 Yes, today is the 14th anniversary of this humble blog, which I created to register my experiences as a Linux user. What has changed since ...