Friday, February 08, 2013

Install Libreoffice 4.0 on Ubuntu 12.04.

LibreOffice 4.0 was released on 7th Feb 2013.

Update: As on 4th March PPA for Libreoffice 4.0 is available. You can add the PPA by following command:
sudo add-apt-repository ppa:libreoffice/libreoffice-4-0
sudo apt-get update

Although I use LTS versions of Ubuntu, I upgrade the packages to latest by using relevant PPAs, however, I continued with Libreoofice 3.5 the version on Ubuntu 12.04.

Today I read about release of LibreOffice 4.0 and I decided to install since it may take sometime before PPA for Libreoffice 4.0 arrives for Ubuntu 12.04.

I downloaded the debs from Libreoffice.org.

Libreoffice 4.0 can be installed without removing the default Libreoffice 3.5 on Ubuntu 12.04 as per procedure on this page, however I removed the installed version of Libreoffice:
sudo apt-get purge libreoffice*

After opening the terminal in the directory containing the DEBS I installed Libreoffice 4.0
sudo dpkg -i *.deb
cd desktop-integration
sudo dpkg -i *.deb

After installing you can click on Dash and search for "libreoffice" and open Writer. After it is open you can lock the icon on the launcher. Similarly you can open Calc from Dash and lock the icon on the launcher.

On Kubuntu 12.04 or any other distribution you can run the following command to start Libreoffice 4.0
libreoffice4.0

It is working fine but Menu integration with Unity Desktop is not working and it is not working in Ubuntu 13.04 either.

You can chose Firefox Themes in Libreoofice 4.0. I have installed Underwater Dolphins Theme:

5 comments:

SeijiSensei said...

In Kubuntu 12.04 I had to do some extra work to get it to integrate with the desktop. If you run soffice from the command prompt with "$ soffice &", you'll see that it complains that it cannot find the version string GLIBCXX_3.4.11 in the file ../ure-link/lib/libstdc++.so.6 which is packaged with LibreOffice4!

Luckily you already have a more up-to-date version of libsstdc++.so.6 in /usr/lib/i386-linux-gnu. I renamed the packaged file and created a symlink to the file in /usr/lib.

Kamalakar Agashe said...

for SeijiSensei
When you install Libreoffice 4.0 from debs it gets installed in /opt with launchers in /opt/libreoffice4.0/program/ Opening Writer/Calc etc is easy on Ubuntu when you search for libreoffice on Dash.

The command "$ soffice" does not work even on Ubuntu 12.04 but
"$ libreoffice4.0" works because there is a symlink of /opt/libreoffice4.0/program/soffice in /usr/bin/libreoffice4.0

I am sure you will find this symlink in Kubuntu 12.04 as well.

Unknown said...

I searched for the libreoffice 4.0 ppa but i found nothing. Someone know if it will be released for ubuntu 12.04?

Kamalakar Agashe said...

for Leandro Heck
It will come as default in Ubuntu 13.04 and ppa will come for Ubuntu 12.04 as well.

Kamalakar Agashe said...

for Leandro Heck
PPA for Libreoffice 4.0 is now available. I have updated the post.

Creating signed Form 15H file using pdftk and Drive app.

 I had invested in NCDs because there was no TDS on interest income on NCD. But from the current FY 2023-24 there is TDS on interest on NCD....