On 04/16/2008 05:25 PM, NoOp wrote: > On 04/16/2008 02:50 PM, Michele wrote: > >> >> Hello NoOp, >> >> I have followed your instrructions but rather than moving teh >> development version, I have actually moved the stable version into my >> /home so now I can keep up to speed with the various DEV300 versions. >> DEV300m5 had a problem with the desktop integration (the version was >> still called OpenOffice instead of OOoDev) so I had to create the >> menus manually, but it is not a big deal. >> >> If you have some time I think you should document your method of >> installing parallel versions on the wiki. It most certainly helped me >> get going. > > Ah... you mean the instructions I posted on the Ubuntu user list; glad > that worked out for you :-) I also have 2.3.1, 2.4.0, and 3.0dev all > working on the same machine. I'll try to clean up the instructions so > that they are more 'debian generic' like (meaning using command line vs > Nautilus etc) and post back here when done. Then the more experienced > debian users/developers et al can review & modify if necessary, and then > put up on the wiki if they wish.
Here you go: The following is Ubuntu (Gnome) oriented, but can easily be modified for standard Debian. Sorry, I don't Kubuntu/KDE. The instructions assume that: 1) you already have a working OOo version (non-Ubuntu) on your system, 2) are familiar with Ubuntu Gnome linux. The following has been tested on Ubuntu 7.10 (Gutsy) and Ubuntu 8.04 Beta (Hardy). Situation: I have OOo 2.3.1 installed and I want to keep a working version of 2.3.1 but also install the latest 2.4.x. The instructions on http://wiki.services.openoffice.org/wiki/Run_OOo_versions_parallel only provide information for RPM and Windows. How do I do the same with .deb files? In this example I wish to keep 2.3.1 (already installed) and install 2.4.0: 1. First I make a target directory to for OOo 2.3.1 in my /home directory: Code: sudo mkdir /home/<username>/OOo2.3.1 2. Then I copy my existing OOo 2.3.1 to that directory: Code: sudo cp -R /opt/openoffice.org2.3 /home/<username>/OOo2.3.1 3. Now I need to change the ownership of the files in the target to my username and usergroup: Code: sudo chown -R <username>:<usergroup> /home/<username>/OOo2.3.1 4. Now create a user directory and tell OOo where to find it: Code: sudo mkdir ~/.openoffice2.3.1 cd /home/<username>/OOo2.3.1/openoffice.org2.3/program chmod +w chmod +w bootstraprc Now you can open this file with your text editor and change the line starting with UserInstallation= as follows: UserInstallation=$/home/<username>/.openoffice2.3.1 5. Now run soffice to register and ensure everything works: Code: ./soffice or if you've changed directories by some chance: /home/<username>/OOo2.3.1/openoffice.org2.3/program ./soffice Note: you can substitute ./soffice with ./swriter if you feel more comfortable bringing up an OOo application from the start. 6. With the initialization completed you can delete the /opt/openoffice2.3 folder and/or better yet, remove/uninstall via the Synaptic Package Manager or similar. (System|Administration|Synaptic...|Search|openoffice.org|select & mark for complete removal the installed 2.3.1 OOo files. 7. Now let's create a menu item so that we don't have to drop to the terminal and cd to /home/<username>/OOo2.3.1/openoffice.org2.3/program each time we wish to run 2.3.1. Again remember this is Ubuntu Gnome: - right click on Applications and select "Edit Menus" - select "office" and then "New Item" - in "Name:" enter OOo2.3.1 or similar - in "Command" select the Browse button and browse to /home/<username>/OOo2.3.1/openoffice.org2.3/program - then select 'soffice' or 'swriter' if you are more comfortable with opening in Writer, then click "Open". I'll leave it up to the reader to figure out how to put a nice OOo icon in the menu... 8. Now install 2.4.0. Don't forget to also install the desktop-integration deb so that you have the full menus in Application|Office. You can now run both 2.3.1 and 2.4.0 on the same machine *and* at the same time if you wish. Note: you can substitute 2.3.1 with 2.4.0 above etc. Also if you'd like to run the standard OOo (2.x) plus your Ubuntu distro OOo (xiamian) version, just repeat step #6 (uninstall OOo) and then reinstall your (U)OOo: Code: sudo apt-get install --reinstall openoffice.org ubuntu-desktop You can then run (U)OOo as usual, and your other OOo (standard)OOo2.3.1/2.4.0 via the home directory that you installed the standard OOo version to. You also can run the standard OOo (from the /home directory) and (U)OOo at the same time. Comments: *None of this* negatates the requirement for OOo to provide a proper OOo install script that will allow .deb linux users to install to a target directory rather than the default /opt directory. This option is available for Windows users via the "Custom Install" option and should also be provided to linux users as well; preferably to a home/user directory. Ideally future OOo versions will also provide the same for linux installations. Modifications/comments/suggestions are most welcome as to the above. Perhaps a more experienced Debian user/developer can: 1) modify for generic debian, 2) provide an install script that eliminates the need for the above, and 3) a wiki enabled person can add the above (or modified) to the http://wiki.services.openoffice.org/wiki/Run_OOo_versions_parallel so that .deb users can also know how to install/run parallel versions of OOo. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
