<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rhoalpha</id>
	<title>Apache OpenOffice Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Rhoalpha"/>
	<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/wiki/Special:Contributions/Rhoalpha"/>
	<updated>2026-12-05T16:45:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Run_OOo_versions_parallel&amp;diff=183595</id>
		<title>Run OOo versions parallel</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Run_OOo_versions_parallel&amp;diff=183595"/>
		<updated>2010-09-15T07:36:59Z</updated>

		<summary type="html">&lt;p&gt;Rhoalpha: /* DEB packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:How to run different OpenOffice.org versions in parallel}}&lt;br /&gt;
[[ja:JA/QA/Run_OOo_versions_parallel]]&lt;br /&gt;
[[sl:SL/Run_OOo_versions_parallel]]&lt;br /&gt;
[[de:DE/Run_OOo_versions_parallel]]&lt;br /&gt;
[[ru:RU/qa/run_ooo_versions_parallel]]&lt;br /&gt;
&lt;br /&gt;
To participate in OpenOffice.org you do not need to be a programmer: you can help to fix OpenOffice.org bugs as soon as possible by simply installing a developer snapshot and using it as you usually do.&lt;br /&gt;
&lt;br /&gt;
Usually every version comes in an installable file that installs in the same directory as previous versions: for example a &amp;lt;B&amp;gt;stable&amp;lt;/B&amp;gt; version, let&amp;#039;s say OpenOffice.org 2.3.1, will install on a directory like /opt/openoffice.org2.3/ (*nix systems) and  C:\Program Files\OpenOffice.org 2.3\ (Windows, where the folder &amp;quot;Program Files&amp;quot; has usually a localized name), while a &amp;lt;B&amp;gt;developer snapshot&amp;lt;/B&amp;gt; will install in /opt/ooo-dev2.3/ (*nix systems) and C:\Program Files\OOo-dev 2.3\ (Windows).&lt;br /&gt;
&lt;br /&gt;
This has some drawbacks: you may want to install different developer snapshots, or also want to keep your &amp;quot;old&amp;quot; stable version of OpenOffice.org. A new stable or developer version will install in the corresponding folder, replacing the current installation (on Windows this will be done by the installer, on *nix systems you will have to deinstall old versions before installing new ones).&lt;br /&gt;
&lt;br /&gt;
To avoid this we will explain how to install different OpenOffice.org versions and run them in parallel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
&lt;br /&gt;
In this section we will show how to &amp;quot;install&amp;quot; any OpenOffice.org version distributed in a RPM or DEB package. In fact, we won&amp;#039;t &amp;#039;&amp;#039;install&amp;#039;&amp;#039; it but rather &amp;#039;&amp;#039;extract&amp;#039;&amp;#039; the files in the packages.&lt;br /&gt;
&lt;br /&gt;
Notice that with this method you can use an RPM or a DEB package, &amp;#039;&amp;#039;&amp;#039;regardless&amp;#039;&amp;#039;&amp;#039; of your distribution’s package format (that is, you can extract an RPM package in Debian, or a DEB package in Mandriva).&lt;br /&gt;
&lt;br /&gt;
=== Installing 2.* versions ===&lt;br /&gt;
&lt;br /&gt;
==== RPM packages====&lt;br /&gt;
&lt;br /&gt;
Before starting, make sure you have GNU &amp;#039;&amp;#039;&amp;#039;tar&amp;#039;&amp;#039;&amp;#039; ([http://www.gnu.org/software/tar/ http://www.gnu.org/software/tar/]), &amp;#039;&amp;#039;&amp;#039;rpm2cpio&amp;#039;&amp;#039;&amp;#039; ([http://www.rpm.org/ http://www.rpm.org/]) and GNU &amp;#039;&amp;#039;&amp;#039;cpio&amp;#039;&amp;#039;&amp;#039; ([http://www.gnu.org/software/cpio/cpio.html http://www.gnu.org/software/cpio/cpio.html]). &lt;br /&gt;
&lt;br /&gt;
In the following example we will &amp;quot;install&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;OOo_2.4.0_LinuxIntel_install_en-US.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that has been downloaded in the directory &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# cd to the folder where you downloaded the *.tar.gz file&lt;br /&gt;
# in this example we downloaded &lt;br /&gt;
# the file OOo_2.4.0_LinuxIntel_install_en-US.tar.gz &lt;br /&gt;
# in the folder /home/user/download/ooo/&lt;br /&gt;
&lt;br /&gt;
~&amp;gt; cd download/ooo/&lt;br /&gt;
&lt;br /&gt;
# make a temp dir to extract the file content&lt;br /&gt;
# in this example we name it TEMP_INST&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; mkdir TEMP_INST &lt;br /&gt;
&lt;br /&gt;
# cd to that temp folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; cd TEMP_INST/ &lt;br /&gt;
&lt;br /&gt;
# extract the file content&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo_2.4.0_LinuxIntel_install_en-US.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this commands we have unpacked the content of the tarball in the temporal directory. Note that the directory structure we may find varies in different OpenOffice.org versions; older versions unpacked the RPMS directory in the root (in this example &amp;lt;code&amp;gt;download/ooo/TEMP_INST/RPMS/&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
Recent versions have a root directory named according to the build number; in our example the root directory is &amp;lt;code&amp;gt;OOH680_m12_native_packed-1_en-US.9286&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
We need to &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; the RPMS inside this root, where all the rpms are located.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# now we have to create another temp dir to extract all the RPMs files&lt;br /&gt;
# contained in the RPMS folder&lt;br /&gt;
# Some older versions created only a RPMS folder in the dir&lt;br /&gt;
# where we unpacked, for example download/ooo/TEMP_INST/RPMS/&lt;br /&gt;
# In this example the root directory begins with the build name&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; cd OOH680_m12_native_packed-1_en-US.9286/RPMS/ &lt;br /&gt;
&lt;br /&gt;
# in the following we will shorten the dir name&lt;br /&gt;
# instead of ~/download/ooo/TEMP_INST/OOH680_m12_native_packed-2_en-US.9276/RPMS&amp;gt;&lt;br /&gt;
# we will write ~/download/ooo/TEMP_INST/OOH680_m12 .../RPMS&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# make a temp dir where to extract OpenOffice.org installation root directory&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS&amp;gt; mkdir TEMP_ROOT &lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS&amp;gt; cd TEMP_ROOT/ &lt;br /&gt;
&lt;br /&gt;
# extract the RPMs&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT&amp;gt; for i in ../openoffice.org*.rpm; do rpm2cpio $i | cpio -id; done &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this procedure we will find in &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en-US.9286/RPMS/TEMP_ROOT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
all the root directory: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;~/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en-US.9286/RPMS/TEMP_ROOT/opt/openoffice.org2.4/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you just have to copy or move that root directory wherever you want. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT&amp;gt;cd opt&lt;br /&gt;
&lt;br /&gt;
# make sure not to precede &amp;quot;opt&amp;quot; with a slash, as in /opt&lt;br /&gt;
# because this will point to the folder where resides the main installation&lt;br /&gt;
# in /opt/openoffice.org2.4/&lt;br /&gt;
&lt;br /&gt;
# in this example we &amp;quot;install&amp;quot; the new version on home/user/openoffice.org2.4&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT/opt&amp;gt; mv openoffice.org2.4 ~&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally remove all the temporary files &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT/opt&amp;gt; cd ~/download/ooo/&lt;br /&gt;
~download/ooo&amp;gt; rm -rf TEMP_INST/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== DEB packages====&lt;br /&gt;
&lt;br /&gt;
In the following example we will &amp;quot;install&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;OOo_2.4.0_LinuxIntel_install_en-US_deb.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that has been downloaded in the directory &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# cd to the folder where you downloaded the *.tar.gz file&lt;br /&gt;
# in this example we downloaded&lt;br /&gt;
# the file OOo_2.4.0_LinuxIntel_install_en-US_deb.tar.gz&lt;br /&gt;
# in the folder /home/user/download/ooo/&lt;br /&gt;
&lt;br /&gt;
~&amp;gt; cd download/ooo/&lt;br /&gt;
&lt;br /&gt;
# make a temp dir to extract the file content&lt;br /&gt;
# in this example we name it TEMP_INST&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; mkdir TEMP_INST &lt;br /&gt;
&lt;br /&gt;
# cd to that temp folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; cd TEMP_INST/ &lt;br /&gt;
&lt;br /&gt;
# extract the file content&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo_2.4.0_LinuxIntel_install_en-US_deb.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this commands we have unpacked the content of the tarball in the temporal directory. Note that the directory structure we may find varies in different OpenOffice.org versions; older versions unpacked the DEBS directory in the root (in this example &amp;lt;code&amp;gt;download/ooo/TEMP_INST/DEBS/&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
Recent versions have a root directory named according to the build number; in our example the root directory is &amp;lt;code&amp;gt;OOH680_m12_native_packed-1_en-US.9286&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
We need to &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; the DEBS inside this root, where all the debs are located. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# now we have to create another temp dir to extract all the DEBs files&lt;br /&gt;
# contained in the DEBS folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; cd OOH680_m12_native_packed-1_en-US.9286/DEBS/ &lt;br /&gt;
&lt;br /&gt;
# in the following we will shorten the dir name&lt;br /&gt;
# instead of ~/download/ooo/TEMP_INST/OOH680_m12_native_packed-2_en-US.9276/DEBS&amp;gt;&lt;br /&gt;
# we will write ~/download/ooo/TEMP_INST/OOH680_m12 .../DEBS&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# make a temp dir where to extract OpenOffice.org installation root directory&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS&amp;gt; mkdir TEMP_ROOT &lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS&amp;gt; cd TEMP_ROOT/ &lt;br /&gt;
&lt;br /&gt;
# extract the DEBs &lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT&amp;gt; for i in ../openoffice.org*.deb; do dpkg-deb -x $i . ; done &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this procedure we will find in &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en-US.9286/DEBS/TEMP_ROOT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
all the root directory: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;~/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en-US.9286/DEBS/TEMP_ROOT/opt/openoffice.org2.4/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you just have to copy or move that root directory wherever you want. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT&amp;gt;cd opt&lt;br /&gt;
&lt;br /&gt;
# make sure not to precede &amp;quot;opt&amp;quot; with a slash, as in /opt&lt;br /&gt;
# because this will point to the folder where resides the main installation&lt;br /&gt;
# in /opt/openoffice.org2.4/&lt;br /&gt;
&lt;br /&gt;
# in this example we &amp;quot;install&amp;quot; the new version on home/user/openoffice.org2.4&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT/opt&amp;gt; mv openoffice.org2.4 ~&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally remove all the temporary files &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT/opt&amp;gt; cd ~/download/ooo/&lt;br /&gt;
~download/ooo&amp;gt; rm -rf TEMP_INST/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once all this is done, to run OpenOffice 2.4, you&amp;#039;ll need to cd to the /openoffice.org2.4/program/ folder then run the program with ./soffice or ./swriter etc. You can of course create a desktop or menu shortcut to do the same thing.&lt;br /&gt;
&lt;br /&gt;
So: &lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;cd ~/openoffice.org2.4/program/&lt;br /&gt;
And then:&lt;br /&gt;
./soffice&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You might like to add the language packs that correspond to your parallel installation. If so, then it is just a question of running the dpkg command inside the same directory you installed OOo to, with the correct path indicated for the decompressed language pack. So, if you&amp;#039;re in TEMP_INST, as above, and you&amp;#039;ve downloaded the language pack, first you&amp;#039;ll have to do: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo_your_language_pack_deb.tar.gz&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which will put the decompressed your_language_pack in the TEMP_INST directory. Then, once dpkg has been run for the program itself, and supposing you&amp;#039;re now in TEMP_ROOT as above:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT&amp;gt; for i in ../../../OOo_your_language_pack/DEBS/*.deb; do dpkg-deb -x $i . ; done&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where ../../../OOo_your_language_pack/DEBS/*.deb gives the path to the OOo_your_language_pack .deb files, i.e. back to TEMP_INST folder: (../../../) then into the language pack: OOo_your_language_pack/DEBS/&lt;br /&gt;
&lt;br /&gt;
==== User directory configuration for 2.* versions ====&lt;br /&gt;
&lt;br /&gt;
Before running this new version, we have to make some changes in the configuration. The procedure is the &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;same&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; for RPM and DEB packages.&lt;br /&gt;
&lt;br /&gt;
By default, an OpenOffice.org version will read and write in the corresponding user directory (for example, a stable OpenOffice.org 2.N version in /home/&amp;#039;&amp;#039;user&amp;#039;&amp;#039;/.openoffice.org2/, a developer snapshot in /home/&amp;#039;&amp;#039;user&amp;#039;&amp;#039;/.ooo-dev2/). This means that you can not run in parallel two versions that install as openoffice.orgN, or two as ooo-devN, because this could lead to inconsistencies. &lt;br /&gt;
&lt;br /&gt;
To avoid this we must change OpenOffice.org configuration to look for the user&amp;#039;s directory somewhere else: we will indicate the same installation root directory, this way we will have all together, being easier to deinstall later. &lt;br /&gt;
&lt;br /&gt;
To do this we must edit the configuration file located in &amp;lt;code&amp;gt;$OO_INST_ROOT_DIR/program/bootstraprc&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As this file does not have write permission, change this first &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~&amp;gt; cd openoffice.org2.4/program/&lt;br /&gt;
~/openoffice.org2.4/program&amp;gt; chmod +w bootstraprc&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can open this file with your text editor and change the line starting with &amp;lt;code&amp;gt;UserInstallation=&amp;lt;/code&amp;gt; as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;UserInstallation=$ORIGIN/..&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The whole file may look then as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
[Bootstrap]&lt;br /&gt;
BaseInstallation=$ORIGIN/..&lt;br /&gt;
InstallMode=&amp;lt;installmode&amp;gt;&lt;br /&gt;
ProductKey=OpenOffice.org 2.4&lt;br /&gt;
UserInstallation=$ORIGIN/..&lt;br /&gt;
[ErrorReport]&lt;br /&gt;
ErrorReportPort=80&lt;br /&gt;
ErrorReportServer=report.services.openoffice.org&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This way the user directory will be in the root directory of OpenOffice.org, and you can run several version in parallel. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installing 3.* versions (three layer OpenOffice.org) ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Starting with DEV300m4, OpenOffice.org has three layers (see [[ODF_Toolkit/Efforts/Three-Layer_OOo | Three-Layer OOo]]). This means that when we extract the RPM/DEB packages, we will find two directories:&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;code&amp;gt;opt/openoffice.org&amp;lt;/code&amp;gt; (contains the &amp;#039;&amp;#039;&amp;#039;lowest&amp;#039;&amp;#039;&amp;#039; and the &amp;#039;&amp;#039;&amp;#039;middle&amp;#039;&amp;#039;&amp;#039; layers: &amp;lt;code&amp;gt;ure&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;basis&amp;lt;/code&amp;gt;)&lt;br /&gt;
# &amp;lt;code&amp;gt;opt/ooo-dev3.0&amp;lt;/code&amp;gt; (contains the &amp;#039;&amp;#039;&amp;#039;top&amp;#039;&amp;#039;&amp;#039; layer)&lt;br /&gt;
&lt;br /&gt;
where you have to replace &amp;lt;code&amp;gt;ooo-dev3.0&amp;lt;/code&amp;gt; with the product name, for example &amp;lt;code&amp;gt;openoffice.org3.0&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As we want to create a &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;completely self-contained installation&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; (without any system/desktop integration, and with its own user directory), we only need to extract the packages and then rename this &amp;lt;code&amp;gt;opt&amp;lt;/code&amp;gt; directory so that the three layers are kept together.&lt;br /&gt;
&lt;br /&gt;
==== RPM packages====&lt;br /&gt;
&lt;br /&gt;
In the following example we will &amp;quot;install&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;OOo-Dev_DEV300_m7_LinuxIntel_install_en-US.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that has been downloaded in the directory &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# cd to the folder where you downloaded the *.tar.gz file&lt;br /&gt;
# in this example we downloaded &lt;br /&gt;
# the file OOo-Dev_DEV300_m7_LinuxIntel_install_en-US.tar.gz &lt;br /&gt;
# in the folder /home/user/download/ooo/&lt;br /&gt;
&lt;br /&gt;
~&amp;gt; cd download/ooo/&lt;br /&gt;
&lt;br /&gt;
# make a temp dir to extract the file content&lt;br /&gt;
# in this example we name it TEMP_INST&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; mkdir TEMP_INST &lt;br /&gt;
&lt;br /&gt;
# cd to that temp folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; cd TEMP_INST/ &lt;br /&gt;
&lt;br /&gt;
# extract the file content&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo-Dev_DEV300_m7_LinuxIntel_install_en-US.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this commands we have unpacked the content of the tarball in the temporal directory.&lt;br /&gt;
&lt;br /&gt;
We need now to &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; the RPMS inside this root, where all the rpms are located.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# now we have to create another temp dir to extract all the RPMs files&lt;br /&gt;
# contained in the RPMS folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; cd DEV300_m7_native_packed-1_en-US.9293/RPMS/ &lt;br /&gt;
&lt;br /&gt;
# in the following we will shorten the dir name &lt;br /&gt;
# instead of ~/download/ooo/TEMP_INST/DEV300_m7_native_packed-1_en-US.9293/RPMS&amp;gt;&lt;br /&gt;
# we will write ~/download/ooo/TEMP_INST/ DEV300_m7.../RPMS&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# make a temp dir where to extract OpenOffice.org installation root directory&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS&amp;gt; mkdir TEMP_ROOT &lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS&amp;gt; cd TEMP_ROOT/ &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that depending on the version, you may find two different naming schemes:&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;code&amp;gt;openoffice.org-*.rpm&amp;lt;/code&amp;gt; for the lowest and middle layers&lt;br /&gt;
# &amp;lt;code&amp;gt;ooo-dev-*.rpm&amp;lt;/code&amp;gt; for the top layer&lt;br /&gt;
&lt;br /&gt;
So you can extract the RPMs in one or two steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# extract the RPMs in one step&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; for i in ../o*.rpm; do rpm2cpio $i | cpio -id; done &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that we do not use the wildcard &amp;lt;code&amp;gt;for i in ../*.rpm&amp;lt;/code&amp;gt;, because the package may include the rpm for Java Runtime Environment (in this example, the package comes with &amp;lt;code&amp;gt;jre-6u4-linux-i586.rpm&amp;lt;/code&amp;gt;), so using the wildcard &amp;lt;code&amp;gt;../o*.rpm&amp;lt;/code&amp;gt; we make sure that only the rpms sarting with &amp;quot;o&amp;quot; are extracted.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# extract the RPMs in two steps&lt;br /&gt;
# the lowest and middle layers&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; for i in ../openoffice.org*.rpm; do rpm2cpio $i | cpio -id; done &lt;br /&gt;
&lt;br /&gt;
# extract the top layer&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; for i in ../ooo-dev*.rpm; do rpm2cpio $i | cpio -id; done &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this procedures we will find in &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/TEMP_INST/DEV300_m7_native_packed-1_en-US.9293/RPMS/TEMP_ROOT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
an &amp;lt;code&amp;gt;opt&amp;lt;/code&amp;gt; folder that contains two directories:&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;code&amp;gt;/TEMP_ROOT/opt/ooo-dev3.0&amp;lt;/code&amp;gt;&lt;br /&gt;
#&amp;lt;code&amp;gt;/TEMP_ROOT/opt/openoffice.org&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this last folder contains in turn other two directories: &amp;lt;code&amp;gt;basis3.0&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ure&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now you just have to copy or move that &amp;#039;&amp;#039;&amp;#039;opt&amp;#039;&amp;#039;&amp;#039; directory wherever you want. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# in this example we &amp;quot;install&amp;quot; the new version on home/user/OOo_DEV300_m7&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; mv opt ~/OOo_DEV300_m7&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally remove all the temporary files &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; cd ~/download/ooo/&lt;br /&gt;
~download/ooo&amp;gt; rm -rf TEMP_INST/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== DEB packages====&lt;br /&gt;
&lt;br /&gt;
In the following example we will &amp;quot;install&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;OOo-Dev_DEV300_m7_LinuxIntel_install_en-US_deb.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that has been downloaded in the directory &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# cd to the folder where you downloaded the *.tar.gz file&lt;br /&gt;
# in this example we downloaded &lt;br /&gt;
# the file OOo-Dev_DEV300_m7_LinuxIntel_install_en-US_deb.tar.gz &lt;br /&gt;
# in the folder /home/user/download/ooo/&lt;br /&gt;
&lt;br /&gt;
~&amp;gt; cd download/ooo/&lt;br /&gt;
&lt;br /&gt;
# make a temp dir to extract the file content&lt;br /&gt;
# in this example we name it TEMP_INST&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; mkdir TEMP_INST &lt;br /&gt;
&lt;br /&gt;
# cd to that temp folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; cd TEMP_INST/ &lt;br /&gt;
&lt;br /&gt;
# extract the file content&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo-Dev_DEV300_m7_LinuxIntel_install_en-US_deb.tar.gz&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this commands we have unpacked the content of the tarball in the temporal directory. &lt;br /&gt;
&lt;br /&gt;
We need now to &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; the DEBS inside this root, where all the debs are located. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# now we have to create another temp dir to extract all the DEBs files&lt;br /&gt;
# contained in the DEBS folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; cd DEV300_m7_native_packed-1_en-US.9293/DEBS/ &lt;br /&gt;
&lt;br /&gt;
# in the following we will shorten the dir name &lt;br /&gt;
# instead of ~/download/ooo/TEMP_INST/DEV300_m7_native_packed-1_en-US.9293/DEBS&amp;gt;&lt;br /&gt;
# we will write ~/download/ooo/TEMP_INST/DEV300_m7.../DEBS&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# make a temp dir where to extract OpenOffice.org installation root directory&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS&amp;gt; mkdir TEMP_ROOT &lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7 .../DEBS&amp;gt; cd TEMP_ROOT/ &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that depending on the version, you may find two different naming schemes:&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;code&amp;gt;openoffice.org-*.deb&amp;lt;/code&amp;gt; for the lowest and middle layers&lt;br /&gt;
#&amp;lt;code&amp;gt;ooo-dev-*.deb&amp;lt;/code&amp;gt; for the top layer&lt;br /&gt;
&lt;br /&gt;
So you can extract the DEBs in one or two steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# extract the DEBs in one step&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; for i in ../*.deb; do dpkg-deb -x $i . ; done &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# extract the DEBs in two steps&lt;br /&gt;
# the lowest and middle layers&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; for i in ../openoffice.org*.deb; do dpkg-deb -x $i . ; done &lt;br /&gt;
&lt;br /&gt;
# extract the top layer&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; for i in ../ooo-dev*.deb; do dpkg-deb -x $i . ; done &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this procedure we will find in &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/TEMP_INST/DEV300_m7_native_packed-1_en-US.9293/DEBS/TEMP_ROOT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
an &amp;lt;code&amp;gt;opt&amp;lt;/code&amp;gt; folder that contains two directories:&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;code&amp;gt;/TEMP_ROOT/opt/ooo-dev3.0&amp;lt;/code&amp;gt;&lt;br /&gt;
#&amp;lt;code&amp;gt;/TEMP_ROOT/opt/openoffice.org&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this last folder contains in turn other two directories: &amp;lt;code&amp;gt;basis3.0&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ure&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now you just have to copy or move that &amp;#039;&amp;#039;&amp;#039;opt&amp;#039;&amp;#039;&amp;#039; directory wherever you want. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# in this example we &amp;quot;install&amp;quot; the new version on home/user/OOo_DEV300_m7&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; mv opt ~/OOo_DEV300_m7&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally remove all the temporary files &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; cd ~/download/ooo/&lt;br /&gt;
~download/ooo&amp;gt; rm -rf TEMP_INST/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== User directory configuration for 3.* versions ====&lt;br /&gt;
&lt;br /&gt;
Before running this new version, we have to make some changes in the configuration. The procedure is the &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;same&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; for RPM and DEB packages.&lt;br /&gt;
&lt;br /&gt;
By default, an OpenOffice.org version will read and write in the corresponding user directory (for example, a stable OpenOffice.org 2.N version in /home/&amp;#039;&amp;#039;user&amp;#039;&amp;#039;/.openoffice.org2/, a developer snapshot in /home/&amp;#039;&amp;#039;user&amp;#039;&amp;#039;/.ooo-dev2/). This means that you can not run in parallel two versions that install as openoffice.orgN, or two as ooo-devN, because this could lead to inconsistencies. &lt;br /&gt;
&lt;br /&gt;
To avoid this we must change OpenOffice.org configuration to look for the user&amp;#039;s directory somewhere else: we will indicate the same installation root directory, this way we will have all together, being easier to deinstall later. &lt;br /&gt;
&lt;br /&gt;
To do this we must edit the configuration file &amp;lt;code&amp;gt;bootstraprc&amp;lt;/code&amp;gt; located in the &amp;lt;code&amp;gt;program &amp;lt;/code&amp;gt;directory inside the top layer, in this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/OOo_DEV300_m7/ooo-dev3.0/program&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As this file does not have write permission, change this first &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
&amp;gt; cd ~/OOo_DEV300_m7/ooo-dev3.0/program&lt;br /&gt;
~/OOo_DEV300_m7/ooo-dev3.0/program&amp;gt; chmod +w bootstraprc&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can open this file with your text editor and change the line starting with &amp;lt;code&amp;gt;UserInstallation=&amp;lt;/code&amp;gt; as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;UserInstallation=$ORIGIN/..&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The whole file may look then as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
[Bootstrap]&lt;br /&gt;
BaseInstallation=${OOO_BASE_DIR}&lt;br /&gt;
InstallMode=&amp;lt;installmode&amp;gt;&lt;br /&gt;
ProductKey=OOo-dev 3.0&lt;br /&gt;
UserInstallation=$ORIGIN/..&lt;br /&gt;
[ErrorReport]&lt;br /&gt;
ErrorReportPort=80&lt;br /&gt;
ErrorReportServer=report.services.openoffice.org&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This way the user directory will be in the root directory of OpenOffice.org, and you can run several version in parallel.&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
&lt;br /&gt;
On Windows, you must do a so-called administrative installation of your package. This is something available for all msi-based installations, and basically simply means extracting the .cab files which come with your installation.&lt;br /&gt;
&lt;br /&gt;
If you have a all-in-one executable containing your installation set (one single .exe file having more than 100 MB, named e.g. &amp;lt;code&amp;gt;OOo_2.4.237_Win32Intel_install.exe&amp;lt;/code&amp;gt;), you first allow it to extract itself. For this, simply start the executable - it will prompt you for where to extract the files. After extraction, it will automatically run the real installer - cancel it.&lt;br /&gt;
&lt;br /&gt;
In the following, we assume you extracted it to &amp;lt;code&amp;gt;c:\temp\install&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, open a console (&amp;lt;Windows_Key&amp;gt;+R, following by typing &amp;quot;cmd&amp;lt;enter&amp;gt;&amp;quot;, will do), there do a&lt;br /&gt;
  ...&amp;gt; c:&lt;br /&gt;
  c:\&amp;gt; cd \temp\install&lt;br /&gt;
  c:\temp\install&amp;gt; msiexec /a ooodev24.msi&lt;br /&gt;
&lt;br /&gt;
(The above assumes there is a file ooodev24.msi in the given directory. The name changes with the version you&amp;#039;re installing, but it should always be exactly one .msi file. Use this one&amp;#039;s name.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;msiexec&amp;lt;/code&amp;gt; is a tool to, well, execute .msi files. The /a switch tells it to do an administrative install. It will start a UI, where you again are asked for the target location - choose a folder where you finally want to have OOo being installed. Then, click the &amp;quot;Install&amp;quot; button, wait a few minutes, and there you are.&lt;br /&gt;
&lt;br /&gt;
side note for advanced users:&lt;br /&gt;
  msiexec /a ooodev24.msi TARGETDIR=&amp;quot;c:\Program Files\OOoDev\m237&amp;quot; /qr&lt;br /&gt;
will install OOo into the folder &amp;quot;c:\Program Files\OOoDev\m237&amp;quot;, without any further user interaction.&lt;br /&gt;
&lt;br /&gt;
Beginning with &amp;lt;code&amp;gt;DEV300m23&amp;lt;/code&amp;gt;, the necessary Microsoft Visual&amp;amp;nbsp;C++ runtime files are no longer contained in the installed OOo product, but are rather installed into the system during normal installation (see [http://www.openoffice.org/servlets/ReadMsg?list=interface-announce&amp;amp;msgNo=1173 this interface-announce@openoffice.org mail]).  As this is not done during an administrative installation, you have to install the [http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF Microsoft Visual C++ 2008 Redistributable Package (x86)] (or equivalent for different compiler versions) yourself.&lt;br /&gt;
&lt;br /&gt;
=== User Configuration ===&lt;br /&gt;
&lt;br /&gt;
Like with the Linux version above, you need to make sure the user data of the just installed OOo version doesn&amp;#039;t conflict with the user data of other installations. To do so, open the file &amp;lt;code&amp;gt;&amp;lt;OOo_installation&amp;gt;\program\bootstrap.ini&amp;lt;/code&amp;gt; in a text editor of your choice, and locate the line&lt;br /&gt;
&lt;br /&gt;
  UserInstallation=$SYSUSERCONFIG/OOo-dev2&lt;br /&gt;
&lt;br /&gt;
(Again, the last part of this depends on the concrete version you installed, but there&amp;#039;s only one line starting with &amp;lt;code&amp;gt;UserInstallation&amp;lt;/code&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
Change this to&lt;br /&gt;
  UserInstallation=$ORIGIN/..&lt;br /&gt;
&lt;br /&gt;
The entire file may now look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;[Bootstrap]&lt;br /&gt;
BaseInstallation=${OOO_BASE_DIR}&lt;br /&gt;
InstallMode=&amp;lt;installmode&amp;gt;&lt;br /&gt;
ProductKey=OpenOffice.org 3.2&lt;br /&gt;
UserInstallation=$ORIGIN/..&lt;br /&gt;
[ErrorReport]&lt;br /&gt;
ErrorReportPort=80&lt;br /&gt;
ErrorReportServer=report.services.openoffice.org&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, your user data will be put into a folder &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt; right besides your &amp;lt;code&amp;gt;program&amp;lt;/code&amp;gt; folder. Which has two advantages: Different version&amp;#039;s user data don&amp;#039;t clash anymore, and you can remove the complete installation, &amp;#039;&amp;#039;including&amp;#039;&amp;#039; your user data, by simply deleting the installation folder.&lt;br /&gt;
Be aware, however, that now different people working on the same Windows machine will all work with the same user data, which is unlike a normal installation.&lt;br /&gt;
&lt;br /&gt;
== Adapt changes for automated testing ==&lt;br /&gt;
&lt;br /&gt;
If you plan to use an installation for automated testing with [[VCLTesttool|VCLTestTool please check Wiki-page]] to learn what settings must be made. &lt;br /&gt;
&lt;br /&gt;
To let VCLTestTool find the administrative installation it is required to adapt an option named &amp;#039;OOoProgramDir&amp;#039;. Simply change this to the program-dir in the brand layer of your OpenOffice.org Installation&lt;br /&gt;
&lt;br /&gt;
[[Image:VCLTestTool-options-OOoProgramDir.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
[[Category:Quality Assurance]]&lt;/div&gt;</summary>
		<author><name>Rhoalpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Run_OOo_versions_parallel&amp;diff=183592</id>
		<title>Run OOo versions parallel</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Run_OOo_versions_parallel&amp;diff=183592"/>
		<updated>2010-09-15T06:19:55Z</updated>

		<summary type="html">&lt;p&gt;Rhoalpha: /* DEB packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:How to run different OpenOffice.org versions in parallel}}&lt;br /&gt;
[[ja:JA/QA/Run_OOo_versions_parallel]]&lt;br /&gt;
[[sl:SL/Run_OOo_versions_parallel]]&lt;br /&gt;
[[de:DE/Run_OOo_versions_parallel]]&lt;br /&gt;
[[ru:RU/qa/run_ooo_versions_parallel]]&lt;br /&gt;
&lt;br /&gt;
To participate in OpenOffice.org you do not need to be a programmer: you can help to fix OpenOffice.org bugs as soon as possible by simply installing a developer snapshot and using it as you usually do.&lt;br /&gt;
&lt;br /&gt;
Usually every version comes in an installable file that installs in the same directory as previous versions: for example a &amp;lt;B&amp;gt;stable&amp;lt;/B&amp;gt; version, let&amp;#039;s say OpenOffice.org 2.3.1, will install on a directory like /opt/openoffice.org2.3/ (*nix systems) and  C:\Program Files\OpenOffice.org 2.3\ (Windows, where the folder &amp;quot;Program Files&amp;quot; has usually a localized name), while a &amp;lt;B&amp;gt;developer snapshot&amp;lt;/B&amp;gt; will install in /opt/ooo-dev2.3/ (*nix systems) and C:\Program Files\OOo-dev 2.3\ (Windows).&lt;br /&gt;
&lt;br /&gt;
This has some drawbacks: you may want to install different developer snapshots, or also want to keep your &amp;quot;old&amp;quot; stable version of OpenOffice.org. A new stable or developer version will install in the corresponding folder, replacing the current installation (on Windows this will be done by the installer, on *nix systems you will have to deinstall old versions before installing new ones).&lt;br /&gt;
&lt;br /&gt;
To avoid this we will explain how to install different OpenOffice.org versions and run them in parallel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
&lt;br /&gt;
In this section we will show how to &amp;quot;install&amp;quot; any OpenOffice.org version distributed in a RPM or DEB package. In fact, we won&amp;#039;t &amp;#039;&amp;#039;install&amp;#039;&amp;#039; it but rather &amp;#039;&amp;#039;extract&amp;#039;&amp;#039; the files in the packages.&lt;br /&gt;
&lt;br /&gt;
Notice that with this method you can use an RPM or a DEB package, &amp;#039;&amp;#039;&amp;#039;regardless&amp;#039;&amp;#039;&amp;#039; of your distribution’s package format (that is, you can extract an RPM package in Debian, or a DEB package in Mandriva).&lt;br /&gt;
&lt;br /&gt;
=== Installing 2.* versions ===&lt;br /&gt;
&lt;br /&gt;
==== RPM packages====&lt;br /&gt;
&lt;br /&gt;
Before starting, make sure you have GNU &amp;#039;&amp;#039;&amp;#039;tar&amp;#039;&amp;#039;&amp;#039; ([http://www.gnu.org/software/tar/ http://www.gnu.org/software/tar/]), &amp;#039;&amp;#039;&amp;#039;rpm2cpio&amp;#039;&amp;#039;&amp;#039; ([http://www.rpm.org/ http://www.rpm.org/]) and GNU &amp;#039;&amp;#039;&amp;#039;cpio&amp;#039;&amp;#039;&amp;#039; ([http://www.gnu.org/software/cpio/cpio.html http://www.gnu.org/software/cpio/cpio.html]). &lt;br /&gt;
&lt;br /&gt;
In the following example we will &amp;quot;install&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;OOo_2.4.0_LinuxIntel_install_en-US.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that has been downloaded in the directory &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# cd to the folder where you downloaded the *.tar.gz file&lt;br /&gt;
# in this example we downloaded &lt;br /&gt;
# the file OOo_2.4.0_LinuxIntel_install_en-US.tar.gz &lt;br /&gt;
# in the folder /home/user/download/ooo/&lt;br /&gt;
&lt;br /&gt;
~&amp;gt; cd download/ooo/&lt;br /&gt;
&lt;br /&gt;
# make a temp dir to extract the file content&lt;br /&gt;
# in this example we name it TEMP_INST&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; mkdir TEMP_INST &lt;br /&gt;
&lt;br /&gt;
# cd to that temp folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; cd TEMP_INST/ &lt;br /&gt;
&lt;br /&gt;
# extract the file content&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo_2.4.0_LinuxIntel_install_en-US.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this commands we have unpacked the content of the tarball in the temporal directory. Note that the directory structure we may find varies in different OpenOffice.org versions; older versions unpacked the RPMS directory in the root (in this example &amp;lt;code&amp;gt;download/ooo/TEMP_INST/RPMS/&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
Recent versions have a root directory named according to the build number; in our example the root directory is &amp;lt;code&amp;gt;OOH680_m12_native_packed-1_en-US.9286&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
We need to &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; the RPMS inside this root, where all the rpms are located.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# now we have to create another temp dir to extract all the RPMs files&lt;br /&gt;
# contained in the RPMS folder&lt;br /&gt;
# Some older versions created only a RPMS folder in the dir&lt;br /&gt;
# where we unpacked, for example download/ooo/TEMP_INST/RPMS/&lt;br /&gt;
# In this example the root directory begins with the build name&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; cd OOH680_m12_native_packed-1_en-US.9286/RPMS/ &lt;br /&gt;
&lt;br /&gt;
# in the following we will shorten the dir name&lt;br /&gt;
# instead of ~/download/ooo/TEMP_INST/OOH680_m12_native_packed-2_en-US.9276/RPMS&amp;gt;&lt;br /&gt;
# we will write ~/download/ooo/TEMP_INST/OOH680_m12 .../RPMS&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# make a temp dir where to extract OpenOffice.org installation root directory&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS&amp;gt; mkdir TEMP_ROOT &lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS&amp;gt; cd TEMP_ROOT/ &lt;br /&gt;
&lt;br /&gt;
# extract the RPMs&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT&amp;gt; for i in ../openoffice.org*.rpm; do rpm2cpio $i | cpio -id; done &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this procedure we will find in &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en-US.9286/RPMS/TEMP_ROOT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
all the root directory: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;~/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en-US.9286/RPMS/TEMP_ROOT/opt/openoffice.org2.4/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you just have to copy or move that root directory wherever you want. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT&amp;gt;cd opt&lt;br /&gt;
&lt;br /&gt;
# make sure not to precede &amp;quot;opt&amp;quot; with a slash, as in /opt&lt;br /&gt;
# because this will point to the folder where resides the main installation&lt;br /&gt;
# in /opt/openoffice.org2.4/&lt;br /&gt;
&lt;br /&gt;
# in this example we &amp;quot;install&amp;quot; the new version on home/user/openoffice.org2.4&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT/opt&amp;gt; mv openoffice.org2.4 ~&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally remove all the temporary files &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT/opt&amp;gt; cd ~/download/ooo/&lt;br /&gt;
~download/ooo&amp;gt; rm -rf TEMP_INST/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== DEB packages====&lt;br /&gt;
&lt;br /&gt;
In the following example we will &amp;quot;install&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;OOo_2.4.0_LinuxIntel_install_en-US_deb.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that has been downloaded in the directory &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# cd to the folder where you downloaded the *.tar.gz file&lt;br /&gt;
# in this example we downloaded&lt;br /&gt;
# the file OOo_2.4.0_LinuxIntel_install_en-US_deb.tar.gz&lt;br /&gt;
# in the folder /home/user/download/ooo/&lt;br /&gt;
&lt;br /&gt;
~&amp;gt; cd download/ooo/&lt;br /&gt;
&lt;br /&gt;
# make a temp dir to extract the file content&lt;br /&gt;
# in this example we name it TEMP_INST&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; mkdir TEMP_INST &lt;br /&gt;
&lt;br /&gt;
# cd to that temp folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; cd TEMP_INST/ &lt;br /&gt;
&lt;br /&gt;
# extract the file content&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo_2.4.0_LinuxIntel_install_en-US_deb.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this commands we have unpacked the content of the tarball in the temporal directory. Note that the directory structure we may find varies in different OpenOffice.org versions; older versions unpacked the DEBS directory in the root (in this example &amp;lt;code&amp;gt;download/ooo/TEMP_INST/DEBS/&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
Recent versions have a root directory named according to the build number; in our example the root directory is &amp;lt;code&amp;gt;OOH680_m12_native_packed-1_en-US.9286&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
We need to &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; the DEBS inside this root, where all the debs are located. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# now we have to create another temp dir to extract all the DEBs files&lt;br /&gt;
# contained in the DEBS folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; cd OOH680_m12_native_packed-1_en-US.9286/DEBS/ &lt;br /&gt;
&lt;br /&gt;
# in the following we will shorten the dir name&lt;br /&gt;
# instead of ~/download/ooo/TEMP_INST/OOH680_m12_native_packed-2_en-US.9276/DEBS&amp;gt;&lt;br /&gt;
# we will write ~/download/ooo/TEMP_INST/OOH680_m12 .../DEBS&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# make a temp dir where to extract OpenOffice.org installation root directory&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS&amp;gt; mkdir TEMP_ROOT &lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS&amp;gt; cd TEMP_ROOT/ &lt;br /&gt;
&lt;br /&gt;
# extract the DEBs &lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT&amp;gt; for i in ../openoffice.org*.deb; do dpkg-deb -x $i . ; done &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this procedure we will find in &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en-US.9286/DEBS/TEMP_ROOT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
all the root directory: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;~/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en-US.9286/DEBS/TEMP_ROOT/opt/openoffice.org2.4/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you just have to copy or move that root directory wherever you want. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT&amp;gt;cd opt&lt;br /&gt;
&lt;br /&gt;
# make sure not to precede &amp;quot;opt&amp;quot; with a slash, as in /opt&lt;br /&gt;
# because this will point to the folder where resides the main installation&lt;br /&gt;
# in /opt/openoffice.org2.4/&lt;br /&gt;
&lt;br /&gt;
# in this example we &amp;quot;install&amp;quot; the new version on home/user/openoffice.org2.4&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT/opt&amp;gt; mv openoffice.org2.4 ~&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally remove all the temporary files &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT/opt&amp;gt; cd ~/download/ooo/&lt;br /&gt;
~download/ooo&amp;gt; rm -rf TEMP_INST/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once all this is done, to run OpenOffice 2.4, you&amp;#039;ll need to cd to the /openoffice.org2.4/program/ folder then run the program with ./soffice or ./swriter etc. You can of course create a desktop or menu shortcut to do the same thing.&lt;br /&gt;
&lt;br /&gt;
So: &lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;cd ~/openoffice.org2.4/program/&lt;br /&gt;
And then:&lt;br /&gt;
./soffice&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You might like to add the language packs that correspond to your parallel installation. If so, then it is just a question of running the dpkg command inside the same directory you installed OOo to, with the correct path indicated for the decompressed language pack. So, if you&amp;#039;re in TEMP_INST, as above, and you&amp;#039;ve downloaded the language pack, first you&amp;#039;ll have to do: &lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo_your_language_pack_deb.tar.gz&amp;lt;/source&amp;gt;&lt;br /&gt;
which will put the decompressed your_language_pack in the TEMP_INST directory. Then, once dpkg has been run for the program itself, and supposing you&amp;#039;re now in TEMP_ROOT as above:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT&amp;gt; for i in ../../../OOo_your_language_pack/DEBS/*.deb; do dpkg-deb -x $i . ; done&amp;lt;/source&amp;gt;&lt;br /&gt;
where ../../../your_language_pack/DEBS/*.deb gives the path to the OOo_your_language_pack .deb files, i.e. back to TEMP_INST folder: (../../../) then into the language pack: OOo_your_language_pack/DEBS/&lt;br /&gt;
&lt;br /&gt;
==== User directory configuration for 2.* versions ====&lt;br /&gt;
&lt;br /&gt;
Before running this new version, we have to make some changes in the configuration. The procedure is the &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;same&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; for RPM and DEB packages.&lt;br /&gt;
&lt;br /&gt;
By default, an OpenOffice.org version will read and write in the corresponding user directory (for example, a stable OpenOffice.org 2.N version in /home/&amp;#039;&amp;#039;user&amp;#039;&amp;#039;/.openoffice.org2/, a developer snapshot in /home/&amp;#039;&amp;#039;user&amp;#039;&amp;#039;/.ooo-dev2/). This means that you can not run in parallel two versions that install as openoffice.orgN, or two as ooo-devN, because this could lead to inconsistencies. &lt;br /&gt;
&lt;br /&gt;
To avoid this we must change OpenOffice.org configuration to look for the user&amp;#039;s directory somewhere else: we will indicate the same installation root directory, this way we will have all together, being easier to deinstall later. &lt;br /&gt;
&lt;br /&gt;
To do this we must edit the configuration file located in &amp;lt;code&amp;gt;$OO_INST_ROOT_DIR/program/bootstraprc&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As this file does not have write permission, change this first &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~&amp;gt; cd openoffice.org2.4/program/&lt;br /&gt;
~/openoffice.org2.4/program&amp;gt; chmod +w bootstraprc&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can open this file with your text editor and change the line starting with &amp;lt;code&amp;gt;UserInstallation=&amp;lt;/code&amp;gt; as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;UserInstallation=$ORIGIN/..&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The whole file may look then as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
[Bootstrap]&lt;br /&gt;
BaseInstallation=$ORIGIN/..&lt;br /&gt;
InstallMode=&amp;lt;installmode&amp;gt;&lt;br /&gt;
ProductKey=OpenOffice.org 2.4&lt;br /&gt;
UserInstallation=$ORIGIN/..&lt;br /&gt;
[ErrorReport]&lt;br /&gt;
ErrorReportPort=80&lt;br /&gt;
ErrorReportServer=report.services.openoffice.org&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This way the user directory will be in the root directory of OpenOffice.org, and you can run several version in parallel. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installing 3.* versions (three layer OpenOffice.org) ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Starting with DEV300m4, OpenOffice.org has three layers (see [[ODF_Toolkit/Efforts/Three-Layer_OOo | Three-Layer OOo]]). This means that when we extract the RPM/DEB packages, we will find two directories:&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;code&amp;gt;opt/openoffice.org&amp;lt;/code&amp;gt; (contains the &amp;#039;&amp;#039;&amp;#039;lowest&amp;#039;&amp;#039;&amp;#039; and the &amp;#039;&amp;#039;&amp;#039;middle&amp;#039;&amp;#039;&amp;#039; layers: &amp;lt;code&amp;gt;ure&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;basis&amp;lt;/code&amp;gt;)&lt;br /&gt;
# &amp;lt;code&amp;gt;opt/ooo-dev3.0&amp;lt;/code&amp;gt; (contains the &amp;#039;&amp;#039;&amp;#039;top&amp;#039;&amp;#039;&amp;#039; layer)&lt;br /&gt;
&lt;br /&gt;
where you have to replace &amp;lt;code&amp;gt;ooo-dev3.0&amp;lt;/code&amp;gt; with the product name, for example &amp;lt;code&amp;gt;openoffice.org3.0&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As we want to create a &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;completely self-contained installation&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; (without any system/desktop integration, and with its own user directory), we only need to extract the packages and then rename this &amp;lt;code&amp;gt;opt&amp;lt;/code&amp;gt; directory so that the three layers are kept together.&lt;br /&gt;
&lt;br /&gt;
==== RPM packages====&lt;br /&gt;
&lt;br /&gt;
In the following example we will &amp;quot;install&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;OOo-Dev_DEV300_m7_LinuxIntel_install_en-US.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that has been downloaded in the directory &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# cd to the folder where you downloaded the *.tar.gz file&lt;br /&gt;
# in this example we downloaded &lt;br /&gt;
# the file OOo-Dev_DEV300_m7_LinuxIntel_install_en-US.tar.gz &lt;br /&gt;
# in the folder /home/user/download/ooo/&lt;br /&gt;
&lt;br /&gt;
~&amp;gt; cd download/ooo/&lt;br /&gt;
&lt;br /&gt;
# make a temp dir to extract the file content&lt;br /&gt;
# in this example we name it TEMP_INST&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; mkdir TEMP_INST &lt;br /&gt;
&lt;br /&gt;
# cd to that temp folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; cd TEMP_INST/ &lt;br /&gt;
&lt;br /&gt;
# extract the file content&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo-Dev_DEV300_m7_LinuxIntel_install_en-US.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this commands we have unpacked the content of the tarball in the temporal directory.&lt;br /&gt;
&lt;br /&gt;
We need now to &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; the RPMS inside this root, where all the rpms are located.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# now we have to create another temp dir to extract all the RPMs files&lt;br /&gt;
# contained in the RPMS folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; cd DEV300_m7_native_packed-1_en-US.9293/RPMS/ &lt;br /&gt;
&lt;br /&gt;
# in the following we will shorten the dir name &lt;br /&gt;
# instead of ~/download/ooo/TEMP_INST/DEV300_m7_native_packed-1_en-US.9293/RPMS&amp;gt;&lt;br /&gt;
# we will write ~/download/ooo/TEMP_INST/ DEV300_m7.../RPMS&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# make a temp dir where to extract OpenOffice.org installation root directory&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS&amp;gt; mkdir TEMP_ROOT &lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS&amp;gt; cd TEMP_ROOT/ &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that depending on the version, you may find two different naming schemes:&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;code&amp;gt;openoffice.org-*.rpm&amp;lt;/code&amp;gt; for the lowest and middle layers&lt;br /&gt;
# &amp;lt;code&amp;gt;ooo-dev-*.rpm&amp;lt;/code&amp;gt; for the top layer&lt;br /&gt;
&lt;br /&gt;
So you can extract the RPMs in one or two steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# extract the RPMs in one step&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; for i in ../o*.rpm; do rpm2cpio $i | cpio -id; done &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that we do not use the wildcard &amp;lt;code&amp;gt;for i in ../*.rpm&amp;lt;/code&amp;gt;, because the package may include the rpm for Java Runtime Environment (in this example, the package comes with &amp;lt;code&amp;gt;jre-6u4-linux-i586.rpm&amp;lt;/code&amp;gt;), so using the wildcard &amp;lt;code&amp;gt;../o*.rpm&amp;lt;/code&amp;gt; we make sure that only the rpms sarting with &amp;quot;o&amp;quot; are extracted.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# extract the RPMs in two steps&lt;br /&gt;
# the lowest and middle layers&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; for i in ../openoffice.org*.rpm; do rpm2cpio $i | cpio -id; done &lt;br /&gt;
&lt;br /&gt;
# extract the top layer&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; for i in ../ooo-dev*.rpm; do rpm2cpio $i | cpio -id; done &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this procedures we will find in &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/TEMP_INST/DEV300_m7_native_packed-1_en-US.9293/RPMS/TEMP_ROOT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
an &amp;lt;code&amp;gt;opt&amp;lt;/code&amp;gt; folder that contains two directories:&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;code&amp;gt;/TEMP_ROOT/opt/ooo-dev3.0&amp;lt;/code&amp;gt;&lt;br /&gt;
#&amp;lt;code&amp;gt;/TEMP_ROOT/opt/openoffice.org&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this last folder contains in turn other two directories: &amp;lt;code&amp;gt;basis3.0&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ure&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now you just have to copy or move that &amp;#039;&amp;#039;&amp;#039;opt&amp;#039;&amp;#039;&amp;#039; directory wherever you want. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# in this example we &amp;quot;install&amp;quot; the new version on home/user/OOo_DEV300_m7&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; mv opt ~/OOo_DEV300_m7&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally remove all the temporary files &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; cd ~/download/ooo/&lt;br /&gt;
~download/ooo&amp;gt; rm -rf TEMP_INST/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== DEB packages====&lt;br /&gt;
&lt;br /&gt;
In the following example we will &amp;quot;install&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;OOo-Dev_DEV300_m7_LinuxIntel_install_en-US_deb.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that has been downloaded in the directory &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# cd to the folder where you downloaded the *.tar.gz file&lt;br /&gt;
# in this example we downloaded &lt;br /&gt;
# the file OOo-Dev_DEV300_m7_LinuxIntel_install_en-US_deb.tar.gz &lt;br /&gt;
# in the folder /home/user/download/ooo/&lt;br /&gt;
&lt;br /&gt;
~&amp;gt; cd download/ooo/&lt;br /&gt;
&lt;br /&gt;
# make a temp dir to extract the file content&lt;br /&gt;
# in this example we name it TEMP_INST&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; mkdir TEMP_INST &lt;br /&gt;
&lt;br /&gt;
# cd to that temp folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; cd TEMP_INST/ &lt;br /&gt;
&lt;br /&gt;
# extract the file content&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo-Dev_DEV300_m7_LinuxIntel_install_en-US_deb.tar.gz&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this commands we have unpacked the content of the tarball in the temporal directory. &lt;br /&gt;
&lt;br /&gt;
We need now to &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; the DEBS inside this root, where all the debs are located. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# now we have to create another temp dir to extract all the DEBs files&lt;br /&gt;
# contained in the DEBS folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; cd DEV300_m7_native_packed-1_en-US.9293/DEBS/ &lt;br /&gt;
&lt;br /&gt;
# in the following we will shorten the dir name &lt;br /&gt;
# instead of ~/download/ooo/TEMP_INST/DEV300_m7_native_packed-1_en-US.9293/DEBS&amp;gt;&lt;br /&gt;
# we will write ~/download/ooo/TEMP_INST/DEV300_m7.../DEBS&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# make a temp dir where to extract OpenOffice.org installation root directory&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS&amp;gt; mkdir TEMP_ROOT &lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7 .../DEBS&amp;gt; cd TEMP_ROOT/ &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that depending on the version, you may find two different naming schemes:&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;code&amp;gt;openoffice.org-*.deb&amp;lt;/code&amp;gt; for the lowest and middle layers&lt;br /&gt;
#&amp;lt;code&amp;gt;ooo-dev-*.deb&amp;lt;/code&amp;gt; for the top layer&lt;br /&gt;
&lt;br /&gt;
So you can extract the DEBs in one or two steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# extract the DEBs in one step&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; for i in ../*.deb; do dpkg-deb -x $i . ; done &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# extract the DEBs in two steps&lt;br /&gt;
# the lowest and middle layers&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; for i in ../openoffice.org*.deb; do dpkg-deb -x $i . ; done &lt;br /&gt;
&lt;br /&gt;
# extract the top layer&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; for i in ../ooo-dev*.deb; do dpkg-deb -x $i . ; done &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this procedure we will find in &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/TEMP_INST/DEV300_m7_native_packed-1_en-US.9293/DEBS/TEMP_ROOT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
an &amp;lt;code&amp;gt;opt&amp;lt;/code&amp;gt; folder that contains two directories:&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;code&amp;gt;/TEMP_ROOT/opt/ooo-dev3.0&amp;lt;/code&amp;gt;&lt;br /&gt;
#&amp;lt;code&amp;gt;/TEMP_ROOT/opt/openoffice.org&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this last folder contains in turn other two directories: &amp;lt;code&amp;gt;basis3.0&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ure&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now you just have to copy or move that &amp;#039;&amp;#039;&amp;#039;opt&amp;#039;&amp;#039;&amp;#039; directory wherever you want. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# in this example we &amp;quot;install&amp;quot; the new version on home/user/OOo_DEV300_m7&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; mv opt ~/OOo_DEV300_m7&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally remove all the temporary files &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; cd ~/download/ooo/&lt;br /&gt;
~download/ooo&amp;gt; rm -rf TEMP_INST/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== User directory configuration for 3.* versions ====&lt;br /&gt;
&lt;br /&gt;
Before running this new version, we have to make some changes in the configuration. The procedure is the &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;same&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; for RPM and DEB packages.&lt;br /&gt;
&lt;br /&gt;
By default, an OpenOffice.org version will read and write in the corresponding user directory (for example, a stable OpenOffice.org 2.N version in /home/&amp;#039;&amp;#039;user&amp;#039;&amp;#039;/.openoffice.org2/, a developer snapshot in /home/&amp;#039;&amp;#039;user&amp;#039;&amp;#039;/.ooo-dev2/). This means that you can not run in parallel two versions that install as openoffice.orgN, or two as ooo-devN, because this could lead to inconsistencies. &lt;br /&gt;
&lt;br /&gt;
To avoid this we must change OpenOffice.org configuration to look for the user&amp;#039;s directory somewhere else: we will indicate the same installation root directory, this way we will have all together, being easier to deinstall later. &lt;br /&gt;
&lt;br /&gt;
To do this we must edit the configuration file &amp;lt;code&amp;gt;bootstraprc&amp;lt;/code&amp;gt; located in the &amp;lt;code&amp;gt;program &amp;lt;/code&amp;gt;directory inside the top layer, in this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/OOo_DEV300_m7/ooo-dev3.0/program&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As this file does not have write permission, change this first &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
&amp;gt; cd ~/OOo_DEV300_m7/ooo-dev3.0/program&lt;br /&gt;
~/OOo_DEV300_m7/ooo-dev3.0/program&amp;gt; chmod +w bootstraprc&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can open this file with your text editor and change the line starting with &amp;lt;code&amp;gt;UserInstallation=&amp;lt;/code&amp;gt; as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;UserInstallation=$ORIGIN/..&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The whole file may look then as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
[Bootstrap]&lt;br /&gt;
BaseInstallation=${OOO_BASE_DIR}&lt;br /&gt;
InstallMode=&amp;lt;installmode&amp;gt;&lt;br /&gt;
ProductKey=OOo-dev 3.0&lt;br /&gt;
UserInstallation=$ORIGIN/..&lt;br /&gt;
[ErrorReport]&lt;br /&gt;
ErrorReportPort=80&lt;br /&gt;
ErrorReportServer=report.services.openoffice.org&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This way the user directory will be in the root directory of OpenOffice.org, and you can run several version in parallel.&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
&lt;br /&gt;
On Windows, you must do a so-called administrative installation of your package. This is something available for all msi-based installations, and basically simply means extracting the .cab files which come with your installation.&lt;br /&gt;
&lt;br /&gt;
If you have a all-in-one executable containing your installation set (one single .exe file having more than 100 MB, named e.g. &amp;lt;code&amp;gt;OOo_2.4.237_Win32Intel_install.exe&amp;lt;/code&amp;gt;), you first allow it to extract itself. For this, simply start the executable - it will prompt you for where to extract the files. After extraction, it will automatically run the real installer - cancel it.&lt;br /&gt;
&lt;br /&gt;
In the following, we assume you extracted it to &amp;lt;code&amp;gt;c:\temp\install&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, open a console (&amp;lt;Windows_Key&amp;gt;+R, following by typing &amp;quot;cmd&amp;lt;enter&amp;gt;&amp;quot;, will do), there do a&lt;br /&gt;
  ...&amp;gt; c:&lt;br /&gt;
  c:\&amp;gt; cd \temp\install&lt;br /&gt;
  c:\temp\install&amp;gt; msiexec /a ooodev24.msi&lt;br /&gt;
&lt;br /&gt;
(The above assumes there is a file ooodev24.msi in the given directory. The name changes with the version you&amp;#039;re installing, but it should always be exactly one .msi file. Use this one&amp;#039;s name.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;msiexec&amp;lt;/code&amp;gt; is a tool to, well, execute .msi files. The /a switch tells it to do an administrative install. It will start a UI, where you again are asked for the target location - choose a folder where you finally want to have OOo being installed. Then, click the &amp;quot;Install&amp;quot; button, wait a few minutes, and there you are.&lt;br /&gt;
&lt;br /&gt;
side note for advanced users:&lt;br /&gt;
  msiexec /a ooodev24.msi TARGETDIR=&amp;quot;c:\Program Files\OOoDev\m237&amp;quot; /qr&lt;br /&gt;
will install OOo into the folder &amp;quot;c:\Program Files\OOoDev\m237&amp;quot;, without any further user interaction.&lt;br /&gt;
&lt;br /&gt;
Beginning with &amp;lt;code&amp;gt;DEV300m23&amp;lt;/code&amp;gt;, the necessary Microsoft Visual&amp;amp;nbsp;C++ runtime files are no longer contained in the installed OOo product, but are rather installed into the system during normal installation (see [http://www.openoffice.org/servlets/ReadMsg?list=interface-announce&amp;amp;msgNo=1173 this interface-announce@openoffice.org mail]).  As this is not done during an administrative installation, you have to install the [http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF Microsoft Visual C++ 2008 Redistributable Package (x86)] (or equivalent for different compiler versions) yourself.&lt;br /&gt;
&lt;br /&gt;
=== User Configuration ===&lt;br /&gt;
&lt;br /&gt;
Like with the Linux version above, you need to make sure the user data of the just installed OOo version doesn&amp;#039;t conflict with the user data of other installations. To do so, open the file &amp;lt;code&amp;gt;&amp;lt;OOo_installation&amp;gt;\program\bootstrap.ini&amp;lt;/code&amp;gt; in a text editor of your choice, and locate the line&lt;br /&gt;
&lt;br /&gt;
  UserInstallation=$SYSUSERCONFIG/OOo-dev2&lt;br /&gt;
&lt;br /&gt;
(Again, the last part of this depends on the concrete version you installed, but there&amp;#039;s only one line starting with &amp;lt;code&amp;gt;UserInstallation&amp;lt;/code&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
Change this to&lt;br /&gt;
  UserInstallation=$ORIGIN/..&lt;br /&gt;
&lt;br /&gt;
The entire file may now look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;[Bootstrap]&lt;br /&gt;
BaseInstallation=${OOO_BASE_DIR}&lt;br /&gt;
InstallMode=&amp;lt;installmode&amp;gt;&lt;br /&gt;
ProductKey=OpenOffice.org 3.2&lt;br /&gt;
UserInstallation=$ORIGIN/..&lt;br /&gt;
[ErrorReport]&lt;br /&gt;
ErrorReportPort=80&lt;br /&gt;
ErrorReportServer=report.services.openoffice.org&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, your user data will be put into a folder &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt; right besides your &amp;lt;code&amp;gt;program&amp;lt;/code&amp;gt; folder. Which has two advantages: Different version&amp;#039;s user data don&amp;#039;t clash anymore, and you can remove the complete installation, &amp;#039;&amp;#039;including&amp;#039;&amp;#039; your user data, by simply deleting the installation folder.&lt;br /&gt;
Be aware, however, that now different people working on the same Windows machine will all work with the same user data, which is unlike a normal installation.&lt;br /&gt;
&lt;br /&gt;
== Adapt changes for automated testing ==&lt;br /&gt;
&lt;br /&gt;
If you plan to use an installation for automated testing with [[VCLTesttool|VCLTestTool please check Wiki-page]] to learn what settings must be made. &lt;br /&gt;
&lt;br /&gt;
To let VCLTestTool find the administrative installation it is required to adapt an option named &amp;#039;OOoProgramDir&amp;#039;. Simply change this to the program-dir in the brand layer of your OpenOffice.org Installation&lt;br /&gt;
&lt;br /&gt;
[[Image:VCLTestTool-options-OOoProgramDir.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
[[Category:Quality Assurance]]&lt;/div&gt;</summary>
		<author><name>Rhoalpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Run_OOo_versions_parallel&amp;diff=182479</id>
		<title>Run OOo versions parallel</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Run_OOo_versions_parallel&amp;diff=182479"/>
		<updated>2010-09-10T15:19:32Z</updated>

		<summary type="html">&lt;p&gt;Rhoalpha: /* DEB packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:How to run different OpenOffice.org versions in parallel}}&lt;br /&gt;
[[ja:JA/QA/Run_OOo_versions_parallel]]&lt;br /&gt;
[[sl:SL/Run_OOo_versions_parallel]]&lt;br /&gt;
[[de:DE/Run_OOo_versions_parallel]]&lt;br /&gt;
[[ru:RU/qa/run_ooo_versions_parallel]]&lt;br /&gt;
&lt;br /&gt;
To participate in OpenOffice.org you do not need to be a programmer: you can help to fix OpenOffice.org bugs as soon as possible by simply installing a developer snapshot and using it as you usually do.&lt;br /&gt;
&lt;br /&gt;
Usually every version comes in an installable file that installs in the same directory as previous versions: for example a &amp;lt;B&amp;gt;stable&amp;lt;/B&amp;gt; version, let&amp;#039;s say OpenOffice.org 2.3.1, will install on a directory like /opt/openoffice.org2.3/ (*nix systems) and  C:\Program Files\OpenOffice.org 2.3\ (Windows, where the folder &amp;quot;Program Files&amp;quot; has usually a localized name), while a &amp;lt;B&amp;gt;developer snapshot&amp;lt;/B&amp;gt; will install in /opt/ooo-dev2.3/ (*nix systems) and C:\Program Files\OOo-dev 2.3\ (Windows).&lt;br /&gt;
&lt;br /&gt;
This has some drawbacks: you may want to install different developer snapshots, or also want to keep your &amp;quot;old&amp;quot; stable version of OpenOffice.org. A new stable or developer version will install in the corresponding folder, replacing the current installation (on Windows this will be done by the installer, on *nix systems you will have to deinstall old versions before installing new ones).&lt;br /&gt;
&lt;br /&gt;
To avoid this we will explain how to install different OpenOffice.org versions and run them in parallel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
&lt;br /&gt;
In this section we will show how to &amp;quot;install&amp;quot; any OpenOffice.org version distributed in a RPM or DEB package. In fact, we won&amp;#039;t &amp;#039;&amp;#039;install&amp;#039;&amp;#039; it but rather &amp;#039;&amp;#039;extract&amp;#039;&amp;#039; the files in the packages.&lt;br /&gt;
&lt;br /&gt;
Notice that with this method you can use an RPM or a DEB package, &amp;#039;&amp;#039;&amp;#039;regardless&amp;#039;&amp;#039;&amp;#039; of your distribution’s package format (that is, you can extract an RPM package in Debian, or a DEB package in Mandriva).&lt;br /&gt;
&lt;br /&gt;
=== Installing 2.* versions ===&lt;br /&gt;
&lt;br /&gt;
==== RPM packages====&lt;br /&gt;
&lt;br /&gt;
Before starting, make sure you have GNU &amp;#039;&amp;#039;&amp;#039;tar&amp;#039;&amp;#039;&amp;#039; ([http://www.gnu.org/software/tar/ http://www.gnu.org/software/tar/]), &amp;#039;&amp;#039;&amp;#039;rpm2cpio&amp;#039;&amp;#039;&amp;#039; ([http://www.rpm.org/ http://www.rpm.org/]) and GNU &amp;#039;&amp;#039;&amp;#039;cpio&amp;#039;&amp;#039;&amp;#039; ([http://www.gnu.org/software/cpio/cpio.html http://www.gnu.org/software/cpio/cpio.html]). &lt;br /&gt;
&lt;br /&gt;
In the following example we will &amp;quot;install&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;OOo_2.4.0_LinuxIntel_install_en-US.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that has been downloaded in the directory &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# cd to the folder where you downloaded the *.tar.gz file&lt;br /&gt;
# in this example we downloaded &lt;br /&gt;
# the file OOo_2.4.0_LinuxIntel_install_en-US.tar.gz &lt;br /&gt;
# in the folder /home/user/download/ooo/&lt;br /&gt;
&lt;br /&gt;
~&amp;gt; cd download/ooo/&lt;br /&gt;
&lt;br /&gt;
# make a temp dir to extract the file content&lt;br /&gt;
# in this example we name it TEMP_INST&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; mkdir TEMP_INST &lt;br /&gt;
&lt;br /&gt;
# cd to that temp folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; cd TEMP_INST/ &lt;br /&gt;
&lt;br /&gt;
# extract the file content&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo_2.4.0_LinuxIntel_install_en-US.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this commands we have unpacked the content of the tarball in the temporal directory. Note that the directory structure we may find varies in different OpenOffice.org versions; older versions unpacked the RPMS directory in the root (in this example &amp;lt;code&amp;gt;download/ooo/TEMP_INST/RPMS/&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
Recent versions have a root directory named according to the build number; in our example the root directory is &amp;lt;code&amp;gt;OOH680_m12_native_packed-1_en-US.9286&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
We need to &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; the RPMS inside this root, where all the rpms are located.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# now we have to create another temp dir to extract all the RPMs files&lt;br /&gt;
# contained in the RPMS folder&lt;br /&gt;
# Some older versions created only a RPMS folder in the dir&lt;br /&gt;
# where we unpacked, for example download/ooo/TEMP_INST/RPMS/&lt;br /&gt;
# In this example the root directory begins with the build name&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; cd OOH680_m12_native_packed-1_en-US.9286/RPMS/ &lt;br /&gt;
&lt;br /&gt;
# in the following we will shorten the dir name&lt;br /&gt;
# instead of ~/download/ooo/TEMP_INST/OOH680_m12_native_packed-2_en-US.9276/RPMS&amp;gt;&lt;br /&gt;
# we will write ~/download/ooo/TEMP_INST/OOH680_m12 .../RPMS&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# make a temp dir where to extract OpenOffice.org installation root directory&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS&amp;gt; mkdir TEMP_ROOT &lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS&amp;gt; cd TEMP_ROOT/ &lt;br /&gt;
&lt;br /&gt;
# extract the RPMs&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT&amp;gt; for i in ../openoffice.org*.rpm; do rpm2cpio $i | cpio -id; done &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this procedure we will find in &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en-US.9286/RPMS/TEMP_ROOT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
all the root directory: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;~/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en-US.9286/RPMS/TEMP_ROOT/opt/openoffice.org2.4/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you just have to copy or move that root directory wherever you want. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT&amp;gt;cd opt&lt;br /&gt;
&lt;br /&gt;
# make sure not to precede &amp;quot;opt&amp;quot; with a slash, as in /opt&lt;br /&gt;
# because this will point to the folder where resides the main installation&lt;br /&gt;
# in /opt/openoffice.org2.4/&lt;br /&gt;
&lt;br /&gt;
# in this example we &amp;quot;install&amp;quot; the new version on home/user/openoffice.org2.4&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT/opt&amp;gt; mv openoffice.org2.4 ~&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally remove all the temporary files &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT/opt&amp;gt; cd ~/download/ooo/&lt;br /&gt;
~download/ooo&amp;gt; rm -rf TEMP_INST/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== DEB packages====&lt;br /&gt;
&lt;br /&gt;
In the following example we will &amp;quot;install&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;OOo_2.4.0_LinuxIntel_install_en-US_deb.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that has been downloaded in the directory &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# cd to the folder where you downloaded the *.tar.gz file&lt;br /&gt;
# in this example we downloaded&lt;br /&gt;
# the file OOo_2.4.0_LinuxIntel_install_en-US_deb.tar.gz&lt;br /&gt;
# in the folder /home/user/download/ooo/&lt;br /&gt;
&lt;br /&gt;
~&amp;gt; cd download/ooo/&lt;br /&gt;
&lt;br /&gt;
# make a temp dir to extract the file content&lt;br /&gt;
# in this example we name it TEMP_INST&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; mkdir TEMP_INST &lt;br /&gt;
&lt;br /&gt;
# cd to that temp folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; cd TEMP_INST/ &lt;br /&gt;
&lt;br /&gt;
# extract the file content&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo_2.4.0_LinuxIntel_install_en-US_deb.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this commands we have unpacked the content of the tarball in the temporal directory. Note that the directory structure we may find varies in different OpenOffice.org versions; older versions unpacked the DEBS directory in the root (in this example &amp;lt;code&amp;gt;download/ooo/TEMP_INST/DEBS/&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
Recent versions have a root directory named according to the build number; in our example the root directory is &amp;lt;code&amp;gt;OOH680_m12_native_packed-1_en-US.9286&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
We need to &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; the DEBS inside this root, where all the debs are located. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# now we have to create another temp dir to extract all the DEBs files&lt;br /&gt;
# contained in the DEBS folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; cd OOH680_m12_native_packed-1_en-US.9286/DEBS/ &lt;br /&gt;
&lt;br /&gt;
# in the following we will shorten the dir name&lt;br /&gt;
# instead of ~/download/ooo/TEMP_INST/OOH680_m12_native_packed-2_en-US.9276/DEBS&amp;gt;&lt;br /&gt;
# we will write ~/download/ooo/TEMP_INST/OOH680_m12 .../DEBS&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# make a temp dir where to extract OpenOffice.org installation root directory&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS&amp;gt; mkdir TEMP_ROOT &lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS&amp;gt; cd TEMP_ROOT/ &lt;br /&gt;
&lt;br /&gt;
# extract the DEBs &lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT&amp;gt; for i in ../openoffice.org*.deb; do dpkg-deb -x $i . ; done &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this procedure we will find in &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en-US.9286/DEBS/TEMP_ROOT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
all the root directory: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;~/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en-US.9286/DEBS/TEMP_ROOT/opt/openoffice.org2.4/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you just have to copy or move that root directory wherever you want. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT&amp;gt;cd opt&lt;br /&gt;
&lt;br /&gt;
# make sure not to precede &amp;quot;opt&amp;quot; with a slash, as in /opt&lt;br /&gt;
# because this will point to the folder where resides the main installation&lt;br /&gt;
# in /opt/openoffice.org2.4/&lt;br /&gt;
&lt;br /&gt;
# in this example we &amp;quot;install&amp;quot; the new version on home/user/openoffice.org2.4&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT/opt&amp;gt; mv openoffice.org2.4 ~&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally remove all the temporary files &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT/opt&amp;gt; cd ~/download/ooo/&lt;br /&gt;
~download/ooo&amp;gt; rm -rf TEMP_INST/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once all this is done, to run OpenOffice 2.4, you&amp;#039;ll need to cd to the /openoffice.org2.4/program/ folder then run the program with ./soffice or ./swriter etc. You can of course create a desktop or menu shortcut to do the same thing.&lt;br /&gt;
&lt;br /&gt;
So: &lt;br /&gt;
&amp;lt;code&amp;gt;cd ~/openoffice.org2.4/program/&amp;lt;/code&amp;gt;&lt;br /&gt;
And then:&lt;br /&gt;
&amp;lt;code&amp;gt;./soffice&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== User directory configuration for 2.* versions ====&lt;br /&gt;
&lt;br /&gt;
Before running this new version, we have to make some changes in the configuration. The procedure is the &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;same&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; for RPM and DEB packages.&lt;br /&gt;
&lt;br /&gt;
By default, an OpenOffice.org version will read and write in the corresponding user directory (for example, a stable OpenOffice.org 2.N version in /home/&amp;#039;&amp;#039;user&amp;#039;&amp;#039;/.openoffice.org2/, a developer snapshot in /home/&amp;#039;&amp;#039;user&amp;#039;&amp;#039;/.ooo-dev2/). This means that you can not run in parallel two versions that install as openoffice.orgN, or two as ooo-devN, because this could lead to inconsistencies. &lt;br /&gt;
&lt;br /&gt;
To avoid this we must change OpenOffice.org configuration to look for the user&amp;#039;s directory somewhere else: we will indicate the same installation root directory, this way we will have all together, being easier to deinstall later. &lt;br /&gt;
&lt;br /&gt;
To do this we must edit the configuration file located in &amp;lt;code&amp;gt;$OO_INST_ROOT_DIR/program/bootstraprc&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As this file does not have write permission, change this first &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~&amp;gt; cd openoffice.org2.4/program/&lt;br /&gt;
~/openoffice.org2.4/program&amp;gt; chmod +w bootstraprc&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can open this file with your text editor and change the line starting with &amp;lt;code&amp;gt;UserInstallation=&amp;lt;/code&amp;gt; as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;UserInstallation=$ORIGIN/..&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The whole file may look then as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
[Bootstrap]&lt;br /&gt;
BaseInstallation=$ORIGIN/..&lt;br /&gt;
InstallMode=&amp;lt;installmode&amp;gt;&lt;br /&gt;
ProductKey=OpenOffice.org 2.4&lt;br /&gt;
UserInstallation=$ORIGIN/..&lt;br /&gt;
[ErrorReport]&lt;br /&gt;
ErrorReportPort=80&lt;br /&gt;
ErrorReportServer=report.services.openoffice.org&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This way the user directory will be in the root directory of OpenOffice.org, and you can run several version in parallel. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installing 3.* versions (three layer OpenOffice.org) ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Starting with DEV300m4, OpenOffice.org has three layers (see [[ODF_Toolkit/Efforts/Three-Layer_OOo | Three-Layer OOo]]). This means that when we extract the RPM/DEB packages, we will find two directories:&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;code&amp;gt;opt/openoffice.org&amp;lt;/code&amp;gt; (contains the &amp;#039;&amp;#039;&amp;#039;lowest&amp;#039;&amp;#039;&amp;#039; and the &amp;#039;&amp;#039;&amp;#039;middle&amp;#039;&amp;#039;&amp;#039; layers: &amp;lt;code&amp;gt;ure&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;basis&amp;lt;/code&amp;gt;)&lt;br /&gt;
# &amp;lt;code&amp;gt;opt/ooo-dev3.0&amp;lt;/code&amp;gt; (contains the &amp;#039;&amp;#039;&amp;#039;top&amp;#039;&amp;#039;&amp;#039; layer)&lt;br /&gt;
&lt;br /&gt;
where you have to replace &amp;lt;code&amp;gt;ooo-dev3.0&amp;lt;/code&amp;gt; with the product name, for example &amp;lt;code&amp;gt;openoffice.org3.0&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As we want to create a &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;completely self-contained installation&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; (without any system/desktop integration, and with its own user directory), we only need to extract the packages and then rename this &amp;lt;code&amp;gt;opt&amp;lt;/code&amp;gt; directory so that the three layers are kept together.&lt;br /&gt;
&lt;br /&gt;
==== RPM packages====&lt;br /&gt;
&lt;br /&gt;
In the following example we will &amp;quot;install&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;OOo-Dev_DEV300_m7_LinuxIntel_install_en-US.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that has been downloaded in the directory &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# cd to the folder where you downloaded the *.tar.gz file&lt;br /&gt;
# in this example we downloaded &lt;br /&gt;
# the file OOo-Dev_DEV300_m7_LinuxIntel_install_en-US.tar.gz &lt;br /&gt;
# in the folder /home/user/download/ooo/&lt;br /&gt;
&lt;br /&gt;
~&amp;gt; cd download/ooo/&lt;br /&gt;
&lt;br /&gt;
# make a temp dir to extract the file content&lt;br /&gt;
# in this example we name it TEMP_INST&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; mkdir TEMP_INST &lt;br /&gt;
&lt;br /&gt;
# cd to that temp folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; cd TEMP_INST/ &lt;br /&gt;
&lt;br /&gt;
# extract the file content&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo-Dev_DEV300_m7_LinuxIntel_install_en-US.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this commands we have unpacked the content of the tarball in the temporal directory.&lt;br /&gt;
&lt;br /&gt;
We need now to &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; the RPMS inside this root, where all the rpms are located.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# now we have to create another temp dir to extract all the RPMs files&lt;br /&gt;
# contained in the RPMS folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; cd DEV300_m7_native_packed-1_en-US.9293/RPMS/ &lt;br /&gt;
&lt;br /&gt;
# in the following we will shorten the dir name &lt;br /&gt;
# instead of ~/download/ooo/TEMP_INST/DEV300_m7_native_packed-1_en-US.9293/RPMS&amp;gt;&lt;br /&gt;
# we will write ~/download/ooo/TEMP_INST/ DEV300_m7.../RPMS&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# make a temp dir where to extract OpenOffice.org installation root directory&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS&amp;gt; mkdir TEMP_ROOT &lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS&amp;gt; cd TEMP_ROOT/ &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that depending on the version, you may find two different naming schemes:&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;code&amp;gt;openoffice.org-*.rpm&amp;lt;/code&amp;gt; for the lowest and middle layers&lt;br /&gt;
# &amp;lt;code&amp;gt;ooo-dev-*.rpm&amp;lt;/code&amp;gt; for the top layer&lt;br /&gt;
&lt;br /&gt;
So you can extract the RPMs in one or two steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# extract the RPMs in one step&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; for i in ../o*.rpm; do rpm2cpio $i | cpio -id; done &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that we do not use the wildcard &amp;lt;code&amp;gt;for i in ../*.rpm&amp;lt;/code&amp;gt;, because the package may include the rpm for Java Runtime Environment (in this example, the package comes with &amp;lt;code&amp;gt;jre-6u4-linux-i586.rpm&amp;lt;/code&amp;gt;), so using the wildcard &amp;lt;code&amp;gt;../o*.rpm&amp;lt;/code&amp;gt; we make sure that only the rpms sarting with &amp;quot;o&amp;quot; are extracted.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# extract the RPMs in two steps&lt;br /&gt;
# the lowest and middle layers&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; for i in ../openoffice.org*.rpm; do rpm2cpio $i | cpio -id; done &lt;br /&gt;
&lt;br /&gt;
# extract the top layer&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; for i in ../ooo-dev*.rpm; do rpm2cpio $i | cpio -id; done &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this procedures we will find in &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/TEMP_INST/DEV300_m7_native_packed-1_en-US.9293/RPMS/TEMP_ROOT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
an &amp;lt;code&amp;gt;opt&amp;lt;/code&amp;gt; folder that contains two directories:&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;code&amp;gt;/TEMP_ROOT/opt/ooo-dev3.0&amp;lt;/code&amp;gt;&lt;br /&gt;
#&amp;lt;code&amp;gt;/TEMP_ROOT/opt/openoffice.org&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this last folder contains in turn other two directories: &amp;lt;code&amp;gt;basis3.0&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ure&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now you just have to copy or move that &amp;#039;&amp;#039;&amp;#039;opt&amp;#039;&amp;#039;&amp;#039; directory wherever you want. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# in this example we &amp;quot;install&amp;quot; the new version on home/user/OOo_DEV300_m7&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; mv opt ~/OOo_DEV300_m7&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally remove all the temporary files &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; cd ~/download/ooo/&lt;br /&gt;
~download/ooo&amp;gt; rm -rf TEMP_INST/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== DEB packages====&lt;br /&gt;
&lt;br /&gt;
In the following example we will &amp;quot;install&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;OOo-Dev_DEV300_m7_LinuxIntel_install_en-US_deb.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that has been downloaded in the directory &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# cd to the folder where you downloaded the *.tar.gz file&lt;br /&gt;
# in this example we downloaded &lt;br /&gt;
# the file OOo-Dev_DEV300_m7_LinuxIntel_install_en-US_deb.tar.gz &lt;br /&gt;
# in the folder /home/user/download/ooo/&lt;br /&gt;
&lt;br /&gt;
~&amp;gt; cd download/ooo/&lt;br /&gt;
&lt;br /&gt;
# make a temp dir to extract the file content&lt;br /&gt;
# in this example we name it TEMP_INST&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; mkdir TEMP_INST &lt;br /&gt;
&lt;br /&gt;
# cd to that temp folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; cd TEMP_INST/ &lt;br /&gt;
&lt;br /&gt;
# extract the file content&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo-Dev_DEV300_m7_LinuxIntel_install_en-US_deb.tar.gz&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this commands we have unpacked the content of the tarball in the temporal directory. &lt;br /&gt;
&lt;br /&gt;
We need now to &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; the DEBS inside this root, where all the debs are located. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# now we have to create another temp dir to extract all the DEBs files&lt;br /&gt;
# contained in the DEBS folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; cd DEV300_m7_native_packed-1_en-US.9293/DEBS/ &lt;br /&gt;
&lt;br /&gt;
# in the following we will shorten the dir name &lt;br /&gt;
# instead of ~/download/ooo/TEMP_INST/DEV300_m7_native_packed-1_en-US.9293/DEBS&amp;gt;&lt;br /&gt;
# we will write ~/download/ooo/TEMP_INST/DEV300_m7.../DEBS&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# make a temp dir where to extract OpenOffice.org installation root directory&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS&amp;gt; mkdir TEMP_ROOT &lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7 .../DEBS&amp;gt; cd TEMP_ROOT/ &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that depending on the version, you may find two different naming schemes:&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;code&amp;gt;openoffice.org-*.deb&amp;lt;/code&amp;gt; for the lowest and middle layers&lt;br /&gt;
#&amp;lt;code&amp;gt;ooo-dev-*.deb&amp;lt;/code&amp;gt; for the top layer&lt;br /&gt;
&lt;br /&gt;
So you can extract the DEBs in one or two steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# extract the DEBs in one step&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; for i in ../*.deb; do dpkg-deb -x $i . ; done &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# extract the DEBs in two steps&lt;br /&gt;
# the lowest and middle layers&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; for i in ../openoffice.org*.deb; do dpkg-deb -x $i . ; done &lt;br /&gt;
&lt;br /&gt;
# extract the top layer&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; for i in ../ooo-dev*.deb; do dpkg-deb -x $i . ; done &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this procedure we will find in &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/TEMP_INST/DEV300_m7_native_packed-1_en-US.9293/DEBS/TEMP_ROOT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
an &amp;lt;code&amp;gt;opt&amp;lt;/code&amp;gt; folder that contains two directories:&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;code&amp;gt;/TEMP_ROOT/opt/ooo-dev3.0&amp;lt;/code&amp;gt;&lt;br /&gt;
#&amp;lt;code&amp;gt;/TEMP_ROOT/opt/openoffice.org&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this last folder contains in turn other two directories: &amp;lt;code&amp;gt;basis3.0&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ure&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now you just have to copy or move that &amp;#039;&amp;#039;&amp;#039;opt&amp;#039;&amp;#039;&amp;#039; directory wherever you want. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# in this example we &amp;quot;install&amp;quot; the new version on home/user/OOo_DEV300_m7&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; mv opt ~/OOo_DEV300_m7&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally remove all the temporary files &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; cd ~/download/ooo/&lt;br /&gt;
~download/ooo&amp;gt; rm -rf TEMP_INST/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== User directory configuration for 3.* versions ====&lt;br /&gt;
&lt;br /&gt;
Before running this new version, we have to make some changes in the configuration. The procedure is the &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;same&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; for RPM and DEB packages.&lt;br /&gt;
&lt;br /&gt;
By default, an OpenOffice.org version will read and write in the corresponding user directory (for example, a stable OpenOffice.org 2.N version in /home/&amp;#039;&amp;#039;user&amp;#039;&amp;#039;/.openoffice.org2/, a developer snapshot in /home/&amp;#039;&amp;#039;user&amp;#039;&amp;#039;/.ooo-dev2/). This means that you can not run in parallel two versions that install as openoffice.orgN, or two as ooo-devN, because this could lead to inconsistencies. &lt;br /&gt;
&lt;br /&gt;
To avoid this we must change OpenOffice.org configuration to look for the user&amp;#039;s directory somewhere else: we will indicate the same installation root directory, this way we will have all together, being easier to deinstall later. &lt;br /&gt;
&lt;br /&gt;
To do this we must edit the configuration file &amp;lt;code&amp;gt;bootstraprc&amp;lt;/code&amp;gt; located in the &amp;lt;code&amp;gt;program &amp;lt;/code&amp;gt;directory inside the top layer, in this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/OOo_DEV300_m7/ooo-dev3.0/program&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As this file does not have write permission, change this first &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
&amp;gt; cd ~/OOo_DEV300_m7/ooo-dev3.0/program&lt;br /&gt;
~/OOo_DEV300_m7/ooo-dev3.0/program&amp;gt; chmod +w bootstraprc&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can open this file with your text editor and change the line starting with &amp;lt;code&amp;gt;UserInstallation=&amp;lt;/code&amp;gt; as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;UserInstallation=$ORIGIN/..&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The whole file may look then as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
[Bootstrap]&lt;br /&gt;
BaseInstallation=${OOO_BASE_DIR}&lt;br /&gt;
InstallMode=&amp;lt;installmode&amp;gt;&lt;br /&gt;
ProductKey=OOo-dev 3.0&lt;br /&gt;
UserInstallation=$ORIGIN/..&lt;br /&gt;
[ErrorReport]&lt;br /&gt;
ErrorReportPort=80&lt;br /&gt;
ErrorReportServer=report.services.openoffice.org&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This way the user directory will be in the root directory of OpenOffice.org, and you can run several version in parallel.&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
&lt;br /&gt;
On Windows, you must do a so-called administrative installation of your package. This is something available for all msi-based installations, and basically simply means extracting the .cab files which come with your installation.&lt;br /&gt;
&lt;br /&gt;
If you have a all-in-one executable containing your installation set (one single .exe file having more than 100 MB, named e.g. &amp;lt;code&amp;gt;OOo_2.4.237_Win32Intel_install.exe&amp;lt;/code&amp;gt;), you first allow it to extract itself. For this, simply start the executable - it will prompt you for where to extract the files. After extraction, it will automatically run the real installer - cancel it.&lt;br /&gt;
&lt;br /&gt;
In the following, we assume you extracted it to &amp;lt;code&amp;gt;c:\temp\install&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, open a console (&amp;lt;Windows_Key&amp;gt;+R, following by typing &amp;quot;cmd&amp;lt;enter&amp;gt;&amp;quot;, will do), there do a&lt;br /&gt;
  ...&amp;gt; c:&lt;br /&gt;
  c:\&amp;gt; cd \temp\install&lt;br /&gt;
  c:\temp\install&amp;gt; msiexec /a ooodev24.msi&lt;br /&gt;
&lt;br /&gt;
(The above assumes there is a file ooodev24.msi in the given directory. The name changes with the version you&amp;#039;re installing, but it should always be exactly one .msi file. Use this one&amp;#039;s name.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;msiexec&amp;lt;/code&amp;gt; is a tool to, well, execute .msi files. The /a switch tells it to do an administrative install. It will start a UI, where you again are asked for the target location - choose a folder where you finally want to have OOo being installed. Then, click the &amp;quot;Install&amp;quot; button, wait a few minutes, and there you are.&lt;br /&gt;
&lt;br /&gt;
side note for advanced users:&lt;br /&gt;
  msiexec /a ooodev24.msi TARGETDIR=&amp;quot;c:\Program Files\OOoDev\m237&amp;quot; /qr&lt;br /&gt;
will install OOo into the folder &amp;quot;c:\Program Files\OOoDev\m237&amp;quot;, without any further user interaction.&lt;br /&gt;
&lt;br /&gt;
Beginning with &amp;lt;code&amp;gt;DEV300m23&amp;lt;/code&amp;gt;, the necessary Microsoft Visual&amp;amp;nbsp;C++ runtime files are no longer contained in the installed OOo product, but are rather installed into the system during normal installation (see [http://www.openoffice.org/servlets/ReadMsg?list=interface-announce&amp;amp;msgNo=1173 this interface-announce@openoffice.org mail]).  As this is not done during an administrative installation, you have to install the [http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF Microsoft Visual C++ 2008 Redistributable Package (x86)] (or equivalent for different compiler versions) yourself.&lt;br /&gt;
&lt;br /&gt;
=== User Configuration ===&lt;br /&gt;
&lt;br /&gt;
Like with the Linux version above, you need to make sure the user data of the just installed OOo version doesn&amp;#039;t conflict with the user data of other installations. To do so, open the file &amp;lt;code&amp;gt;&amp;lt;OOo_installation&amp;gt;\program\bootstrap.ini&amp;lt;/code&amp;gt; in a text editor of your choice, and locate the line&lt;br /&gt;
&lt;br /&gt;
  UserInstallation=$SYSUSERCONFIG/OOo-dev2&lt;br /&gt;
&lt;br /&gt;
(Again, the last part of this depends on the concrete version you installed, but there&amp;#039;s only one line starting with &amp;lt;code&amp;gt;UserInstallation&amp;lt;/code&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
Change this to&lt;br /&gt;
  UserInstallation=$ORIGIN/..&lt;br /&gt;
&lt;br /&gt;
The entire file may now look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;[Bootstrap]&lt;br /&gt;
BaseInstallation=${OOO_BASE_DIR}&lt;br /&gt;
InstallMode=&amp;lt;installmode&amp;gt;&lt;br /&gt;
ProductKey=OpenOffice.org 3.2&lt;br /&gt;
UserInstallation=$ORIGIN/..&lt;br /&gt;
[ErrorReport]&lt;br /&gt;
ErrorReportPort=80&lt;br /&gt;
ErrorReportServer=report.services.openoffice.org&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, your user data will be put into a folder &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt; right besides your &amp;lt;code&amp;gt;program&amp;lt;/code&amp;gt; folder. Which has two advantages: Different version&amp;#039;s user data don&amp;#039;t clash anymore, and you can remove the complete installation, &amp;#039;&amp;#039;including&amp;#039;&amp;#039; your user data, by simply deleting the installation folder.&lt;br /&gt;
Be aware, however, that now different people working on the same Windows machine will all work with the same user data, which is unlike a normal installation.&lt;br /&gt;
&lt;br /&gt;
== Adapt changes for automated testing ==&lt;br /&gt;
&lt;br /&gt;
If you plan to use an installation for automated testing with [[VCLTesttool|VCLTestTool please check Wiki-page]] to learn what settings must be made. &lt;br /&gt;
&lt;br /&gt;
To let VCLTestTool find the administrative installation it is required to adapt an option named &amp;#039;OOoProgramDir&amp;#039;. Simply change this to the program-dir in the brand layer of your OpenOffice.org Installation&lt;br /&gt;
&lt;br /&gt;
[[Image:VCLTestTool-options-OOoProgramDir.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
[[Category:Quality Assurance]]&lt;/div&gt;</summary>
		<author><name>Rhoalpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Run_OOo_versions_parallel&amp;diff=182477</id>
		<title>Run OOo versions parallel</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Run_OOo_versions_parallel&amp;diff=182477"/>
		<updated>2010-09-10T15:17:17Z</updated>

		<summary type="html">&lt;p&gt;Rhoalpha: /* DEB packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:How to run different OpenOffice.org versions in parallel}}&lt;br /&gt;
[[ja:JA/QA/Run_OOo_versions_parallel]]&lt;br /&gt;
[[sl:SL/Run_OOo_versions_parallel]]&lt;br /&gt;
[[de:DE/Run_OOo_versions_parallel]]&lt;br /&gt;
[[ru:RU/qa/run_ooo_versions_parallel]]&lt;br /&gt;
&lt;br /&gt;
To participate in OpenOffice.org you do not need to be a programmer: you can help to fix OpenOffice.org bugs as soon as possible by simply installing a developer snapshot and using it as you usually do.&lt;br /&gt;
&lt;br /&gt;
Usually every version comes in an installable file that installs in the same directory as previous versions: for example a &amp;lt;B&amp;gt;stable&amp;lt;/B&amp;gt; version, let&amp;#039;s say OpenOffice.org 2.3.1, will install on a directory like /opt/openoffice.org2.3/ (*nix systems) and  C:\Program Files\OpenOffice.org 2.3\ (Windows, where the folder &amp;quot;Program Files&amp;quot; has usually a localized name), while a &amp;lt;B&amp;gt;developer snapshot&amp;lt;/B&amp;gt; will install in /opt/ooo-dev2.3/ (*nix systems) and C:\Program Files\OOo-dev 2.3\ (Windows).&lt;br /&gt;
&lt;br /&gt;
This has some drawbacks: you may want to install different developer snapshots, or also want to keep your &amp;quot;old&amp;quot; stable version of OpenOffice.org. A new stable or developer version will install in the corresponding folder, replacing the current installation (on Windows this will be done by the installer, on *nix systems you will have to deinstall old versions before installing new ones).&lt;br /&gt;
&lt;br /&gt;
To avoid this we will explain how to install different OpenOffice.org versions and run them in parallel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
&lt;br /&gt;
In this section we will show how to &amp;quot;install&amp;quot; any OpenOffice.org version distributed in a RPM or DEB package. In fact, we won&amp;#039;t &amp;#039;&amp;#039;install&amp;#039;&amp;#039; it but rather &amp;#039;&amp;#039;extract&amp;#039;&amp;#039; the files in the packages.&lt;br /&gt;
&lt;br /&gt;
Notice that with this method you can use an RPM or a DEB package, &amp;#039;&amp;#039;&amp;#039;regardless&amp;#039;&amp;#039;&amp;#039; of your distribution’s package format (that is, you can extract an RPM package in Debian, or a DEB package in Mandriva).&lt;br /&gt;
&lt;br /&gt;
=== Installing 2.* versions ===&lt;br /&gt;
&lt;br /&gt;
==== RPM packages====&lt;br /&gt;
&lt;br /&gt;
Before starting, make sure you have GNU &amp;#039;&amp;#039;&amp;#039;tar&amp;#039;&amp;#039;&amp;#039; ([http://www.gnu.org/software/tar/ http://www.gnu.org/software/tar/]), &amp;#039;&amp;#039;&amp;#039;rpm2cpio&amp;#039;&amp;#039;&amp;#039; ([http://www.rpm.org/ http://www.rpm.org/]) and GNU &amp;#039;&amp;#039;&amp;#039;cpio&amp;#039;&amp;#039;&amp;#039; ([http://www.gnu.org/software/cpio/cpio.html http://www.gnu.org/software/cpio/cpio.html]). &lt;br /&gt;
&lt;br /&gt;
In the following example we will &amp;quot;install&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;OOo_2.4.0_LinuxIntel_install_en-US.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that has been downloaded in the directory &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# cd to the folder where you downloaded the *.tar.gz file&lt;br /&gt;
# in this example we downloaded &lt;br /&gt;
# the file OOo_2.4.0_LinuxIntel_install_en-US.tar.gz &lt;br /&gt;
# in the folder /home/user/download/ooo/&lt;br /&gt;
&lt;br /&gt;
~&amp;gt; cd download/ooo/&lt;br /&gt;
&lt;br /&gt;
# make a temp dir to extract the file content&lt;br /&gt;
# in this example we name it TEMP_INST&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; mkdir TEMP_INST &lt;br /&gt;
&lt;br /&gt;
# cd to that temp folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; cd TEMP_INST/ &lt;br /&gt;
&lt;br /&gt;
# extract the file content&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo_2.4.0_LinuxIntel_install_en-US.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this commands we have unpacked the content of the tarball in the temporal directory. Note that the directory structure we may find varies in different OpenOffice.org versions; older versions unpacked the RPMS directory in the root (in this example &amp;lt;code&amp;gt;download/ooo/TEMP_INST/RPMS/&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
Recent versions have a root directory named according to the build number; in our example the root directory is &amp;lt;code&amp;gt;OOH680_m12_native_packed-1_en-US.9286&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
We need to &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; the RPMS inside this root, where all the rpms are located.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# now we have to create another temp dir to extract all the RPMs files&lt;br /&gt;
# contained in the RPMS folder&lt;br /&gt;
# Some older versions created only a RPMS folder in the dir&lt;br /&gt;
# where we unpacked, for example download/ooo/TEMP_INST/RPMS/&lt;br /&gt;
# In this example the root directory begins with the build name&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; cd OOH680_m12_native_packed-1_en-US.9286/RPMS/ &lt;br /&gt;
&lt;br /&gt;
# in the following we will shorten the dir name&lt;br /&gt;
# instead of ~/download/ooo/TEMP_INST/OOH680_m12_native_packed-2_en-US.9276/RPMS&amp;gt;&lt;br /&gt;
# we will write ~/download/ooo/TEMP_INST/OOH680_m12 .../RPMS&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# make a temp dir where to extract OpenOffice.org installation root directory&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS&amp;gt; mkdir TEMP_ROOT &lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS&amp;gt; cd TEMP_ROOT/ &lt;br /&gt;
&lt;br /&gt;
# extract the RPMs&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT&amp;gt; for i in ../openoffice.org*.rpm; do rpm2cpio $i | cpio -id; done &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this procedure we will find in &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en-US.9286/RPMS/TEMP_ROOT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
all the root directory: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;~/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en-US.9286/RPMS/TEMP_ROOT/opt/openoffice.org2.4/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you just have to copy or move that root directory wherever you want. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT&amp;gt;cd opt&lt;br /&gt;
&lt;br /&gt;
# make sure not to precede &amp;quot;opt&amp;quot; with a slash, as in /opt&lt;br /&gt;
# because this will point to the folder where resides the main installation&lt;br /&gt;
# in /opt/openoffice.org2.4/&lt;br /&gt;
&lt;br /&gt;
# in this example we &amp;quot;install&amp;quot; the new version on home/user/openoffice.org2.4&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT/opt&amp;gt; mv openoffice.org2.4 ~&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally remove all the temporary files &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT/opt&amp;gt; cd ~/download/ooo/&lt;br /&gt;
~download/ooo&amp;gt; rm -rf TEMP_INST/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== DEB packages====&lt;br /&gt;
&lt;br /&gt;
In the following example we will &amp;quot;install&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;OOo_2.4.0_LinuxIntel_install_en-US_deb.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that has been downloaded in the directory &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# cd to the folder where you downloaded the *.tar.gz file&lt;br /&gt;
# in this example we downloaded&lt;br /&gt;
# the file OOo_2.4.0_LinuxIntel_install_en-US_deb.tar.gz&lt;br /&gt;
# in the folder /home/user/download/ooo/&lt;br /&gt;
&lt;br /&gt;
~&amp;gt; cd download/ooo/&lt;br /&gt;
&lt;br /&gt;
# make a temp dir to extract the file content&lt;br /&gt;
# in this example we name it TEMP_INST&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; mkdir TEMP_INST &lt;br /&gt;
&lt;br /&gt;
# cd to that temp folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; cd TEMP_INST/ &lt;br /&gt;
&lt;br /&gt;
# extract the file content&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo_2.4.0_LinuxIntel_install_en-US_deb.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this commands we have unpacked the content of the tarball in the temporal directory. Note that the directory structure we may find varies in different OpenOffice.org versions; older versions unpacked the DEBS directory in the root (in this example &amp;lt;code&amp;gt;download/ooo/TEMP_INST/DEBS/&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
Recent versions have a root directory named according to the build number; in our example the root directory is &amp;lt;code&amp;gt;OOH680_m12_native_packed-1_en-US.9286&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
We need to &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; the DEBS inside this root, where all the debs are located. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# now we have to create another temp dir to extract all the DEBs files&lt;br /&gt;
# contained in the DEBS folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; cd OOH680_m12_native_packed-1_en-US.9286/DEBS/ &lt;br /&gt;
&lt;br /&gt;
# in the following we will shorten the dir name&lt;br /&gt;
# instead of ~/download/ooo/TEMP_INST/OOH680_m12_native_packed-2_en-US.9276/DEBS&amp;gt;&lt;br /&gt;
# we will write ~/download/ooo/TEMP_INST/OOH680_m12 .../DEBS&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# make a temp dir where to extract OpenOffice.org installation root directory&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS&amp;gt; mkdir TEMP_ROOT &lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS&amp;gt; cd TEMP_ROOT/ &lt;br /&gt;
&lt;br /&gt;
# extract the DEBs &lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT&amp;gt; for i in ../openoffice.org*.deb; do dpkg-deb -x $i . ; done &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this procedure we will find in &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en-US.9286/DEBS/TEMP_ROOT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
all the root directory: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;~/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en-US.9286/DEBS/TEMP_ROOT/opt/openoffice.org2.4/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you just have to copy or move that root directory wherever you want. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT&amp;gt;cd opt&lt;br /&gt;
&lt;br /&gt;
# make sure not to precede &amp;quot;opt&amp;quot; with a slash, as in /opt&lt;br /&gt;
# because this will point to the folder where resides the main installation&lt;br /&gt;
# in /opt/openoffice.org2.4/&lt;br /&gt;
&lt;br /&gt;
# in this example we &amp;quot;install&amp;quot; the new version on home/user/openoffice.org2.4&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT/opt&amp;gt; mv openoffice.org2.4 ~&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally remove all the temporary files &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT/opt&amp;gt; cd ~/download/ooo/&lt;br /&gt;
~download/ooo&amp;gt; rm -rf TEMP_INST/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once all this is done, to run OpenOffice 2.4, you&amp;#039;ll need to cd to the /openoffice.org2.4/program/ folder then run the program with ./soffice or ./swriter etc. You can of course create a desktop or menu shortcut to do the same thing.&lt;br /&gt;
&lt;br /&gt;
So: &lt;br /&gt;
&amp;lt;code&amp;gt;cd ~/openoffice.org2.4/program/&lt;br /&gt;
./soffice&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== User directory configuration for 2.* versions ====&lt;br /&gt;
&lt;br /&gt;
Before running this new version, we have to make some changes in the configuration. The procedure is the &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;same&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; for RPM and DEB packages.&lt;br /&gt;
&lt;br /&gt;
By default, an OpenOffice.org version will read and write in the corresponding user directory (for example, a stable OpenOffice.org 2.N version in /home/&amp;#039;&amp;#039;user&amp;#039;&amp;#039;/.openoffice.org2/, a developer snapshot in /home/&amp;#039;&amp;#039;user&amp;#039;&amp;#039;/.ooo-dev2/). This means that you can not run in parallel two versions that install as openoffice.orgN, or two as ooo-devN, because this could lead to inconsistencies. &lt;br /&gt;
&lt;br /&gt;
To avoid this we must change OpenOffice.org configuration to look for the user&amp;#039;s directory somewhere else: we will indicate the same installation root directory, this way we will have all together, being easier to deinstall later. &lt;br /&gt;
&lt;br /&gt;
To do this we must edit the configuration file located in &amp;lt;code&amp;gt;$OO_INST_ROOT_DIR/program/bootstraprc&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As this file does not have write permission, change this first &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~&amp;gt; cd openoffice.org2.4/program/&lt;br /&gt;
~/openoffice.org2.4/program&amp;gt; chmod +w bootstraprc&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can open this file with your text editor and change the line starting with &amp;lt;code&amp;gt;UserInstallation=&amp;lt;/code&amp;gt; as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;UserInstallation=$ORIGIN/..&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The whole file may look then as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
[Bootstrap]&lt;br /&gt;
BaseInstallation=$ORIGIN/..&lt;br /&gt;
InstallMode=&amp;lt;installmode&amp;gt;&lt;br /&gt;
ProductKey=OpenOffice.org 2.4&lt;br /&gt;
UserInstallation=$ORIGIN/..&lt;br /&gt;
[ErrorReport]&lt;br /&gt;
ErrorReportPort=80&lt;br /&gt;
ErrorReportServer=report.services.openoffice.org&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This way the user directory will be in the root directory of OpenOffice.org, and you can run several version in parallel. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installing 3.* versions (three layer OpenOffice.org) ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Starting with DEV300m4, OpenOffice.org has three layers (see [[ODF_Toolkit/Efforts/Three-Layer_OOo | Three-Layer OOo]]). This means that when we extract the RPM/DEB packages, we will find two directories:&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;code&amp;gt;opt/openoffice.org&amp;lt;/code&amp;gt; (contains the &amp;#039;&amp;#039;&amp;#039;lowest&amp;#039;&amp;#039;&amp;#039; and the &amp;#039;&amp;#039;&amp;#039;middle&amp;#039;&amp;#039;&amp;#039; layers: &amp;lt;code&amp;gt;ure&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;basis&amp;lt;/code&amp;gt;)&lt;br /&gt;
# &amp;lt;code&amp;gt;opt/ooo-dev3.0&amp;lt;/code&amp;gt; (contains the &amp;#039;&amp;#039;&amp;#039;top&amp;#039;&amp;#039;&amp;#039; layer)&lt;br /&gt;
&lt;br /&gt;
where you have to replace &amp;lt;code&amp;gt;ooo-dev3.0&amp;lt;/code&amp;gt; with the product name, for example &amp;lt;code&amp;gt;openoffice.org3.0&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As we want to create a &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;completely self-contained installation&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; (without any system/desktop integration, and with its own user directory), we only need to extract the packages and then rename this &amp;lt;code&amp;gt;opt&amp;lt;/code&amp;gt; directory so that the three layers are kept together.&lt;br /&gt;
&lt;br /&gt;
==== RPM packages====&lt;br /&gt;
&lt;br /&gt;
In the following example we will &amp;quot;install&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;OOo-Dev_DEV300_m7_LinuxIntel_install_en-US.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that has been downloaded in the directory &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# cd to the folder where you downloaded the *.tar.gz file&lt;br /&gt;
# in this example we downloaded &lt;br /&gt;
# the file OOo-Dev_DEV300_m7_LinuxIntel_install_en-US.tar.gz &lt;br /&gt;
# in the folder /home/user/download/ooo/&lt;br /&gt;
&lt;br /&gt;
~&amp;gt; cd download/ooo/&lt;br /&gt;
&lt;br /&gt;
# make a temp dir to extract the file content&lt;br /&gt;
# in this example we name it TEMP_INST&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; mkdir TEMP_INST &lt;br /&gt;
&lt;br /&gt;
# cd to that temp folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; cd TEMP_INST/ &lt;br /&gt;
&lt;br /&gt;
# extract the file content&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo-Dev_DEV300_m7_LinuxIntel_install_en-US.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this commands we have unpacked the content of the tarball in the temporal directory.&lt;br /&gt;
&lt;br /&gt;
We need now to &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; the RPMS inside this root, where all the rpms are located.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# now we have to create another temp dir to extract all the RPMs files&lt;br /&gt;
# contained in the RPMS folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; cd DEV300_m7_native_packed-1_en-US.9293/RPMS/ &lt;br /&gt;
&lt;br /&gt;
# in the following we will shorten the dir name &lt;br /&gt;
# instead of ~/download/ooo/TEMP_INST/DEV300_m7_native_packed-1_en-US.9293/RPMS&amp;gt;&lt;br /&gt;
# we will write ~/download/ooo/TEMP_INST/ DEV300_m7.../RPMS&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# make a temp dir where to extract OpenOffice.org installation root directory&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS&amp;gt; mkdir TEMP_ROOT &lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS&amp;gt; cd TEMP_ROOT/ &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that depending on the version, you may find two different naming schemes:&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;code&amp;gt;openoffice.org-*.rpm&amp;lt;/code&amp;gt; for the lowest and middle layers&lt;br /&gt;
# &amp;lt;code&amp;gt;ooo-dev-*.rpm&amp;lt;/code&amp;gt; for the top layer&lt;br /&gt;
&lt;br /&gt;
So you can extract the RPMs in one or two steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# extract the RPMs in one step&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; for i in ../o*.rpm; do rpm2cpio $i | cpio -id; done &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that we do not use the wildcard &amp;lt;code&amp;gt;for i in ../*.rpm&amp;lt;/code&amp;gt;, because the package may include the rpm for Java Runtime Environment (in this example, the package comes with &amp;lt;code&amp;gt;jre-6u4-linux-i586.rpm&amp;lt;/code&amp;gt;), so using the wildcard &amp;lt;code&amp;gt;../o*.rpm&amp;lt;/code&amp;gt; we make sure that only the rpms sarting with &amp;quot;o&amp;quot; are extracted.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# extract the RPMs in two steps&lt;br /&gt;
# the lowest and middle layers&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; for i in ../openoffice.org*.rpm; do rpm2cpio $i | cpio -id; done &lt;br /&gt;
&lt;br /&gt;
# extract the top layer&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; for i in ../ooo-dev*.rpm; do rpm2cpio $i | cpio -id; done &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this procedures we will find in &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/TEMP_INST/DEV300_m7_native_packed-1_en-US.9293/RPMS/TEMP_ROOT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
an &amp;lt;code&amp;gt;opt&amp;lt;/code&amp;gt; folder that contains two directories:&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;code&amp;gt;/TEMP_ROOT/opt/ooo-dev3.0&amp;lt;/code&amp;gt;&lt;br /&gt;
#&amp;lt;code&amp;gt;/TEMP_ROOT/opt/openoffice.org&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this last folder contains in turn other two directories: &amp;lt;code&amp;gt;basis3.0&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ure&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now you just have to copy or move that &amp;#039;&amp;#039;&amp;#039;opt&amp;#039;&amp;#039;&amp;#039; directory wherever you want. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# in this example we &amp;quot;install&amp;quot; the new version on home/user/OOo_DEV300_m7&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; mv opt ~/OOo_DEV300_m7&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally remove all the temporary files &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; cd ~/download/ooo/&lt;br /&gt;
~download/ooo&amp;gt; rm -rf TEMP_INST/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== DEB packages====&lt;br /&gt;
&lt;br /&gt;
In the following example we will &amp;quot;install&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;OOo-Dev_DEV300_m7_LinuxIntel_install_en-US_deb.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that has been downloaded in the directory &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# cd to the folder where you downloaded the *.tar.gz file&lt;br /&gt;
# in this example we downloaded &lt;br /&gt;
# the file OOo-Dev_DEV300_m7_LinuxIntel_install_en-US_deb.tar.gz &lt;br /&gt;
# in the folder /home/user/download/ooo/&lt;br /&gt;
&lt;br /&gt;
~&amp;gt; cd download/ooo/&lt;br /&gt;
&lt;br /&gt;
# make a temp dir to extract the file content&lt;br /&gt;
# in this example we name it TEMP_INST&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; mkdir TEMP_INST &lt;br /&gt;
&lt;br /&gt;
# cd to that temp folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; cd TEMP_INST/ &lt;br /&gt;
&lt;br /&gt;
# extract the file content&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo-Dev_DEV300_m7_LinuxIntel_install_en-US_deb.tar.gz&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this commands we have unpacked the content of the tarball in the temporal directory. &lt;br /&gt;
&lt;br /&gt;
We need now to &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; the DEBS inside this root, where all the debs are located. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# now we have to create another temp dir to extract all the DEBs files&lt;br /&gt;
# contained in the DEBS folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; cd DEV300_m7_native_packed-1_en-US.9293/DEBS/ &lt;br /&gt;
&lt;br /&gt;
# in the following we will shorten the dir name &lt;br /&gt;
# instead of ~/download/ooo/TEMP_INST/DEV300_m7_native_packed-1_en-US.9293/DEBS&amp;gt;&lt;br /&gt;
# we will write ~/download/ooo/TEMP_INST/DEV300_m7.../DEBS&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# make a temp dir where to extract OpenOffice.org installation root directory&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS&amp;gt; mkdir TEMP_ROOT &lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7 .../DEBS&amp;gt; cd TEMP_ROOT/ &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that depending on the version, you may find two different naming schemes:&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;code&amp;gt;openoffice.org-*.deb&amp;lt;/code&amp;gt; for the lowest and middle layers&lt;br /&gt;
#&amp;lt;code&amp;gt;ooo-dev-*.deb&amp;lt;/code&amp;gt; for the top layer&lt;br /&gt;
&lt;br /&gt;
So you can extract the DEBs in one or two steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# extract the DEBs in one step&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; for i in ../*.deb; do dpkg-deb -x $i . ; done &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# extract the DEBs in two steps&lt;br /&gt;
# the lowest and middle layers&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; for i in ../openoffice.org*.deb; do dpkg-deb -x $i . ; done &lt;br /&gt;
&lt;br /&gt;
# extract the top layer&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; for i in ../ooo-dev*.deb; do dpkg-deb -x $i . ; done &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this procedure we will find in &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/TEMP_INST/DEV300_m7_native_packed-1_en-US.9293/DEBS/TEMP_ROOT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
an &amp;lt;code&amp;gt;opt&amp;lt;/code&amp;gt; folder that contains two directories:&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;code&amp;gt;/TEMP_ROOT/opt/ooo-dev3.0&amp;lt;/code&amp;gt;&lt;br /&gt;
#&amp;lt;code&amp;gt;/TEMP_ROOT/opt/openoffice.org&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this last folder contains in turn other two directories: &amp;lt;code&amp;gt;basis3.0&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ure&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now you just have to copy or move that &amp;#039;&amp;#039;&amp;#039;opt&amp;#039;&amp;#039;&amp;#039; directory wherever you want. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# in this example we &amp;quot;install&amp;quot; the new version on home/user/OOo_DEV300_m7&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; mv opt ~/OOo_DEV300_m7&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally remove all the temporary files &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; cd ~/download/ooo/&lt;br /&gt;
~download/ooo&amp;gt; rm -rf TEMP_INST/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== User directory configuration for 3.* versions ====&lt;br /&gt;
&lt;br /&gt;
Before running this new version, we have to make some changes in the configuration. The procedure is the &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;same&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; for RPM and DEB packages.&lt;br /&gt;
&lt;br /&gt;
By default, an OpenOffice.org version will read and write in the corresponding user directory (for example, a stable OpenOffice.org 2.N version in /home/&amp;#039;&amp;#039;user&amp;#039;&amp;#039;/.openoffice.org2/, a developer snapshot in /home/&amp;#039;&amp;#039;user&amp;#039;&amp;#039;/.ooo-dev2/). This means that you can not run in parallel two versions that install as openoffice.orgN, or two as ooo-devN, because this could lead to inconsistencies. &lt;br /&gt;
&lt;br /&gt;
To avoid this we must change OpenOffice.org configuration to look for the user&amp;#039;s directory somewhere else: we will indicate the same installation root directory, this way we will have all together, being easier to deinstall later. &lt;br /&gt;
&lt;br /&gt;
To do this we must edit the configuration file &amp;lt;code&amp;gt;bootstraprc&amp;lt;/code&amp;gt; located in the &amp;lt;code&amp;gt;program &amp;lt;/code&amp;gt;directory inside the top layer, in this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/OOo_DEV300_m7/ooo-dev3.0/program&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As this file does not have write permission, change this first &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
&amp;gt; cd ~/OOo_DEV300_m7/ooo-dev3.0/program&lt;br /&gt;
~/OOo_DEV300_m7/ooo-dev3.0/program&amp;gt; chmod +w bootstraprc&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can open this file with your text editor and change the line starting with &amp;lt;code&amp;gt;UserInstallation=&amp;lt;/code&amp;gt; as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;UserInstallation=$ORIGIN/..&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The whole file may look then as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
[Bootstrap]&lt;br /&gt;
BaseInstallation=${OOO_BASE_DIR}&lt;br /&gt;
InstallMode=&amp;lt;installmode&amp;gt;&lt;br /&gt;
ProductKey=OOo-dev 3.0&lt;br /&gt;
UserInstallation=$ORIGIN/..&lt;br /&gt;
[ErrorReport]&lt;br /&gt;
ErrorReportPort=80&lt;br /&gt;
ErrorReportServer=report.services.openoffice.org&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This way the user directory will be in the root directory of OpenOffice.org, and you can run several version in parallel.&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
&lt;br /&gt;
On Windows, you must do a so-called administrative installation of your package. This is something available for all msi-based installations, and basically simply means extracting the .cab files which come with your installation.&lt;br /&gt;
&lt;br /&gt;
If you have a all-in-one executable containing your installation set (one single .exe file having more than 100 MB, named e.g. &amp;lt;code&amp;gt;OOo_2.4.237_Win32Intel_install.exe&amp;lt;/code&amp;gt;), you first allow it to extract itself. For this, simply start the executable - it will prompt you for where to extract the files. After extraction, it will automatically run the real installer - cancel it.&lt;br /&gt;
&lt;br /&gt;
In the following, we assume you extracted it to &amp;lt;code&amp;gt;c:\temp\install&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, open a console (&amp;lt;Windows_Key&amp;gt;+R, following by typing &amp;quot;cmd&amp;lt;enter&amp;gt;&amp;quot;, will do), there do a&lt;br /&gt;
  ...&amp;gt; c:&lt;br /&gt;
  c:\&amp;gt; cd \temp\install&lt;br /&gt;
  c:\temp\install&amp;gt; msiexec /a ooodev24.msi&lt;br /&gt;
&lt;br /&gt;
(The above assumes there is a file ooodev24.msi in the given directory. The name changes with the version you&amp;#039;re installing, but it should always be exactly one .msi file. Use this one&amp;#039;s name.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;msiexec&amp;lt;/code&amp;gt; is a tool to, well, execute .msi files. The /a switch tells it to do an administrative install. It will start a UI, where you again are asked for the target location - choose a folder where you finally want to have OOo being installed. Then, click the &amp;quot;Install&amp;quot; button, wait a few minutes, and there you are.&lt;br /&gt;
&lt;br /&gt;
side note for advanced users:&lt;br /&gt;
  msiexec /a ooodev24.msi TARGETDIR=&amp;quot;c:\Program Files\OOoDev\m237&amp;quot; /qr&lt;br /&gt;
will install OOo into the folder &amp;quot;c:\Program Files\OOoDev\m237&amp;quot;, without any further user interaction.&lt;br /&gt;
&lt;br /&gt;
Beginning with &amp;lt;code&amp;gt;DEV300m23&amp;lt;/code&amp;gt;, the necessary Microsoft Visual&amp;amp;nbsp;C++ runtime files are no longer contained in the installed OOo product, but are rather installed into the system during normal installation (see [http://www.openoffice.org/servlets/ReadMsg?list=interface-announce&amp;amp;msgNo=1173 this interface-announce@openoffice.org mail]).  As this is not done during an administrative installation, you have to install the [http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF Microsoft Visual C++ 2008 Redistributable Package (x86)] (or equivalent for different compiler versions) yourself.&lt;br /&gt;
&lt;br /&gt;
=== User Configuration ===&lt;br /&gt;
&lt;br /&gt;
Like with the Linux version above, you need to make sure the user data of the just installed OOo version doesn&amp;#039;t conflict with the user data of other installations. To do so, open the file &amp;lt;code&amp;gt;&amp;lt;OOo_installation&amp;gt;\program\bootstrap.ini&amp;lt;/code&amp;gt; in a text editor of your choice, and locate the line&lt;br /&gt;
&lt;br /&gt;
  UserInstallation=$SYSUSERCONFIG/OOo-dev2&lt;br /&gt;
&lt;br /&gt;
(Again, the last part of this depends on the concrete version you installed, but there&amp;#039;s only one line starting with &amp;lt;code&amp;gt;UserInstallation&amp;lt;/code&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
Change this to&lt;br /&gt;
  UserInstallation=$ORIGIN/..&lt;br /&gt;
&lt;br /&gt;
The entire file may now look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;[Bootstrap]&lt;br /&gt;
BaseInstallation=${OOO_BASE_DIR}&lt;br /&gt;
InstallMode=&amp;lt;installmode&amp;gt;&lt;br /&gt;
ProductKey=OpenOffice.org 3.2&lt;br /&gt;
UserInstallation=$ORIGIN/..&lt;br /&gt;
[ErrorReport]&lt;br /&gt;
ErrorReportPort=80&lt;br /&gt;
ErrorReportServer=report.services.openoffice.org&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, your user data will be put into a folder &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt; right besides your &amp;lt;code&amp;gt;program&amp;lt;/code&amp;gt; folder. Which has two advantages: Different version&amp;#039;s user data don&amp;#039;t clash anymore, and you can remove the complete installation, &amp;#039;&amp;#039;including&amp;#039;&amp;#039; your user data, by simply deleting the installation folder.&lt;br /&gt;
Be aware, however, that now different people working on the same Windows machine will all work with the same user data, which is unlike a normal installation.&lt;br /&gt;
&lt;br /&gt;
== Adapt changes for automated testing ==&lt;br /&gt;
&lt;br /&gt;
If you plan to use an installation for automated testing with [[VCLTesttool|VCLTestTool please check Wiki-page]] to learn what settings must be made. &lt;br /&gt;
&lt;br /&gt;
To let VCLTestTool find the administrative installation it is required to adapt an option named &amp;#039;OOoProgramDir&amp;#039;. Simply change this to the program-dir in the brand layer of your OpenOffice.org Installation&lt;br /&gt;
&lt;br /&gt;
[[Image:VCLTestTool-options-OOoProgramDir.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
[[Category:Quality Assurance]]&lt;/div&gt;</summary>
		<author><name>Rhoalpha</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Run_OOo_versions_parallel&amp;diff=182474</id>
		<title>Run OOo versions parallel</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Run_OOo_versions_parallel&amp;diff=182474"/>
		<updated>2010-09-10T15:12:37Z</updated>

		<summary type="html">&lt;p&gt;Rhoalpha: /* DEB packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:How to run different OpenOffice.org versions in parallel}}&lt;br /&gt;
[[ja:JA/QA/Run_OOo_versions_parallel]]&lt;br /&gt;
[[sl:SL/Run_OOo_versions_parallel]]&lt;br /&gt;
[[de:DE/Run_OOo_versions_parallel]]&lt;br /&gt;
[[ru:RU/qa/run_ooo_versions_parallel]]&lt;br /&gt;
&lt;br /&gt;
To participate in OpenOffice.org you do not need to be a programmer: you can help to fix OpenOffice.org bugs as soon as possible by simply installing a developer snapshot and using it as you usually do.&lt;br /&gt;
&lt;br /&gt;
Usually every version comes in an installable file that installs in the same directory as previous versions: for example a &amp;lt;B&amp;gt;stable&amp;lt;/B&amp;gt; version, let&amp;#039;s say OpenOffice.org 2.3.1, will install on a directory like /opt/openoffice.org2.3/ (*nix systems) and  C:\Program Files\OpenOffice.org 2.3\ (Windows, where the folder &amp;quot;Program Files&amp;quot; has usually a localized name), while a &amp;lt;B&amp;gt;developer snapshot&amp;lt;/B&amp;gt; will install in /opt/ooo-dev2.3/ (*nix systems) and C:\Program Files\OOo-dev 2.3\ (Windows).&lt;br /&gt;
&lt;br /&gt;
This has some drawbacks: you may want to install different developer snapshots, or also want to keep your &amp;quot;old&amp;quot; stable version of OpenOffice.org. A new stable or developer version will install in the corresponding folder, replacing the current installation (on Windows this will be done by the installer, on *nix systems you will have to deinstall old versions before installing new ones).&lt;br /&gt;
&lt;br /&gt;
To avoid this we will explain how to install different OpenOffice.org versions and run them in parallel.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
&lt;br /&gt;
In this section we will show how to &amp;quot;install&amp;quot; any OpenOffice.org version distributed in a RPM or DEB package. In fact, we won&amp;#039;t &amp;#039;&amp;#039;install&amp;#039;&amp;#039; it but rather &amp;#039;&amp;#039;extract&amp;#039;&amp;#039; the files in the packages.&lt;br /&gt;
&lt;br /&gt;
Notice that with this method you can use an RPM or a DEB package, &amp;#039;&amp;#039;&amp;#039;regardless&amp;#039;&amp;#039;&amp;#039; of your distribution’s package format (that is, you can extract an RPM package in Debian, or a DEB package in Mandriva).&lt;br /&gt;
&lt;br /&gt;
=== Installing 2.* versions ===&lt;br /&gt;
&lt;br /&gt;
==== RPM packages====&lt;br /&gt;
&lt;br /&gt;
Before starting, make sure you have GNU &amp;#039;&amp;#039;&amp;#039;tar&amp;#039;&amp;#039;&amp;#039; ([http://www.gnu.org/software/tar/ http://www.gnu.org/software/tar/]), &amp;#039;&amp;#039;&amp;#039;rpm2cpio&amp;#039;&amp;#039;&amp;#039; ([http://www.rpm.org/ http://www.rpm.org/]) and GNU &amp;#039;&amp;#039;&amp;#039;cpio&amp;#039;&amp;#039;&amp;#039; ([http://www.gnu.org/software/cpio/cpio.html http://www.gnu.org/software/cpio/cpio.html]). &lt;br /&gt;
&lt;br /&gt;
In the following example we will &amp;quot;install&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;OOo_2.4.0_LinuxIntel_install_en-US.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that has been downloaded in the directory &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# cd to the folder where you downloaded the *.tar.gz file&lt;br /&gt;
# in this example we downloaded &lt;br /&gt;
# the file OOo_2.4.0_LinuxIntel_install_en-US.tar.gz &lt;br /&gt;
# in the folder /home/user/download/ooo/&lt;br /&gt;
&lt;br /&gt;
~&amp;gt; cd download/ooo/&lt;br /&gt;
&lt;br /&gt;
# make a temp dir to extract the file content&lt;br /&gt;
# in this example we name it TEMP_INST&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; mkdir TEMP_INST &lt;br /&gt;
&lt;br /&gt;
# cd to that temp folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; cd TEMP_INST/ &lt;br /&gt;
&lt;br /&gt;
# extract the file content&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo_2.4.0_LinuxIntel_install_en-US.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this commands we have unpacked the content of the tarball in the temporal directory. Note that the directory structure we may find varies in different OpenOffice.org versions; older versions unpacked the RPMS directory in the root (in this example &amp;lt;code&amp;gt;download/ooo/TEMP_INST/RPMS/&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
Recent versions have a root directory named according to the build number; in our example the root directory is &amp;lt;code&amp;gt;OOH680_m12_native_packed-1_en-US.9286&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
We need to &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; the RPMS inside this root, where all the rpms are located.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# now we have to create another temp dir to extract all the RPMs files&lt;br /&gt;
# contained in the RPMS folder&lt;br /&gt;
# Some older versions created only a RPMS folder in the dir&lt;br /&gt;
# where we unpacked, for example download/ooo/TEMP_INST/RPMS/&lt;br /&gt;
# In this example the root directory begins with the build name&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; cd OOH680_m12_native_packed-1_en-US.9286/RPMS/ &lt;br /&gt;
&lt;br /&gt;
# in the following we will shorten the dir name&lt;br /&gt;
# instead of ~/download/ooo/TEMP_INST/OOH680_m12_native_packed-2_en-US.9276/RPMS&amp;gt;&lt;br /&gt;
# we will write ~/download/ooo/TEMP_INST/OOH680_m12 .../RPMS&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# make a temp dir where to extract OpenOffice.org installation root directory&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS&amp;gt; mkdir TEMP_ROOT &lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS&amp;gt; cd TEMP_ROOT/ &lt;br /&gt;
&lt;br /&gt;
# extract the RPMs&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT&amp;gt; for i in ../openoffice.org*.rpm; do rpm2cpio $i | cpio -id; done &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this procedure we will find in &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en-US.9286/RPMS/TEMP_ROOT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
all the root directory: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;~/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en-US.9286/RPMS/TEMP_ROOT/opt/openoffice.org2.4/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you just have to copy or move that root directory wherever you want. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT&amp;gt;cd opt&lt;br /&gt;
&lt;br /&gt;
# make sure not to precede &amp;quot;opt&amp;quot; with a slash, as in /opt&lt;br /&gt;
# because this will point to the folder where resides the main installation&lt;br /&gt;
# in /opt/openoffice.org2.4/&lt;br /&gt;
&lt;br /&gt;
# in this example we &amp;quot;install&amp;quot; the new version on home/user/openoffice.org2.4&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT/opt&amp;gt; mv openoffice.org2.4 ~&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally remove all the temporary files &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../RPMS/TEMP_ROOT/opt&amp;gt; cd ~/download/ooo/&lt;br /&gt;
~download/ooo&amp;gt; rm -rf TEMP_INST/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== DEB packages====&lt;br /&gt;
&lt;br /&gt;
In the following example we will &amp;quot;install&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;OOo_2.4.0_LinuxIntel_install_en-US_deb.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that has been downloaded in the directory &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# cd to the folder where you downloaded the *.tar.gz file&lt;br /&gt;
# in this example we downloaded&lt;br /&gt;
# the file OOo_2.4.0_LinuxIntel_install_en-US_deb.tar.gz&lt;br /&gt;
# in the folder /home/user/download/ooo/&lt;br /&gt;
&lt;br /&gt;
~&amp;gt; cd download/ooo/&lt;br /&gt;
&lt;br /&gt;
# make a temp dir to extract the file content&lt;br /&gt;
# in this example we name it TEMP_INST&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; mkdir TEMP_INST &lt;br /&gt;
&lt;br /&gt;
# cd to that temp folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; cd TEMP_INST/ &lt;br /&gt;
&lt;br /&gt;
# extract the file content&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo_2.4.0_LinuxIntel_install_en-US_deb.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this commands we have unpacked the content of the tarball in the temporal directory. Note that the directory structure we may find varies in different OpenOffice.org versions; older versions unpacked the DEBS directory in the root (in this example &amp;lt;code&amp;gt;download/ooo/TEMP_INST/DEBS/&amp;lt;/code&amp;gt;). &lt;br /&gt;
&lt;br /&gt;
Recent versions have a root directory named according to the build number; in our example the root directory is &amp;lt;code&amp;gt;OOH680_m12_native_packed-1_en-US.9286&amp;lt;/code&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
We need to &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; the DEBS inside this root, where all the debs are located. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# now we have to create another temp dir to extract all the DEBs files&lt;br /&gt;
# contained in the DEBS folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; cd OOH680_m12_native_packed-1_en-US.9286/DEBS/ &lt;br /&gt;
&lt;br /&gt;
# in the following we will shorten the dir name&lt;br /&gt;
# instead of ~/download/ooo/TEMP_INST/OOH680_m12_native_packed-2_en-US.9276/DEBS&amp;gt;&lt;br /&gt;
# we will write ~/download/ooo/TEMP_INST/OOH680_m12 .../DEBS&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# make a temp dir where to extract OpenOffice.org installation root directory&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS&amp;gt; mkdir TEMP_ROOT &lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS&amp;gt; cd TEMP_ROOT/ &lt;br /&gt;
&lt;br /&gt;
# extract the DEBs &lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT&amp;gt; for i in ../openoffice.org*.deb; do dpkg-deb -x $i . ; done &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this procedure we will find in &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en-US.9286/DEBS/TEMP_ROOT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
all the root directory: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;~/download/ooo/TEMP_INST/OOH680_m12_native_packed-1_en-US.9286/DEBS/TEMP_ROOT/opt/openoffice.org2.4/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you just have to copy or move that root directory wherever you want. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT&amp;gt;cd opt&lt;br /&gt;
&lt;br /&gt;
# make sure not to precede &amp;quot;opt&amp;quot; with a slash, as in /opt&lt;br /&gt;
# because this will point to the folder where resides the main installation&lt;br /&gt;
# in /opt/openoffice.org2.4/&lt;br /&gt;
&lt;br /&gt;
# in this example we &amp;quot;install&amp;quot; the new version on home/user/openoffice.org2.4&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT/opt&amp;gt; mv openoffice.org2.4 ~&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally remove all the temporary files &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/OOH680_m12.../DEBS/TEMP_ROOT/opt&amp;gt; cd ~/download/ooo/&lt;br /&gt;
~download/ooo&amp;gt; rm -rf TEMP_INST/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once all this is done, to run OpenOffice 2.4, you&amp;#039;ll need to cd to the /openoffice.org2.4/program/ folder then run the program with ./soffice or ./swriter etc. You can of course create a desktop or menu shortcut to do the same thing.&lt;br /&gt;
&lt;br /&gt;
==== User directory configuration for 2.* versions ====&lt;br /&gt;
&lt;br /&gt;
Before running this new version, we have to make some changes in the configuration. The procedure is the &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;same&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; for RPM and DEB packages.&lt;br /&gt;
&lt;br /&gt;
By default, an OpenOffice.org version will read and write in the corresponding user directory (for example, a stable OpenOffice.org 2.N version in /home/&amp;#039;&amp;#039;user&amp;#039;&amp;#039;/.openoffice.org2/, a developer snapshot in /home/&amp;#039;&amp;#039;user&amp;#039;&amp;#039;/.ooo-dev2/). This means that you can not run in parallel two versions that install as openoffice.orgN, or two as ooo-devN, because this could lead to inconsistencies. &lt;br /&gt;
&lt;br /&gt;
To avoid this we must change OpenOffice.org configuration to look for the user&amp;#039;s directory somewhere else: we will indicate the same installation root directory, this way we will have all together, being easier to deinstall later. &lt;br /&gt;
&lt;br /&gt;
To do this we must edit the configuration file located in &amp;lt;code&amp;gt;$OO_INST_ROOT_DIR/program/bootstraprc&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
As this file does not have write permission, change this first &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~&amp;gt; cd openoffice.org2.4/program/&lt;br /&gt;
~/openoffice.org2.4/program&amp;gt; chmod +w bootstraprc&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can open this file with your text editor and change the line starting with &amp;lt;code&amp;gt;UserInstallation=&amp;lt;/code&amp;gt; as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;UserInstallation=$ORIGIN/..&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The whole file may look then as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
[Bootstrap]&lt;br /&gt;
BaseInstallation=$ORIGIN/..&lt;br /&gt;
InstallMode=&amp;lt;installmode&amp;gt;&lt;br /&gt;
ProductKey=OpenOffice.org 2.4&lt;br /&gt;
UserInstallation=$ORIGIN/..&lt;br /&gt;
[ErrorReport]&lt;br /&gt;
ErrorReportPort=80&lt;br /&gt;
ErrorReportServer=report.services.openoffice.org&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This way the user directory will be in the root directory of OpenOffice.org, and you can run several version in parallel. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installing 3.* versions (three layer OpenOffice.org) ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Starting with DEV300m4, OpenOffice.org has three layers (see [[ODF_Toolkit/Efforts/Three-Layer_OOo | Three-Layer OOo]]). This means that when we extract the RPM/DEB packages, we will find two directories:&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;code&amp;gt;opt/openoffice.org&amp;lt;/code&amp;gt; (contains the &amp;#039;&amp;#039;&amp;#039;lowest&amp;#039;&amp;#039;&amp;#039; and the &amp;#039;&amp;#039;&amp;#039;middle&amp;#039;&amp;#039;&amp;#039; layers: &amp;lt;code&amp;gt;ure&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;basis&amp;lt;/code&amp;gt;)&lt;br /&gt;
# &amp;lt;code&amp;gt;opt/ooo-dev3.0&amp;lt;/code&amp;gt; (contains the &amp;#039;&amp;#039;&amp;#039;top&amp;#039;&amp;#039;&amp;#039; layer)&lt;br /&gt;
&lt;br /&gt;
where you have to replace &amp;lt;code&amp;gt;ooo-dev3.0&amp;lt;/code&amp;gt; with the product name, for example &amp;lt;code&amp;gt;openoffice.org3.0&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As we want to create a &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;completely self-contained installation&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; (without any system/desktop integration, and with its own user directory), we only need to extract the packages and then rename this &amp;lt;code&amp;gt;opt&amp;lt;/code&amp;gt; directory so that the three layers are kept together.&lt;br /&gt;
&lt;br /&gt;
==== RPM packages====&lt;br /&gt;
&lt;br /&gt;
In the following example we will &amp;quot;install&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;OOo-Dev_DEV300_m7_LinuxIntel_install_en-US.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that has been downloaded in the directory &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# cd to the folder where you downloaded the *.tar.gz file&lt;br /&gt;
# in this example we downloaded &lt;br /&gt;
# the file OOo-Dev_DEV300_m7_LinuxIntel_install_en-US.tar.gz &lt;br /&gt;
# in the folder /home/user/download/ooo/&lt;br /&gt;
&lt;br /&gt;
~&amp;gt; cd download/ooo/&lt;br /&gt;
&lt;br /&gt;
# make a temp dir to extract the file content&lt;br /&gt;
# in this example we name it TEMP_INST&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; mkdir TEMP_INST &lt;br /&gt;
&lt;br /&gt;
# cd to that temp folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; cd TEMP_INST/ &lt;br /&gt;
&lt;br /&gt;
# extract the file content&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo-Dev_DEV300_m7_LinuxIntel_install_en-US.tar.gz&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this commands we have unpacked the content of the tarball in the temporal directory.&lt;br /&gt;
&lt;br /&gt;
We need now to &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; the RPMS inside this root, where all the rpms are located.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# now we have to create another temp dir to extract all the RPMs files&lt;br /&gt;
# contained in the RPMS folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; cd DEV300_m7_native_packed-1_en-US.9293/RPMS/ &lt;br /&gt;
&lt;br /&gt;
# in the following we will shorten the dir name &lt;br /&gt;
# instead of ~/download/ooo/TEMP_INST/DEV300_m7_native_packed-1_en-US.9293/RPMS&amp;gt;&lt;br /&gt;
# we will write ~/download/ooo/TEMP_INST/ DEV300_m7.../RPMS&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# make a temp dir where to extract OpenOffice.org installation root directory&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS&amp;gt; mkdir TEMP_ROOT &lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS&amp;gt; cd TEMP_ROOT/ &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that depending on the version, you may find two different naming schemes:&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;code&amp;gt;openoffice.org-*.rpm&amp;lt;/code&amp;gt; for the lowest and middle layers&lt;br /&gt;
# &amp;lt;code&amp;gt;ooo-dev-*.rpm&amp;lt;/code&amp;gt; for the top layer&lt;br /&gt;
&lt;br /&gt;
So you can extract the RPMs in one or two steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# extract the RPMs in one step&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; for i in ../o*.rpm; do rpm2cpio $i | cpio -id; done &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that we do not use the wildcard &amp;lt;code&amp;gt;for i in ../*.rpm&amp;lt;/code&amp;gt;, because the package may include the rpm for Java Runtime Environment (in this example, the package comes with &amp;lt;code&amp;gt;jre-6u4-linux-i586.rpm&amp;lt;/code&amp;gt;), so using the wildcard &amp;lt;code&amp;gt;../o*.rpm&amp;lt;/code&amp;gt; we make sure that only the rpms sarting with &amp;quot;o&amp;quot; are extracted.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# extract the RPMs in two steps&lt;br /&gt;
# the lowest and middle layers&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; for i in ../openoffice.org*.rpm; do rpm2cpio $i | cpio -id; done &lt;br /&gt;
&lt;br /&gt;
# extract the top layer&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; for i in ../ooo-dev*.rpm; do rpm2cpio $i | cpio -id; done &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this procedures we will find in &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/TEMP_INST/DEV300_m7_native_packed-1_en-US.9293/RPMS/TEMP_ROOT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
an &amp;lt;code&amp;gt;opt&amp;lt;/code&amp;gt; folder that contains two directories:&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;code&amp;gt;/TEMP_ROOT/opt/ooo-dev3.0&amp;lt;/code&amp;gt;&lt;br /&gt;
#&amp;lt;code&amp;gt;/TEMP_ROOT/opt/openoffice.org&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this last folder contains in turn other two directories: &amp;lt;code&amp;gt;basis3.0&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ure&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now you just have to copy or move that &amp;#039;&amp;#039;&amp;#039;opt&amp;#039;&amp;#039;&amp;#039; directory wherever you want. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# in this example we &amp;quot;install&amp;quot; the new version on home/user/OOo_DEV300_m7&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; mv opt ~/OOo_DEV300_m7&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally remove all the temporary files &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../RPMS/TEMP_ROOT&amp;gt; cd ~/download/ooo/&lt;br /&gt;
~download/ooo&amp;gt; rm -rf TEMP_INST/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== DEB packages====&lt;br /&gt;
&lt;br /&gt;
In the following example we will &amp;quot;install&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;OOo-Dev_DEV300_m7_LinuxIntel_install_en-US_deb.tar.gz&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
that has been downloaded in the directory &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# cd to the folder where you downloaded the *.tar.gz file&lt;br /&gt;
# in this example we downloaded &lt;br /&gt;
# the file OOo-Dev_DEV300_m7_LinuxIntel_install_en-US_deb.tar.gz &lt;br /&gt;
# in the folder /home/user/download/ooo/&lt;br /&gt;
&lt;br /&gt;
~&amp;gt; cd download/ooo/&lt;br /&gt;
&lt;br /&gt;
# make a temp dir to extract the file content&lt;br /&gt;
# in this example we name it TEMP_INST&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; mkdir TEMP_INST &lt;br /&gt;
&lt;br /&gt;
# cd to that temp folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo&amp;gt; cd TEMP_INST/ &lt;br /&gt;
&lt;br /&gt;
# extract the file content&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; tar -zxvf ../OOo-Dev_DEV300_m7_LinuxIntel_install_en-US_deb.tar.gz&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this commands we have unpacked the content of the tarball in the temporal directory. &lt;br /&gt;
&lt;br /&gt;
We need now to &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; the DEBS inside this root, where all the debs are located. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# now we have to create another temp dir to extract all the DEBs files&lt;br /&gt;
# contained in the DEBS folder&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST&amp;gt; cd DEV300_m7_native_packed-1_en-US.9293/DEBS/ &lt;br /&gt;
&lt;br /&gt;
# in the following we will shorten the dir name &lt;br /&gt;
# instead of ~/download/ooo/TEMP_INST/DEV300_m7_native_packed-1_en-US.9293/DEBS&amp;gt;&lt;br /&gt;
# we will write ~/download/ooo/TEMP_INST/DEV300_m7.../DEBS&amp;gt;&lt;br /&gt;
&lt;br /&gt;
# make a temp dir where to extract OpenOffice.org installation root directory&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS&amp;gt; mkdir TEMP_ROOT &lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7 .../DEBS&amp;gt; cd TEMP_ROOT/ &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Notice that depending on the version, you may find two different naming schemes:&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;code&amp;gt;openoffice.org-*.deb&amp;lt;/code&amp;gt; for the lowest and middle layers&lt;br /&gt;
#&amp;lt;code&amp;gt;ooo-dev-*.deb&amp;lt;/code&amp;gt; for the top layer&lt;br /&gt;
&lt;br /&gt;
So you can extract the DEBs in one or two steps:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# extract the DEBs in one step&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; for i in ../*.deb; do dpkg-deb -x $i . ; done &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# extract the DEBs in two steps&lt;br /&gt;
# the lowest and middle layers&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; for i in ../openoffice.org*.deb; do dpkg-deb -x $i . ; done &lt;br /&gt;
&lt;br /&gt;
# extract the top layer&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; for i in ../ooo-dev*.deb; do dpkg-deb -x $i . ; done &lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this procedure we will find in &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/download/ooo/TEMP_INST/DEV300_m7_native_packed-1_en-US.9293/DEBS/TEMP_ROOT&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
an &amp;lt;code&amp;gt;opt&amp;lt;/code&amp;gt; folder that contains two directories:&lt;br /&gt;
&lt;br /&gt;
#&amp;lt;code&amp;gt;/TEMP_ROOT/opt/ooo-dev3.0&amp;lt;/code&amp;gt;&lt;br /&gt;
#&amp;lt;code&amp;gt;/TEMP_ROOT/opt/openoffice.org&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this last folder contains in turn other two directories: &amp;lt;code&amp;gt;basis3.0&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ure&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now you just have to copy or move that &amp;#039;&amp;#039;&amp;#039;opt&amp;#039;&amp;#039;&amp;#039; directory wherever you want. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
# in this example we &amp;quot;install&amp;quot; the new version on home/user/OOo_DEV300_m7&lt;br /&gt;
&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; mv opt ~/OOo_DEV300_m7&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And finally remove all the temporary files &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
~/download/ooo/TEMP_INST/DEV300_m7.../DEBS/TEMP_ROOT&amp;gt; cd ~/download/ooo/&lt;br /&gt;
~download/ooo&amp;gt; rm -rf TEMP_INST/&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== User directory configuration for 3.* versions ====&lt;br /&gt;
&lt;br /&gt;
Before running this new version, we have to make some changes in the configuration. The procedure is the &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;same&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; for RPM and DEB packages.&lt;br /&gt;
&lt;br /&gt;
By default, an OpenOffice.org version will read and write in the corresponding user directory (for example, a stable OpenOffice.org 2.N version in /home/&amp;#039;&amp;#039;user&amp;#039;&amp;#039;/.openoffice.org2/, a developer snapshot in /home/&amp;#039;&amp;#039;user&amp;#039;&amp;#039;/.ooo-dev2/). This means that you can not run in parallel two versions that install as openoffice.orgN, or two as ooo-devN, because this could lead to inconsistencies. &lt;br /&gt;
&lt;br /&gt;
To avoid this we must change OpenOffice.org configuration to look for the user&amp;#039;s directory somewhere else: we will indicate the same installation root directory, this way we will have all together, being easier to deinstall later. &lt;br /&gt;
&lt;br /&gt;
To do this we must edit the configuration file &amp;lt;code&amp;gt;bootstraprc&amp;lt;/code&amp;gt; located in the &amp;lt;code&amp;gt;program &amp;lt;/code&amp;gt;directory inside the top layer, in this example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/home/user/OOo_DEV300_m7/ooo-dev3.0/program&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As this file does not have write permission, change this first &lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
&amp;gt; cd ~/OOo_DEV300_m7/ooo-dev3.0/program&lt;br /&gt;
~/OOo_DEV300_m7/ooo-dev3.0/program&amp;gt; chmod +w bootstraprc&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you can open this file with your text editor and change the line starting with &amp;lt;code&amp;gt;UserInstallation=&amp;lt;/code&amp;gt; as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;UserInstallation=$ORIGIN/..&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The whole file may look then as follows: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
[Bootstrap]&lt;br /&gt;
BaseInstallation=${OOO_BASE_DIR}&lt;br /&gt;
InstallMode=&amp;lt;installmode&amp;gt;&lt;br /&gt;
ProductKey=OOo-dev 3.0&lt;br /&gt;
UserInstallation=$ORIGIN/..&lt;br /&gt;
[ErrorReport]&lt;br /&gt;
ErrorReportPort=80&lt;br /&gt;
ErrorReportServer=report.services.openoffice.org&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This way the user directory will be in the root directory of OpenOffice.org, and you can run several version in parallel.&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
&lt;br /&gt;
On Windows, you must do a so-called administrative installation of your package. This is something available for all msi-based installations, and basically simply means extracting the .cab files which come with your installation.&lt;br /&gt;
&lt;br /&gt;
If you have a all-in-one executable containing your installation set (one single .exe file having more than 100 MB, named e.g. &amp;lt;code&amp;gt;OOo_2.4.237_Win32Intel_install.exe&amp;lt;/code&amp;gt;), you first allow it to extract itself. For this, simply start the executable - it will prompt you for where to extract the files. After extraction, it will automatically run the real installer - cancel it.&lt;br /&gt;
&lt;br /&gt;
In the following, we assume you extracted it to &amp;lt;code&amp;gt;c:\temp\install&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, open a console (&amp;lt;Windows_Key&amp;gt;+R, following by typing &amp;quot;cmd&amp;lt;enter&amp;gt;&amp;quot;, will do), there do a&lt;br /&gt;
  ...&amp;gt; c:&lt;br /&gt;
  c:\&amp;gt; cd \temp\install&lt;br /&gt;
  c:\temp\install&amp;gt; msiexec /a ooodev24.msi&lt;br /&gt;
&lt;br /&gt;
(The above assumes there is a file ooodev24.msi in the given directory. The name changes with the version you&amp;#039;re installing, but it should always be exactly one .msi file. Use this one&amp;#039;s name.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;msiexec&amp;lt;/code&amp;gt; is a tool to, well, execute .msi files. The /a switch tells it to do an administrative install. It will start a UI, where you again are asked for the target location - choose a folder where you finally want to have OOo being installed. Then, click the &amp;quot;Install&amp;quot; button, wait a few minutes, and there you are.&lt;br /&gt;
&lt;br /&gt;
side note for advanced users:&lt;br /&gt;
  msiexec /a ooodev24.msi TARGETDIR=&amp;quot;c:\Program Files\OOoDev\m237&amp;quot; /qr&lt;br /&gt;
will install OOo into the folder &amp;quot;c:\Program Files\OOoDev\m237&amp;quot;, without any further user interaction.&lt;br /&gt;
&lt;br /&gt;
Beginning with &amp;lt;code&amp;gt;DEV300m23&amp;lt;/code&amp;gt;, the necessary Microsoft Visual&amp;amp;nbsp;C++ runtime files are no longer contained in the installed OOo product, but are rather installed into the system during normal installation (see [http://www.openoffice.org/servlets/ReadMsg?list=interface-announce&amp;amp;msgNo=1173 this interface-announce@openoffice.org mail]).  As this is not done during an administrative installation, you have to install the [http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF Microsoft Visual C++ 2008 Redistributable Package (x86)] (or equivalent for different compiler versions) yourself.&lt;br /&gt;
&lt;br /&gt;
=== User Configuration ===&lt;br /&gt;
&lt;br /&gt;
Like with the Linux version above, you need to make sure the user data of the just installed OOo version doesn&amp;#039;t conflict with the user data of other installations. To do so, open the file &amp;lt;code&amp;gt;&amp;lt;OOo_installation&amp;gt;\program\bootstrap.ini&amp;lt;/code&amp;gt; in a text editor of your choice, and locate the line&lt;br /&gt;
&lt;br /&gt;
  UserInstallation=$SYSUSERCONFIG/OOo-dev2&lt;br /&gt;
&lt;br /&gt;
(Again, the last part of this depends on the concrete version you installed, but there&amp;#039;s only one line starting with &amp;lt;code&amp;gt;UserInstallation&amp;lt;/code&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
Change this to&lt;br /&gt;
  UserInstallation=$ORIGIN/..&lt;br /&gt;
&lt;br /&gt;
The entire file may now look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;[Bootstrap]&lt;br /&gt;
BaseInstallation=${OOO_BASE_DIR}&lt;br /&gt;
InstallMode=&amp;lt;installmode&amp;gt;&lt;br /&gt;
ProductKey=OpenOffice.org 3.2&lt;br /&gt;
UserInstallation=$ORIGIN/..&lt;br /&gt;
[ErrorReport]&lt;br /&gt;
ErrorReportPort=80&lt;br /&gt;
ErrorReportServer=report.services.openoffice.org&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, your user data will be put into a folder &amp;lt;code&amp;gt;user&amp;lt;/code&amp;gt; right besides your &amp;lt;code&amp;gt;program&amp;lt;/code&amp;gt; folder. Which has two advantages: Different version&amp;#039;s user data don&amp;#039;t clash anymore, and you can remove the complete installation, &amp;#039;&amp;#039;including&amp;#039;&amp;#039; your user data, by simply deleting the installation folder.&lt;br /&gt;
Be aware, however, that now different people working on the same Windows machine will all work with the same user data, which is unlike a normal installation.&lt;br /&gt;
&lt;br /&gt;
== Adapt changes for automated testing ==&lt;br /&gt;
&lt;br /&gt;
If you plan to use an installation for automated testing with [[VCLTesttool|VCLTestTool please check Wiki-page]] to learn what settings must be made. &lt;br /&gt;
&lt;br /&gt;
To let VCLTestTool find the administrative installation it is required to adapt an option named &amp;#039;OOoProgramDir&amp;#039;. Simply change this to the program-dir in the brand layer of your OpenOffice.org Installation&lt;br /&gt;
&lt;br /&gt;
[[Image:VCLTestTool-options-OOoProgramDir.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
[[Category:Quality Assurance]]&lt;/div&gt;</summary>
		<author><name>Rhoalpha</name></author>
	</entry>
</feed>