Minggu, 05 Februari 2012

Install OpenOffice 3.3.0/3.4.0 on Fedora 16/15


1. Download OpenOffice.org 3.3.0/3.4.0 Beta Linux Package

OpenOffice.org 3.3.0 32-bit version

wget http://download.services.openoffice.org/files/stable/3.3.0/OOo_3.3.0_Linux_x86_install-rpm-wJRE_en-US.tar.gz

OpenOffice.org 3.3.0 64-bit version

wget http://download.services.openoffice.org/files/stable/3.3.0/OOo_3.3.0_Linux_x86-64_install-rpm-wJRE_en-US.tar.gz

OpenOffice.org 3.4.0 Beta 32-bit version

wget http://download.services.openoffice.org/files/extended/3.4beta/OOo-Dev_3.4beta_20110411_Linux_x86_install-rpm_en-US.tar.gz

OpenOffice.org 3.4.0 Beta 64-bit version

wget http://download.services.openoffice.org/files/extended/3.4beta/OOo-Dev_3.4beta_20110411_Linux_x86-64_install-rpm_en-US.tar.gz

2. Change to root User

su -
## OR ##
sudo -i

3. Remove Old OpenOffice.org Packages with following command

Note: This is not needed on OpenOffice.org 3.4.0 installation.
yum remove openoffice.org*

4. Extract Package and Access Directory

OpenOffice.org 3.3.0

tar -xvf OOo_3.3.0_*
 
cd OOO330* 
## OR ##
cd OOO330_m20_native_packed-1_en-US.9567/

OpenOffice.org 3.4.0 Beta

tar -xvf OOo-Dev_Dev_3.4Beta*
 
cd OOO340_m0*
## OR ##
cd OOO340_m0_native_packed-3_en-US.9583/

5. Install / Update OpenOffice.org RPM packages

OpenOffice.org 3.3.0

rpm -Uvh RPMS/*.rpm RPMS/desktop-integration/openoffice.org3.3-redhat-menus-3.3-*.rpm
## OR ##
rpm -Uvh RPMS/*.rpm
rpm -Uvh RPMS/desktop-integration/openoffice.org3.3-redhat-menus-3.3-*.rpm

OpenOffice.org 3.4.0 Beta

rpm -Uvh RPMS/*.rpm

Alternative Way To Install OpenOffice.org 3.3.0 and OpenOffice.org 3.4.0 Beta with Graphical Setup Is Following

Do exactly as before (download, change root, remove old, extract package and access directory), but on Install step simply run following command:
./setup
Now install simply with GUI.

6. Start OpenOffice.org

OpenOffice.org 3.3.0

Start OpenOffice with Clicking Icons (found normally from menus) or Start OpenOffice with Following Command:
openoffice.org3

OpenOffice.org 3.4.0 Beta

Use following command:
/opt/ooo-dev3/program/soffice.bin
There is not yet menu icons package for OpenOffice.org 3.4.0 Beta so you have to create own icons, example using OOo 3.3.0 incons as base.

Screenshots

OpenOffice.org 3.4.0 Beta running on Fedora 15

Openoffice 3.4 running on Fedora a15

OpenOffice.org 3.3.0 stable running on Fedora 14

OpenOffice.org 3.3.0 Screenshot

OpenOffice.org 3.4.0 Alpha unstable running on Fedora 14

OpenOffice.org 3.4.0 Screenshot

Troubleshooting

If you encounter following problem on installing OpenOffice.org 3.3.0/3.4.0 Beta:
error: Failed dependencies:
 libgnomevfs-2.so.0()(64bit) is needed by ooobasis3.3-gnome-integration-3.3.0-9567.x86_64
Then install gnome-vfs2 package with following command:
yum install gnome-vfs2
If you encounter problems in launching OpenOffice.org 3.3.0/3.4.0 Beta, so you should try to start OpenOffice from the command line and check the errors.
If the errors are the following:
$ openoffice.org3
/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
Or
$ openoffice.org3
/opt/openoffice.org3/program/soffice.bin: /opt/openoffice.org3/program/../basis-link/ure-link/lib/libuno_sal.so.3: version `UDK_3.10' not found (required by /opt/openoffice.org3/program/../basis-link/program/libsfxli.so)
/opt/openoffice.org3/program/soffice.bin: /opt/openoffice.org3/program/../basis-link/program/libfreebl3.so: version `NSSRAWHASH_3.12.3' not found (required by /lib/libcrypt.so.1)
Your system is probably installed the wrong version of the package openoffice.org-ure. Example on Fedora YUM update upgrade openoffice.org-ure package from openoffice.org-ure-1.7.0-9567 (right package) to openoffice.org-ure-3.2.1-19.26.fc14 (wrong package).

I recommend the following to fix the problem (as root):

Remove all OpenOffice.org 3.2.1/3.3.0 packages
yum remove openoffice.org-ure jre-1.6.0_22-fcs openoffice.org3.3-redhat-menus-*.noarch
Follow the earlier instructions to install OpenOffice again.
Block openoffice.org-ure package updates. In other words, “pin” openoffice.org-ure-1.7.0-9567 and libreoffice-ure packages
Add exclude row to /etc/yum.conf file, under the section [main]:
## Edit file
nano -w /etc/yum.conf
 
## Add exclude row
[main]
exclude=openoffice.org-ure* libreoffice-ure*
After that the openoffice.org-ure and libreoffice-ure package is “pinned” and will not be updated. It is important to remember to remove that line, at the stage where sometimes update the Open Office or Libreoffice example via YUM package management.

Tidak ada komentar:

Posting Komentar