Upgrading LibreOffice to 3.4.1 in Ubuntu 11.04

LibreOffice 3.4.1 ‘Final’ is now out (1 July 2011), and is described as safe for the production needs of most users.
(‘enterprise’ deployments may want to wait till 3.4.2, due at the end of July)

LibreOffice 3.4.1 includes the following highlights:

  • Ability to work with and import SVG (Scalable Vector Graphics) files.
  • Import filter for Lotus Word Pro documents.
  • Import filter for Microsoft Works documents.
  • Easily format title pages and numbering in LibreOffice Writer.
  • Enhanced Navigator Tool in LibreOffice Writer.
  • Better ergonomics for cell and sheet management in LibreOffice Calc.
  • PDF import support.
  • Slide-show presenter console.
  • Better report builder.
  • Comes bundled with lots of great extensions.

Full “Features and Fixes” page here:

To install LibreOffice 3.4.1 in Ubuntu 11.04, you will need to:-

a) Download 3 archives
b) Uninstall LibreOffice 3.3.x (default in Ubuntu 11.04)
c) Install LibreOffice 3.4.1 (and Global Menu support, if you wish)
d) Drag & Drop the icons from the application lens to the Launcher dockbar

OK, the instructions…

a) Downloading the files.

Go here:

and make sure to select Linux x86 (deb) or Linux x64 (deb) depending on your architecture, and en-GB - English (GB) as the language.

You should be offered the following 3 files for download (if you select 32bit, the -64 will be missing from the names)

LibO_3.4.1_Linux_x86-64_install-deb_en-US.tar.gz LibO_3.4.1_Linux_x86-64_langpack-deb_en-GB.tar.gz LibO_3.4.1_Linux_x86-64_helppack-deb_en-GB.tar.gz

So go ahead and download them :slight_smile:


b) Uninstalling LibreOffice 3.3.x

Simply run:

sudo apt-get remove libreoffice-core

Or if you also want to remove the config files:

sudo apt-get remove --purge libreoffice-core

c) Installing LibreOffice 3.4.1 (and Global Menu support, if you wish)

OK, from this point on I’m going to assume you have the 64 bit versions, if you have the 32bit version, just remove the -64 from the commands… I’m also assuming the 3 files you downloaded are in your home directory.

First unpack the 3 files:

cd ~
tar -zxvf LibO_3.4.1_Linux_x86-64_install-deb_en-US.tar.gz
tar -zxvf LibO_3.4.1_Linux_x86-64_langpack-deb_en-GB.tar.gz
tar -zxvf LibO_3.4.1_Linux_x86-64_helppack-deb_en-GB.tar.gz

Now install all the .deb files

cd ~/LibO_3.4.1rc3_Linux_x86-64_install-deb_en-US/DEBS
sudo dpkg -i *.deb
cd ~/LibO_3.4.1rc3_Linux_x86-64_install-deb_en-US/DEBS/desktop-integration
sudo dpkg -i *.deb
cd ~/LibO_3.4.1rc3_Linux_x86-64_langpack-deb_en-GB/DEBS
sudo dpkg -i *.deb
cd ~/LibO_3.4.1rc3_Linux_x86-64_helppack-deb_en-GB/DEBS
sudo dpkg -i *.deb

OK, all installed :slight_smile:

Global Menu Support
If you want LibreOffice 3.4.1 integrated into the Ubuntu 11.04 “Global Menu”, don’t use the lo-menubar package from Synaptic… instead download the lo-menubar.oxt LibreOffice extension from here:
https://bugs.freedesktop.org/attachment.cgi?id=47502
or here:
http://dl.dropbox.com/u/11876059/lo-menubar.oxt
and just double-click it to install


d) Replacing the Icons to the Launcher dockbar:

You just need to open the “Applications” lens, enter LibreOffice in the “Search Applications” field, then drag-and-drop any icons you want to the Launcher.


TO UNDO -

If you decide you don’t want it, LibreOffice 3.4.1 can be uninstalled with:

sudo apt-get remove libreoffice3.4*
mv ~/.libreoffice ~/.libreoffice-old

and LibreOffice 3.3.x reinstalled with:

sudo apt-get install libreoffice

then re-add the icons back to the launcher.

Every thing went OK until I tried to install the new software.

The 3 packages are in my Home folder as I am running 32 bit system I removed -64 but I keep getting reports that the packages can not be found what could be the problem?

You’ve probably downloaded the newer 3.4.2 rather than 3.4.1

Instructions re-written for LibreOffice 3.4.2 (32bit)

a) Downloading the files.

Go here:

and make sure to select Linux x86 (deb) and en-GB - English (GB) as the language.

You should be offered the following 3 files for download.

LibO_3.4.2_Linux_x86_install-deb_en-US.tar.gz LibO_3.4.2_Linux_x86_langpack-deb_en-GB.tar.gz LibO_3.4.2_Linux_x86_helppack-deb_en-GB.tar.gz

So go ahead and download them :slight_smile:


b) Uninstalling LibreOffice 3.3.x

Simply run:

sudo apt-get remove libreoffice-core

Or if you also want to remove the config files:

sudo apt-get remove --purge libreoffice-core

c) Installing LibreOffice 3.4.2 (and Global Menu support, if you wish)

OK, from this point on I’m going to assume the 3 files you downloaded are in your home directory.

First unpack the 3 files:

cd ~
tar -zxvf LibO_3.4.2_Linux_x86_install-deb_en-US.tar.gz
tar -zxvf LibO_3.4.2_Linux_x86_langpack-deb_en-GB.tar.gz
tar -zxvf LibO_3.4.2_Linux_x86_helppack-deb_en-GB.tar.gz

Now install all the .deb files

cd ~/LibO_3.4.2rc3_Linux_x86_install-deb_en-US/DEBS
sudo dpkg -i *.deb
cd ~/LibO_3.4.2rc3_Linux_x86_install-deb_en-US/DEBS/desktop-integration
sudo dpkg -i *.deb
cd ~/LibO_3.4.2rc3_Linux_x86_langpack-deb_en-GB/DEBS
sudo dpkg -i *.deb
cd ~/LibO_3.4.2rc3_Linux_x86_helppack-deb_en-GB/DEBS
sudo dpkg -i *.deb

OK, all installed :slight_smile:

Global Menu Support
If you want LibreOffice 3.4.2 integrated into the Ubuntu 11.04 “Global Menu”, don’t use the lo-menubar package from Synaptic… instead download the lo-menubar.oxt LibreOffice extension from here:
https://bugs.freedesktop.org/attachment.cgi?id=47502
or here:
http://dl.dropbox.com/u/11876059/lo-menubar.oxt
and just double-click it to install


d) Replacing the Icons to the Launcher dockbar:

You just need to open the “Applications” lens, enter LibreOffice in the “Search Applications” field, then drag-and-drop any icons you want to the Launcher.


TO UNDO -

If you decide you don’t want it, LibreOffice 3.4.2 can be uninstalled with:

sudo apt-get remove libreoffice3.4*
mv ~/.libreoffice ~/.libreoffice-old

and LibreOffice 3.3.x reinstalled with:

sudo apt-get install libreoffice

then re-add the icons back to the launcher.

We seem to be stuck at this command userone@office2:~/LibO_3.4.2rc3_Linux_x86_install-deb_en-US/DEBS$

I went and had a cup of tea (30mins) and when I came back it was still stuck.

Should this happen.

Ignore below, just read the EDIT :slight_smile:

Where did you get that command ?

shouldn’t it be:

cd ~/LibO_3.4.2rc3_Linux_x86_install-deb_en-US/DEBS

cd
at the beginning
and no
$
at the end ?

[EDIT]
Ahh, I see what you did… it is not stuck… it is now showing the current directory, followed by an $ prompt… YES that is supposed to happen, just enter the next command. :slight_smile:

The command line always shows the current directory followed by an $ or # prompt followed by a flashing cursor.

as in

[b]username@machinename:current/directory$[/b]

The cd command just changed the current directory… its effect will be immediate, and all you will see is a change to the current directory reflected in the prompt line.

If you’re at a flashing cursor, preceded with $ or #, it is awaiting input.

Thanks after entering each line of code as a separate command it is now installed. Ok

Ahh… I see… no if the command is on a separate line, it is a separate command… enclosing commands in the

 tags will cause any text to scroll off the page rather than wrap to the next line.

like the 2 commands in this example:

cd /example/command/example/command/example/command/example/command/example/command/example/command/example/command/example/command/example/command/example/command/example/command/example/command/
ls -l some.file



 (which is why I [b]sometimes[/b] ask people to enclose their responses in code tags, to preserve the formatting)

So if it's on a separate line, it's a separate command :)

It is working fine thanks for explaining,