Friday, February 8, 2013

Ubuntu Precise: Install LibreOffice 4.0.0 full suite

LibreOffice 4.0.0 is released and you can download the installation file from LibreOffice site. Two files are to be download:
  • LibreOffice_4.0.0_Linux_x86_deb.tar.gz (170 MB)
  • LibreOffice_4.0.0_Linux_x86_deb_helppack_en-US.tar.gz (9 MB)

Before proceeding, first uninstall the existing LibreOffice installation via terminal, by:

sudo apt-get remove libreoffice*


Now go to the downloaded files. Extract the first file to, say, Downloads directory. Inside there will be two folders: DEBS and readmes. Now start a terminal in Ubuntu 12.04.1 or 12.10, whichever version you are using and change directory to the DEBS directory:

cd ./Downloads/LibreOffice_4.0.0.3_Linux_x86_deb/DEBS

Then run the packages inside by:
sudo dpkg -i *.deb

The above dpkg command does the first part of the installation process. To complete the process, you also need to install the desktop integration packages. To do this, once the above code runs, change directory to the "desktop-integration" directory that is within the "DEBS" directory, using the following command:

cd desktop-integration

Now run the dpkg command again:

sudo dpkg -i *.deb

The installation process is now completed, and you should have icons for all the LibreOffice applications in your desktop's Applications/Office menu.

To install LibreOffice help, extract the second file. A folder named "LibreOffice_4.0.0.3_Linux_x86_deb_helppack_en-US" will be created. Inside, you will see another directory named DEBS. Inside DEBS, an installation file libobasis4.0-en-us-help_4.0.0.3-103_i386.deb will be there. Open it with Gdebi package manager, type your root password and within a minute help will be installed.

You can get hold of the new features in LibreOffice 4.0.0 here.
 

8 comments:

  1. Thank you, very helpful.

    ReplyDelete
  2. according to webupd8 article, you can also

    download the LibreOffice deb archive from its website, extract it, and inside the folder where the deb files are extracted you'll find a folder called "desktop-integration" with a deb inside - copy this deb into the folder where all the other deb files are located and run the following command from a terminal to install LibreOffice 4.0:

    sudo dpkg -i /path/to/libreoffice/DEBS/*.deb

    ReplyDelete
  3. Thanks for the quick procedure, it installed flawlessly.

    ReplyDelete
  4. Sir! I've a problem with some of Devanagari Fonts i.e. Kokila, Nirmala UI, Utsaah, etc. licensed to Microsoft. I've Ubuntu 12.10 and problem is with the words containing 'RAFAAR' e.g. Dharmashala, Karnataka, Karnad. Actually when these word are typed that rafaar splits all over place in the para. This happens to above mentioned fonts only. While using system default fonts there is no problem at all. Please help!

    ReplyDelete
    Replies
    1. Hi Vinayak:

      Even I haven't got much expertise on the fonts piece. However, using wine you can install Microsoft fonts. Possibly you can try it out.

      Thanks,
      Arindam

      Delete
    2. Thanks Sir!

      Sorry for troubling you.

      Delete