Difference between revisions of "Documentation/Administration Guide/Linux"
Line 7: | Line 7: | ||
}} | }} | ||
{{DISPLAYTITLE:Linux x86}} | {{DISPLAYTITLE:Linux x86}} | ||
− | + | == RPM Based Linux distributions == | |
− | == RPM Based | + | |
− | + | ||
− | 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 | + | 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 | + | 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 - | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* Execute the installation package | * Execute the installation package | ||
− | + | <!-- <nowiki>./so8-bin-linux-en-US_<Optional languages>.sh</nowiki> --> | |
− | * Following error message appears | + | <!-- * 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 | + | 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 | + | * 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 | + | 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 | + | Be careful with this. The Gnome and SUSE desktop integration will not work. |
− | Remove the | + | Remove the {{OOo}} installation packages : |
− | + | <!-- | |
− | rm -r /var/tmp/ | + | rm -r /var/tmp/unpack_openoffice |
− | + | --> | |
− | === Installing | + | === Installing {{OOo}} Product Upgrades/Patches === |
− | Each Product Update has the same Java based installer front end as the | + | 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 | + | 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 | + | 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 | + | * To remove all {{OOo}} related packages: |
− | + | <!-- | |
rpm -e `cat so_packages` | rpm -e `cat so_packages` | ||
− | + | --> | |
== Debian Packages == | == Debian Packages == | ||
=== Installation === | === 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) | + | * 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 | + | * 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
- Apache OpenOffice Basic Macros and Libraries
- Apache OpenOffice Extension Manager
- Adding Template Files to an Apache OpenOffice Installation
- Adding AutoText Files to an Apache OpenOffice Network Installation
- Deactivating the Apache OpenOffice Registration Wizard
- Accessing Email Clients
- Customizing the User Interface
- Restricting Functionality in Apache OpenOffice
- Accessing Apache OpenOffice User Profiles on an LDAP Server
Contents
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). |