Install LibreOffice 3.6.0 Beta 1 in Ubuntu 12.04 Precise Pangolin
LibreOffice 3.6.0 is still in beta
so you'll find bugs in both the actual application and in the packaging
(I've wrote how to fix some of the packaging issues below). Install it
for testing purposes only!
Ubuntu 12.04 Precise Pangolin users can upgrade to the latest LibreOffice 3.6.0 beta 1 using the commands below:
sudo add-apt-repository ppa:libreoffice/libreoffice-prereleases
sudo apt-get update
sudo apt-get dist-upgrade
If you have the official LibreOffice
PPA added on your system (it might also occur with the LibreOffice
packages from the Ubuntu 12.04 repositories, I'm not sure), you'll
probably encounter an error like the one below after trying to install
LibreOffice 3.6.0 beta 1:
dpkg: error processing /var/cache/apt/archives/libreoffice-gtk_1%3a3.6.0~beta1-0ubuntu1~precise1~ppa2_i386.deb (--unpack):
trying to overwrite '/usr/lib/libreoffice/program/gconfbe1.uno.so', which is also in package libreoffice-gnome 1:3.5.4~rc2-0ubuntu1~ppa1
Fix it using the following commands:
- 32bit:
sudo dpkg -i --force-overwrite /var/cache/apt/archives/libreoffice-gtk_1%3a3.6.0~beta1-0ubuntu1~precise1~ppa2_i386.deb
sudo apt-get install -f
- 64bit:sudo dpkg -i --force-overwrite /var/cache/apt/archives/libreoffice-gtk_1%3a3.6.0~beta1-0ubuntu1~precise1~ppa2_amd64.deb
sudo apt-get install -f
If, after installing LibreOffice, there are no icons for Calc, Impress, Writer, etc., run the following command in a terminal:
sudo sed -i 's/Icon=/Icon=libreoffice-/g' /usr/share/applications/libreoffice*
After
running the above command, wait for a few seconds and check if the
icons are displayed. If not, try to log out and log back in.
And finally, for experimental GTK3
support, also install the following package (if LibreOffice doesn't work
after installing it, simply remove the package):
sudo apt-get install libreoffice-gtk3