Error message

Warning: unlink(/usr/local/share/drupal7/drupal-7.34/sites/drupal.txwikinger.me.uk/files/css/follow.css): Permission denied in drupal_unlink() (line 2282 of /usr/local/share/drupal7/drupal-7.34/includes/file.inc).

LibreOffice Now Available in ppa for Ubuntu 10.10 and 10.04

Libreoffice is now available and installed easily for Ubuntu 10.10 and 10.04 by adding the libreoffice ppa.

The following steps allow the addition of the ppa and the installation of LibreOffice:

Warning: This installs from a ppa and not from the official Ubuntu repository, hence there still might be problems with either the software itself, or the installation process. The installation will remove OpenOffice.

Optionally OpenOffice can be removed with the command

sudo apt-get purge "openoffice*"

on the commandline. (The installation below should remove the OpenOffice packages automatically, however, it seems more stable when the removal command above is used).

The LibreOffice ppa can be added on Ubuntu 10.10 and 10.04 with

sudo add-apt-repository ppa:libreoffice/ppa
sudo apt-get update

Libreoffice can then be installed with

sudo apt-get install libreoffice

Depending on the Desktop that is (Gnome or KDE), the following command is necessary:

For KDE:

sudo apt-get install libreoffice-kde

For Gnome:

sudo apt-get install libreoffice-gnome

As explained in a comment below, in order to install the spellchecker the following line needs to be used (with adjustment of the locale (the example uses English-US):

sudo apt-get install aspell aspell-en dictionaries-common hunspell-en-us myspell-en-us

Location: 

Comments

As I can see, you have done so already :)

If you follow this procedure it will remove dictionaries and spelling libraries on Ubuntu 10.10. This will break spell checking in most applications, including LibreOffice. To get those back:

sudo apt-get install aspell aspell-en dictionaries-common hunspell-en-us myspell-en-us

Of course adjust the above to be correct for your locale. Adding all those back in may be overkill, I don't know if they are all required. They are just the ones I noticed got removed when OOo was purged. In my case the following items were also removed, and I happen to know that I wanted them and/or had other things that depend on them, so I reinstalled them:

sudo apt-get install libjpeg8 libjpeg-progs openclipart-png

Thanks for the tip!

It's not possible for me to run the command you listed, as Synaptic in Ubuntu 10.10 x64 is telling me that hunspell and myspell are mutually exclusive packages.

So, after running the install libreoffice command on 10.10 (64bit) it automatically removed OOo at the same time. And seemingly removed themes and... I can't tell what else. The entire look of my desktop changed.

Right. Well, ignore the previous comment. I went under (in Gnome) System > Preferences > Appearance, and upon merely opening the menu everything returned to its previous state. Gotta love magic.

It does'nt contain any spellchecker.

Can you give a rundown on how to do the same with a Debian based distro? I'm running the Debian version of Mint, and this: add-apt-repository ppa:libreoffice/ppa
doesn't work.
Much appreciated.
pb

The instructions to install LibreOffice on a Debian system are in a previous post.

When I execute the command

sudo apt-get update

I get the following error......

W: Failed to fetch http://ppa.launchpad.net/libreoffice/ppa.....etc etc...404 Not Found

But I am using Ubuntu 9.10

Is this only available for 10.04 & 10.10?

Yes. The ppa has only packages for 10.04 and later (i.e 10.04, 10.10, and the current development release 11.04).

Great instructions, easy to follow. I did find it odd that OpenOffice was *automatically* removed: I was expecting to run the sudo apt-get purge "openoffice*.*" command, but that did not end up being necessary.

BONUS: I tested every type of document I had on hand to see how it would open, and things are much speedier.

it is correct that OpenOffice is automatically removed through package dependencies, however, at some instances that has not worked 100%.

I followed the instructions (including removing OO first) for gnome; all that is in my Applications menu now is LibreOffice (OO used to have OpenOffice Spreadsheet, OpenOffice Presentation, etc.) When I open LibreOffice, I get the splash screen/menu, but all of the choices for creating new docs are greyed out. It also will not open any office/type files. The terminal commands indicated that installation was successful, but obviously something is missing.

I had the same problem. Did you install libreoffice and libreoffice-gnome or just libreoffice-gnome? If only -gnome then you'll have to go back and run "sudo apt-get install libreoffice". Hope that helps.

Thank you txwikinger for this post.

Installing from the official deb packages allows to install LibO alongside of OOo. More details here:
http://www.johannes-eva.net/how-to-install-libreoffice-on-ubuntu-linux

The ppa does not allow OpenOffice and LibreOffice to be used in parallel, and the automatic removal via package dependencies has sometimes problems.

For advanced users that want to use both at the same time (which is not really necessary for normal users since both packages are mainly the same application), can certainly use your instructions.

hunspell-en-us conflicts with myspell-en-us, so how is this supposed to work?

Try this instead:

sudo language-support-en

Should do the trick.

Followed steps. Got LO installed. It runs fine. But the "sudo apt-get install aspell aspell-en dictionaries-common hunspell-en-us myspell-en-us" step failed on my 10.04 Gnome with this error:
. . .
The following packages have unmet dependencies:
hunspell-en-us: Conflicts: myspell-en-us but 1:3.2.0-3ubuntu3.1 is to be installed
E: Broken packages

. . . and Writer doesn't seem to do spellchecking. Any ideas what I've done wrong?

Use this instead:
sudo apt-get install language-support-en

This should do the trick.

The library has been updated, so the name being called is incorrect:
1. Download the new library from : http://pkgs.org/download/ubuntu-10.10/ubuntu-main-i386/hunspell-en-us_20...
2. In the command terminal : sudo dpkg -i /path/to/hunspell.deb

Error on installing kde integration on llibreoffice-kde package

$ sudo apt-get install libreoffice-kde
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libreoffice-kde is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package libreoffice-kde has no installation candidate

You have to given any information about the Ubuntu release you try this on.

As of a test this moment, libreoffice-kde is available for maverick in the ppa.

Maybe you need to do a

sudo apt-get update

in order to update the local information about the ppa.

sudo apt-get install libreoffice
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libreoffice

It is still there. Are you sure you executed "sudo apt-get update" ?

Howdy!, Thanx much for this. Worked great for me.
This solves the 'no sound on .pps files'. Will probably
do the same for Mint-10.
Highly appreciated!

Below is the error im receiving when I try to install LibreOffice

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libreoffice: Depends: libreoffice-core (= 1:3.3.2-1ubuntu2~lucid1) but it is not going to be installed
Depends: libreoffice-writer but it is not going to be installed
Depends: libreoffice-calc but it is not going to be installed
Depends: libreoffice-impress but it is not going to be installed
Depends: libreoffice-draw but it is not going to be installed
Depends: libreoffice-math but it is not going to be installed
Depends: libreoffice-base but it is not going to be installed
Depends: libreoffice-report-builder-bin but it is not going to be installed
Depends: libreoffice-filter-mobiledev but it is not going to be installed
Depends: libreoffice-java-common (>= 1:3.3.2~) but it is not going to be installed
E: Broken packages

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
hunspell-en-us : Conflicts: myspell-en-us but 1:3.2.1-2ubuntu1 is to be installed
E: Broken packages

made the install quick and painless. Kudos.

Pages