[Update - OOo] Re: How can I install two versions of the same program simultaneously?

NoOp glgxg at sbcglobal.net
Fri Apr 18 17:33:36 UTC 2008


On 04/02/2008 03:42 PM, NoOp wrote:
> On 04/01/2008 02:47 AM, Michele wrote:
>> Hello,
>> 
>> I would like to install OOo2.4 with the DEV300m5 in parallel on my ubuntu
>> box, but I don't know how. They are both called openoffice, so when i try to
>> install dpkg *substitutes* one version with the other.
>> 
>> I have found this command for RPMs in an old setup guide:
>> 
>> rpm -ivh --install --dbpath /home/user1/office/.rpm --nodeps --prefix
>> /home/user1/office/ openoffice*.rpm
>> 
>> where /home/user1/office/.rpm is the directory where the second installation
>> should be.
>> 
>> Is there an equivalent command for dpkg? is there an alternative method
>> altogether?
>> 
>> TIA,
>> 
>> Michele
>> 
>> 
> 
> OK, here is what I did... it isn't eloquent, but it works. Note: I had
> previously uninstalled *all* (U)OOo and the ubuntu-desktop, and had
> installed the standard OOo (debs) 2.4.0 from Openoffice.org:
> 

[snip]

While my method also works (thanks Michele for confirming :-), for
anyone interested in running multiple versions of OpenOffice (or other
package) on the same machine, Ariel Constenla-Haile has kindly updated
the wiki to include how to do it with the deb packages:

http://wiki.services.openoffice.org/wiki/Run_OOo_versions_parallel

'dpkg-deb --extract package.deb dir-to-extract-to' is the command that
does the job of extracting. Helpful reference:

<https://help.ubuntu.com/community/SwitchingToUbuntu/FromLinux/%20RedHatEnterpriseLinuxAndFedora>

 Extract files in a package
	
dpkg-deb --extract package.deb dir-to-extract-to
	vs
rpm2cpio package.rpm | cpio -vid







More information about the ubuntu-users mailing list