for friends of the acer aspire one
August 29, 2008
Upgrading to OpenOffice 2.4 on Aspire One Linux
The AA1 ships with OpenOffice 2.3, with no available upgrade path, because 2.4 is only supported in Fedora 9, while the AA1 is based on Fedora 8. There is a solution besides downloading the tar archive from their website, but it requires some work. You can take a look at the release notes for 2.4 first to see if it's worth your time.

Update: You may consider to install OpenOffice 3.0 instead.

First of all remove all unnecessary language packs as described here, it makes upgrading much easier. Then some packages have to be downloaded. Create a directory in Downloads, name it OpenOffice, and save all files there.

The packages needed are calc, core, impress, writer, latex, hunspell, hyphen, hyphen-en, mythes-en, nspr and nss. Also needed is the language package, for english being langpack-en. If you need another language you'll have to edit the download path and replace en with your language code. All available languages can be seen here. Download the corresponding version of hunspell, hyphen and mythes in addition to the english ones. If in doubt which one to choose get the latest fc9 version available.

Open a terminal.

sudo rpm -U Downloads/OpenOffice/*

If you only receive two errors, about libcrypto.so.7 and libssl.so.7, all went well and you can continue. If not make sure you downloaded all required packages and retry.

sudo ln -s /lib/libcrypto.so.6 /lib/libcrypto.so.7
sudo ln -s /lib/libssl.so.6 /lib/libssl.so.7


Upgrading OpenOffice also replaces all icons with low resolution official icons, so the original ones need to be backed up. Don't forget the dot at the end of the line.

sudo cp /usr/share/icons/hicolor/48x48/apps/openofficeorg* .

Now everything can be installed.

sudo rpm -U --force --nodeps Downloads/OpenOffice/*

Put the original icons back in place.

sudo mv openofficeorg* /usr/share/icons/hicolor/48x48/apps
sudo gtk-update-icon-cache -f /usr/share/icons/hicolor


The only thing left to do is to edit the desktop files, and to remove %U on line number nine.

sudo mousepad /usr/share/applications/openoffice.org-1.9-writer.desktop
sudo mousepad /usr/share/applications/openoffice.org-1.9-calc.desktop
sudo mousepad /usr/share/applications/openoffice.org-1.9-impress.desktop


That's it, OpenOffice has been upgraded to version 2.41, the latest available.
22



Ibon
sudo -U *rpm does not work
Aug 29, 2008 2:00:00 PM



Small mistake, it is sudo rpm -U *rpm, try again.

Aug 29, 2008 2:07:00 PM



Anonymous
It's really awful how many shortcomings the Linpus distro has (the dithering-issue, the update-issues, flawed dependencies, etc). I just hope that future distros (primarily Ubuntu Netbook) will completely support the One...
Aug 29, 2008 8:16:00 PM



I found I had to change the last 3 lines to

sudo mousepad /usr/share/applications/openoffice.org-1.9-writer.desktop
sudo mousepad /usr/share/applications/openoffice.org-1.9-calc.desktop
sudo mousepad /usr/share/applications/openoffice.org-1.9-impress.desktop

so that I could edit them
Aug 30, 2008 12:32:00 AM



Anonymous
I thank you for your wisdom.
The following doesnt work for me. States command not found

sudo /usr/share/applications/openoffice.org-1.9-writer.desktop
sudo /usr/share/applications/openoffice.org-1.9-calc.desktop
sudo /usr/share/applications/openoffice.org-1.9-impress.desktop

Any ideas?
Aug 30, 2008 12:37:00 AM



The solution is just above your comment or now in the edited post.

Aug 30, 2008 4:10:00 AM



Thanks! It worked like a charm!

I wanted to install the german version, and took me some time to find the required hyphen-de and mythe-de packages. So in case someone need them:

http://rpmfind.net/linux/rpm2html/search.php?query=hyphen-de&submit=Search+...&system=&arch=
http://rpmfind.net/linux/rpm2html/search.php?query=mythes-de

I didn't know about rpmfind.net, it's really handy ;-)
Aug 30, 2008 12:05:00 PM



You can also find them at the official fedora repositories. I've added that information to the post.

Aug 30, 2008 12:28:00 PM



Anonymous
Did you try openoffice 3 beta, too?
Aug 30, 2008 3:01:00 PM



Hi,

I did everything you said and it's wonderful. Thank you very much for these explanations.
However I seem to have lost the original nice and beautiful icons... because now it'S the ugly ones that came with OpenOffice 2.4...
So do you have any idea on how to get back the nice icons?
Aug 30, 2008 3:29:00 PM



You must have made a mistake along the way. Retry the last steps to restore them.

Aug 31, 2008 2:08:00 PM



Tezza
Thanks for all the great advice although, I have the same problem as Don David which is I now have the ugly icons and not the nice ones that I had with system from new :o(

I have tried a few things to find them although, I am only 2 days into playing with linux!! I'm grateful for any help offered.
Sep 1, 2008 4:37:00 PM



As a last resort you can recover the icons from the USB recovery stick.

sudo tar -jvxf hdc1._.tar.bz2 \
usr/share/icons/hicolor/48x48/apps/openofficeorg-writer.png \
usr/share/icons/hicolor/48x48/apps/openofficeorg-calc.png \
usr/share/icons/hicolor/48x48/apps/openofficeorg-impress.png

sudo mv usr/share/icons/hicolor/48x48/apps/* /usr/share/icons/hicolor/48x48/apps/

sudo gtk-update-icon-cache -f /usr/share/icons/hicolor

Sep 3, 2008 12:45:00 PM



Hello There!
I've tried and tried to do as you say, but still gets these errors... Even if I did the step of libcrypto..

user@localhost openoffice]$ sudo rpm -U *rpm
error: Failed dependencies:
libcrypto.so.7 is needed by openoffice.org-core-2.4.1-17.6.fc9.i386
libssl.so.7 is needed by openoffice.org-core-2.4.1-17.6.fc9.i386
libhunspell-1.1.so.0 is needed by (installed) xulrunner-1.9.0.3-1.fc8.remi.i386


What can I do?

//Kelly
Sep 28, 2008 1:04:00 AM



The first two errors are OK, and are ignored. The last error is from another package, probably Firefox 3 from an unofficial repository. Can't offer any advice here as i don't have it installed.

Sep 28, 2008 8:35:00 AM



Anonymous
Thank you so much!

As a Newbie in Linux it is very nice to have a place where I can find the answers !
Sep 29, 2008 7:33:00 PM



C
Hello there,

I can't get past the first step. Every time I type: sudo rpm -U Downloads/OpenOffice/* , it just tells me:

audit_log_user_command(): Connection refused
error: File not found by glob: Downloads/OpenOffice/*

Can you please help me and tell me what's wrong? Thanks.
Oct 10, 2008 1:35:00 PM



Anonymous
Is this normal?
The install:
[user@localhost ~]$ sudo rpm -U --force --nodeps Downloads/OpenOffice/*
Gives this return:
/bin/mktemp: invalid option -- -
Usage: mktemp [-V] | [-dqtu] [-p prefix] [template]
Oct 10, 2008 10:16:00 PM



I got the same error regarding invalid option for mktemp as the poster above. Is it of concern?
Oct 12, 2008 11:30:00 PM



It can be ignored if the installation continues despite the error. I'd consider to install OpenOffice 3.0 instead, which i've just posted instructions for.

Oct 13, 2008 12:52:00 AM



Anonymous
it saying i need to download libhunspell-1.1.so.0 when go to download Core
Nov 4, 2008 7:19:00 PM



Anonymous
I have been using Linux since Oct 08 when I bought my Acer Aspire One. I never used Linux before and was assured by the retail outlet that its more reliable, faster, virus free etc. Wow, what a horrible system! Although I am not a programmer, I have always enjoyed exploring with IT however this system has me well and truly beaten! I was thinking of updating to Open Office 3 but reading the comments above.you got to be kidding! I have decided to buy an external disk drive and in stall Windows. All is forgiven Bill!
Mar 24, 2009 3:33:00 PM