Difference between revisions of "Documentation/Administration Guide/Linux"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 7: Line 7:
 
}}
 
}}
 
{{DISPLAYTITLE:Linux x86}}
 
{{DISPLAYTITLE:Linux x86}}
<!--
+
== RPM Based Linux distributions ==
== RPM Based (SUSE, RedHat, etc) ==
+
The StarOffice setup uses RPM packages with a Java based front end. The [http://docs.sun.com/app/docs/doc/817-7351?a=load StarOffice 8 Getting Started Guide] describes the usage of the Java front end.
+
  
RPM package manager has powerful command line interface to install, update and remove RPM packages. The RPM manager has to be provided by the Linux distribution which is the case for Suse and Red Hat but not for Debian. Debian has to convert the RPM packages, which is described in the Debian section of this document.
+
The {{OOo}} setup uses RPM packages with a Java based front end.
 +
 
 +
RPM package manager has powerful command line interface to install, update and remove RPM packages. The RPM manager has to be provided by the Linux distribution which is the case for SUSE and RedHat but not for Debian. Debian has to convert the RPM packages, which is described in the Debian section of this document.
  
 
=== Installation ===
 
=== Installation ===
All RPM packages are located in the RPMS directory of the installation CD.  
+
<!--All RPM packages are located in the RPMS directory of the installation CD. -->
  
Users of the download installation set has to unpack the package first. The easiest way to accomplish this is to execute the StarOffice installation file.  
+
Users of the download installation set have to unpack the package first. The easiest way to accomplish this is to execute the {{OOo}} installation file.  
  
 
* Become root if necessary
 
* Become root if necessary
  
 
  su -
 
  su -
{{Documentation/Note|The following steps are not necessary for download installation sets which are newer than June 2006. Those providing a new parameter -x to extract the packages.
 
 
The command line for those installations sets looks like this :
 
 
./so8-bin-linux-en-US_<Optional languages>.sh -x
 
 
Skip the rest of the steps below}}
 
  
 
* Execute the installation package
 
* Execute the installation package
  
<nowiki>./so8-bin-linux-en-US_<Optional languages>.sh</nowiki>
+
<!-- <nowiki>./so8-bin-linux-en-US_<Optional languages>.sh</nowiki> -->
  
* Following error message appears most likely
+
<!-- * Following error message appears:
  
 
  The Installation Wizard can't run in GUI mode.
 
  The Installation Wizard can't run in GUI mode.
Line 39: Line 32:
  
 
* Due to the fact that we do not need the graphical installer we could leave this error message. In those cases where the graphic setup appears do not continue to install StarOffice but leave the installation dialog open.
 
* Due to the fact that we do not need the graphical installer we could leave this error message. In those cases where the graphic setup appears do not continue to install StarOffice but leave the installation dialog open.
 +
  
 
* You will find the RPM packages in following directory :
 
* You will find the RPM packages in following directory :
Line 47: Line 41:
 
* Go into this directory
 
* Go into this directory
 
* Cancel the StarOffice setup now
 
* Cancel the StarOffice setup now
 
+
-->
The RPMS directory contains RPM package for the Gnome and SUSE integration. Users which did not use a SUSE distribution or the Gnome desktop have to remove this files.
+
The RPMS directory contains RPM package for the Gnome and SUSE integration. Users which do not use a SUSE distribution or the Gnome desktop should to remove these files.
  
 
* Linux users with an other distribution than SUSE
 
* Linux users with an other distribution than SUSE
 
+
<!--
 
  rm staroffice-suse-menus-8.0.0-124.noarch.rpm
 
  rm staroffice-suse-menus-8.0.0-124.noarch.rpm
 
+
-->
* Users which did not use the Gnome desktop
+
* Users which do not use the Gnome desktop
 
+
<!--
 
  rm staroffice-gnome-integration-8.0.0-124.i586.rpm
 
  rm staroffice-gnome-integration-8.0.0-124.i586.rpm
 
+
-->
To anticipate the installation of the Adabas D Database server, which is part of StarOffice installation set, remove following RPM package:
+
<!--To anticipate the installation of the Adabas D Database server, which is part of StarOffice installation set, remove following RPM package:
  
 
*  rm adabas-13.01.00-1.i586.rpm
 
*  rm adabas-13.01.00-1.i586.rpm
 
+
-->
The RPM command has a rich set of command line parameters. This technical note describes the most important parameters only. Make sure that you are in the directory where RPM packages are located.
+
The RPM command has a rich set of command line parameters. This section describes the most important parameters only. Make sure that you are in the directory where RPM packages are located.
  
 
For an installation into the standard /opt directory :
 
For an installation into the standard /opt directory :
Line 72: Line 66:
 
  rpm -ivh –prefix /export *.rpm
 
  rpm -ivh –prefix /export *.rpm
  
Be careful with this. The Gnome and SUSE desktop integration won't work.
+
Be careful with this. The Gnome and SUSE desktop integration will not work.
  
Remove the StarOffice installation packages :
+
Remove the {{OOo}} installation packages :
 
+
<!--
  rm -r /var/tmp/unpack_staroffice
+
  rm -r /var/tmp/unpack_openoffice
 
+
-->
=== Installing StarOffice Product Upgrades/Patches ===
+
=== Installing {{OOo}} Product Upgrades/Patches ===
Each Product Update has the same Java based installer front end as the StarOffice installation set. Just call the setup for applying the update. Anyhow, the Upgrade uses RPM packages as which could be applied by the upgrade command of RPM.
+
Each Product Update has the same Java based installer front end as the {{OOo}} installation set. Just call the setup for applying the update. Anyhow, the Upgrade uses RPM packages as which could be applied by the upgrade command of RPM.
  
 
* Become root if necessary
 
* Become root if necessary
Line 95: Line 89:
  
 
=== Deinstallation ===
 
=== Deinstallation ===
Previous release of StarOffice could be removed by simply deleting the StarOffice directory and the .sversionrc. Do not that with StarOffice 8, it makes your RPM repository inconsistent
+
Previous release of {{OOo}} could be removed by simply deleting the {{OOo}} directory and the .sversionrc. Do not that with {{OOo}}, it makes your RPM repository inconsistent
  
Use the RPM package manager to de-install StarOffice. You have to determine the list of StarOffice 8 related packages.  
+
Use the RPM package manager to uninstall {{OOo}}. You have to determine the list of {{OOo}} related packages.  
  
 
* Become root if necessary
 
* Become root if necessary
  
 
  su -
 
  su -
 
+
<!--
 
* Create a file 'so_packages' with all StarOffice related RPM packages
 
* Create a file 'so_packages' with all StarOffice related RPM packages
  
 
  rpm -qa | grep staroffice > so_packages
 
  rpm -qa | grep staroffice > so_packages
 
+
-->
* Check the content of file carefully. All these packages get removed from the system. There are two packages which relating to StarOffice but they are not in this list.
+
<!--* Check the content of file carefully. All these packages get removed from the system. There are two packages which relating to StarOffice but they are not in this list.
 
  rpm -qa | grep adabas-13 >> so_packages
 
  rpm -qa | grep adabas-13 >> so_packages
 
  rpm -qa | grep jre-1_5_0_03 >> so_packages
 
  rpm -qa | grep jre-1_5_0_03 >> so_packages
 
+
-->
* To remove all StarOffice related packages:
+
* To remove all {{OOo}} related packages:
 
+
<!--
 
  rpm -e `cat so_packages`
 
  rpm -e `cat so_packages`
 
+
-->
 
== Debian Packages ==
 
== Debian Packages ==
 
=== Installation ===
 
=== Installation ===
StarOffice does not provide Debian packages. Debian users has to convert the RPM packages before they could start with the installation.  
+
{{OOo}} does not provide Debian packages. Debian users must convert the RPM packages before they start the installation.  
  
Owner of StarOffice CD has to go into the RPMS directory of their CD-ROM. Users of the download installation set have to extract the RPM packages first, which is described in the RPM section above.
+
<!-- Owner of StarOffice CD has to go into the RPMS directory of their CD-ROM. Users of the download installation set have to extract the RPM packages first, which is described in the RPM section above. -->
  
 
* Become root if necessary
 
* Become root if necessary
Line 126: Line 120:
  
 
* Remove the SUSE menu integration
 
* Remove the SUSE menu integration
 
+
<!--
 
  rm staroffice-suse-menus-8.0.0-124.noarch.rpm
 
  rm staroffice-suse-menus-8.0.0-124.noarch.rpm
 
+
-->
* The alien utility converts RPM packages into native Debian packages (.DEB). Few Debian based distributions does not have the installed or uses not the latest release . We recommend to install the latest release with:
+
* The alien utility converts RPM packages into native Debian packages (.DEB). We recommend to install the latest release with:
  
 
  apt-get install alien
 
  apt-get install alien
  
 
:or by manually downloading from [http://packages.debian.org/alien http://packages.debian.org/alien]
 
:or by manually downloading from [http://packages.debian.org/alien http://packages.debian.org/alien]
 +
 
* Convert the RPM packages into DEB packages
 
* Convert the RPM packages into DEB packages
  
 
  alien -k *.rpm
 
  alien -k *.rpm
  
* Install the converted StarOffice packages into the /opt/staroffice8 directory
+
* Install the converted {{OOo}} packages into the <tt>/opt/<openoffice-dir></tt>
  
 
  dpkg -i - force-overwrite *.deb
 
  dpkg -i - force-overwrite *.deb
-->
 
  
 
{{PDL1}}
 
{{PDL1}}

Revision as of 08:57, 18 July 2008


RPM Based Linux distributions

The Apache OpenOffice setup uses RPM packages with a Java based front end.

RPM package manager has powerful command line interface to install, update and remove RPM packages. The RPM manager has to be provided by the Linux distribution which is the case for SUSE and RedHat but not for Debian. Debian has to convert the RPM packages, which is described in the Debian section of this document.

Installation

Users of the download installation set have to unpack the package first. The easiest way to accomplish this is to execute the Apache OpenOffice installation file.

  • Become root if necessary
su -
  • Execute the installation package


The RPMS directory contains RPM package for the Gnome and SUSE integration. Users which do not use a SUSE distribution or the Gnome desktop should to remove these files.

  • Linux users with an other distribution than SUSE
  • Users which do not use the Gnome desktop

The RPM command has a rich set of command line parameters. This section describes the most important parameters only. Make sure that you are in the directory where RPM packages are located.

For an installation into the standard /opt directory :

rpm -ivh *.rpm

If you prefer to install in another directory.

rpm -ivh –prefix /export *.rpm

Be careful with this. The Gnome and SUSE desktop integration will not work.

Remove the Apache OpenOffice installation packages :

Installing Apache OpenOffice Product Upgrades/Patches

Each Product Update has the same Java based installer front end as the Apache OpenOffice installation set. Just call the setup for applying the update. Anyhow, the Upgrade uses RPM packages as which could be applied by the upgrade command of RPM.

  • Become root if necessary
su -
  • Expand the TAR ball with the product update
tar xvf 120184-01.tar   [The name of the file could be different]
  • Goto the RPMS directory
  • To apply the Upgrade/Patch:
rpm -U *

Deinstallation

Previous release of Apache OpenOffice could be removed by simply deleting the Apache OpenOffice directory and the .sversionrc. Do not that with Apache OpenOffice, it makes your RPM repository inconsistent

Use the RPM package manager to uninstall Apache OpenOffice. You have to determine the list of Apache OpenOffice related packages.

  • Become root if necessary
su -
  • To remove all Apache OpenOffice related packages:

Debian Packages

Installation

Apache OpenOffice does not provide Debian packages. Debian users must convert the RPM packages before they start the installation.


  • Become root if necessary
su -
  • Remove the SUSE menu integration
  • The alien utility converts RPM packages into native Debian packages (.DEB). We recommend to install the latest release with:
apt-get install alien
or by manually downloading from http://packages.debian.org/alien
  • Convert the RPM packages into DEB packages
alien -k *.rpm
  • Install the converted Apache OpenOffice packages into the /opt/<openoffice-dir>
dpkg -i - force-overwrite *.deb
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools