How to install OpenOffice 3 on Xandros

Installation method for in Advanced mode

Attention:

this is a fuzzy tutorial, ooo3 doesn’t work property on my eeepc.

To get the newest ooo we will need to remove the existing version of ooo by doing

$ sudo apt-get remove openoffice*

This will remove all openoffice programs

Now obtain the newest version of ooo here

http://www.openoffice.org/

Unpacking the files

we want to unpack it by doing

$ mkdir /home/user/.OpenOffice3
$ mv OOo_3*_deb.tar.gz ./OpenOffice3
$ cd ./OpenOffice3
$ tar -xvf OOo_3*_deb.tar.gz

This will create a folder called OOG680_m9_native_packed-1_en-US.9238 so cd into that

$ cd OOG680_m9_native_packed-1_en-US.9238

and now we want to cd into the DEBS folder

$ cd DEBS

From here we want to install all the packages by issuing the command

$ sudo dpkg -i ooobasis*
$ sudo dpkg -i openoffice.org*

This will install the newest version of ooo

Now there is a problem with the standard install that it doesn’t create symlinks to /usr/bin/ so we want to do that by issuing the following commands

sudo ln -s /opt/openoffice.org3/program/swriter /usr/bin/
sudo ln -s /opt/openoffice.org3/program/scalc /usr/bin/
sudo ln -s /opt/openoffice.org3/program/simpress /usr/bin/
sudo ln -s /opt/openoffice.org3/program/sbase /usr/bin/
sudo ln -s /opt/openoffice.org3/program/soffice /usr/bin/
sudo ln -s /opt/openoffice.org3/program/smath /usr/bin/
sudo ln -s /opt/openoffice.org3/program/sdraw /usr/bin/

in this way we can run any openoffice program from console just by issuing either of the s* commands (eg. swrite for the ooo writer)

Menu icons in advanced mode and remember file type association

To get icons in the startmenu in advanced mode, and to make the system remember the file type association in easy mode, we need to install another package located in the DEBS folder mentioned earlier

When in the DEBS folder cd into the folder desktop-integration

cd desktop-integration

and do

sudo dpkg -i openoffice*

Now all the menu entries under advanced mode is located under the office entry and the file types when double clicked in the file manager will open with the correct app.

(You may have to run this command with the ”–force-overwrite” option, i.e.

sudo dpkg --force-overwrite -i openoffice*

when it complains about “trying to overwrite `/usr/bin/soffice’, which is also in package staroffice-desktop-integration”, lest it doesn’t create the shortcuts in the “Office” menu.)

Error fix:

  • If you your terminal show output like this:

    /usr/bin/soffice: line 124: /opt/openoffice.org3/program/../basis-link/program/pagein: No such file or directory
    /opt/openoffice.org3/program/soffice.bin: error while loading shared libraries: libuno_sal.so.3: cannot open shared object file: No such file or directory

    after typed “swriter” in the terminal, you probably forgot to install ooobasis*’ pakages. Please, see above for more details.

Original source:

http://wiki.eeeuser.com/howto:ooo2.3

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: