Detailed instructions for use are in the User's Guide.
OpenOffice.org 2.0
Setup Guide
[Setup Guide 2.0] [0.22] First edition: [2005-02-24] First English edition: [2005-02-24]]
OpenOffice.org 2.0 Setup Guide
i
Contents
Contents
Contents..............................................................................................................................................2 Overview............................................................................................................................................4 Copyright and trademark information............................................................................................4 Feedback........................................................................................................................................4 Acknowledgments.........................................................................................................................4 Modifications and updates.............................................................................................................5 General Installation Information.........................................................................................................1 RPM-based Installation......................................................................................................................3 Installation......................................................................................................................................3 Removal.........................................................................................................................................3 Debian-based Installation...................................................................................................................5 Installing .debs...............................................................................................................................5 Removing .debs.............................................................................................................................5 Installing from Linux RPMs..........................................................................................................5 Solaris Installation..............................................................................................................................7 Installation......................................................................................................................................7 Removal.........................................................................................................................................7 FreeBSD Installation..........................................................................................................................9 Quick method.................................................................................................................................9 Removal.........................................................................................................................................9 Gentoo installation............................................................................................................................11 Slackware Installation.......................................................................................................................13 Uninstalling .................................................................................................................................13 Installation on Other UNIX systems.................................................................................................15 Mac OS X Installation......................................................................................................................17 Windows® 98/ME/NT/2000/XP Installation..................................................................................21 Single-User Installation...............................................................................................................21 Multiple User Environment under Windows NT/2000/XP.........................................................23 Workstation installation from a Multi-user install.......................................................................27
OpenOffice.org 2.0 Setup Guide
ii
Contents
Customizing an Installation..............................................................................................................31 Autoinstallation............................................................................................................................31 Manual Integration with the Desktop..........................................................................................31 Public Documentation License, Version 1.0....................................................................................33
OpenOffice.org 2.0 Setup Guide
iii
Overview
Overview
This document is designed to provide users with instructions on installing OpenOffice.org2.0 and its successors on their systems.
Copyright and trademark information
The contents of this Documentation are subject to the Public Documentation License, Version 1.0 (the "License"); you may only use this Documentation if you comply with the terms of this License. A copy of the License is available at: http://www.openoffice.org/licenses/PDL.rtf The Original Documentation is Setup Guide 2.0. The Initial Writer(s) of the Original Documentation is/are G. Roderick Singleton © 2005. All Rights Reserved. (Initial Writer contact(s):G. Roderick Singleton.) Contributor(s): Jacqueline McNally, Sophie Gautier_________________________________. Portions created by G. Roderick Singleton are Copyright © 2005. All Rights Reserved. (Contributor contact(s):G. Roderick Singleton. All trademarks within this guide belong to legitimate owners. [Note: a copy of the PDL is included in this template and is also available at: http://www.openoffice.org/licenses/PDL.rtf.]
Feedback
Please direct any comments or suggestions about this document to: grsingleton@openoffice.org
Acknowledgments
Derek Dreger for taking care of the 1.x.x Setup Guides. mantas@openoffice.org for debian install from rpm, Jaqueline for Windows, Shaun McDonald for the Mac graphics, maveric@openoffice.org and too many others to mention individually.
OpenOffice.org 2.0 Setup Guide
iv
Overview
Modifications and updates
Version
[0.4] [0.5] [0.6] [0.8] [0.9] [0.B] [0.12] [0.13] [0.14] [0.15a] [0.16] [0.17] [0.18] [0.19] [0.20] [0.21]
Date
[2005-03-10] [2005-03-12] [2005-04-15] [2005-04-26] [2005-04-29] [2005-05-09] [2005-07-07] [2005-07-19] 2005-07-24] [2005-08-18] [2005-08-29] [2005-08-31] [2005-09-05] [2005-09-07] [2005-09-20] [2005-10-02]
Description of Change
[grs: 4th edition issued for comment] [Jacqueline: 5th edition added draft Windows material] [grs: 6th edition added removal information] [grs: 8th edition spell checked and fixed PDL and corrected] [grs: 9th updates, especially for Mac OS X] [grs: 11th update RPM section] [grs: 12th add info on response ] [grs: 13th updated per SG ] [grs: 14th updated per OooAuthors suggestions ] [Markomlm/grs: Solaris Part added and minor edits for style] [grs: 16th -- added upgrade from 1.1.x warning] [grs: 17th  changed install script hyperlink] [grs: 18th -- fixed typos, removce Ubuntu script note [grs: 19th -- Changed debian section to reflect new filenames [grs: 20th -- Updated to Uhv methos in RPM section [grs: 22nd Updated with Slackware installation ]
OpenOffice.org 2.0 Setup Guide
v
Overview
OpenOffice.org 2.0 Setup Guide
vi
General Installation Information
General Installation Information
Starting with OpenOffice.org 2.0, installation is done using the native installers available on each system. This means that installation only requires that you unpack the download image and then launch the local tool. Using the native installers will provide better upgrades et cetera. Language packs are mostly available from each Native Language Community and may also be available from http://oootranslation.services.openoffice.org/pub/OpenOffice.org/ plus the appropriate release. For example,
http://oootranslation.services.openoffice.org/pub/OpenOffice.org/680m125/
Warning: Please keep in mind that upgrading from 1.1.x to any beta release is NOT recommended, keep the installation of each separate. Further, as stated at http://download.openoffice.org/2.0beta2/index.html, use the beta releases with caution. Use for production work at your own risk.
OpenOffice.org 2.0 Setup Guide
1
General Installation Information
OpenOffice.org 2.0 Setup Guide
2
RPM-based Installation
RPM-based Installation
Installation
1. Unpack the downloaded image into a directory. For example,Currently, the following command would unpack into the current directory:
tar xvzf Ooo_1.9.xxx_native_LinuxIntel_install.tar.gz where 1.9.xxx could also be 2.0 plus extra text.
1. su to root, if necessary. 2. cd into the directory with the unpacked image. This could be RPMS. 3. Then execute rpm -Uvh *rpm for the standard installation in /opt. If you prefer to install in another directory, try rpm -Uvh --prefix /where/ooo/should/go *.rpm or something similar. When relocating, only relocate the base rpms, in other words, do not include any user interface RPMs as these must go in their default locations for proper system integration.
NOTE: Upgrade the core first and then upgrade the user interface. Separating steps 4 and 5 ensures a good upgrade.
4. cd into the desktop-integration directory and execute rpm -Uvh for the menu rpm that applies to your system. For example, on a RedHatbased system, you would use
rpm -Uvh openoffice.org-redhat-menus-.noarch.rpm or similar.
5. Download and install any language packs needed for OpenOffice.org. For example, if you relocated Openoffice.org, you need
rpm -Uvh --prefix /where/you/put/OOo .rpm
Please read the man page for the rpm that comes with your distribution and select the options that best apply to your situation. The examples above are only that, examples. Installing individual components is the same as above but only requires the specific module be installed. For example, install all core rpms and then install those for each module you wish, such as, openoffice.org-impress-2.0.0-1.i586.rpm to install only Impress. Other modules may also be necessary.
Note: You may substitute -ihv for -Uhv in any of the above commands to install in upgrade mode.
Removal
I found the following useful: rpm -qa | grep openoffice > rmlist which records what is installed in the file rmlist. The grep string will, of course, vary according to the release. Edit rmlist for anything you do not want to remove. Then when it
OpenOffice.org 2.0 Setup Guide 3
RPM-based Installation
is time to remove a release one simply has to enter: rpm -e `cat rmlist` Another method of removing an OpenOffice.org release is to use the xargs utility as follows: rpm -qa openofficeorg\* | xargs rpm --erase --nodeps
Warning: Using rpm -e openoffice.org\* does not work. under FC3 or Suse 9.3 and possibly other distributions.
Remember with the development and beta releases that it may be best to remove /openoffice* and any $HOME/.openoffice* files and directories before installing a new version. There may be better ways to do this but I find the above effective. Please check http://installation.openoffice.org/source/browse/installation/setup_native/scripts/ for example install and uninstall scripts or use them as a model for your own.
OpenOffice.org 2.0 Setup Guide
4
Debian-based Installation
Debian-based Installation
Installing .debs
The simplest way to install the OpenOffice.org package you've downloaded is use the command dpkg -i (short for dpkg Âinstall). 1. First log on as root or from the GUI, open a root terminal. 2. Type: dpkg -i -Âforce-overwrite openoffice.org*.deb \ desktop-integration/openoffice.org-debian-menus*.deb and openoffice.org will be installed. If you already had an older version, dpkg will upgrade it rather than installing both versions at once. 3. Install any language packs needed for OpenOffice.org.
Removing .debs
4. If you want to remove a package, you have two options. The first is most intuitive: dpkg -r openoffice.org This will remove the openoffice.org package (-r is short for --remove).
Note that you give only the 'openoffice.org' for --remove, while --install requires the entire .deb filename.
Installing from Linux RPMs
1. Download Ooo_1.9.xxx__install.tar.gz where 1.9.xxx could also be 2.0 plus extra text 1. Unpack downloaded .tar.gz archive, for example with command 'tar xvzf' 2. cd into RPMS subfolder, which will be created after unpacking the .tar.gz 3. Run su (or sudo -s, if your system uses sudo and you are allowed to run a shell as root with sudo -s. For example, Debian-based Ubuntu Linux uses sudo as the default utility that permits a user to become administrator (root) 4. Delete any openoffice.or ...