On 02/12/2009 10:19 AM, H.S. wrote:
> H.S. wrote:
>> Hello,
>> 
>> I want to try out the 3.0.1 version in Debian Lenny. From
>> http://wiki.services.openoffice.org/wiki/Documentation/Administration_Guide/Linux,
>> I see that the default location for the installation is /opt. However, I
>> want to install it in /usr/local/opt. The web page suggests to use the
>> following command for this (as root):
>> $> dpkg -i --installdir=/usr/local/opt *.deb
> 
>              ^^^^^^^^^^^^<---- wrong option, should be "--instdir"
> 
> There is a typo on that web page. The command should be
> $> dpkg --simulate -i --instdir=/usr/local/opt *.deb
> 
> Regards.

Good catch on the typo, the command should actually be:

dpkg -i --instdir=<install-dir> *.deb

The --simulate (you can use just -s if you like) is, as you know, is
only to simulate the install.

Might I recommend that you instead just use:

sudo dpkg -i *.deb

and let it go ahead and install in /opt? It won't interfere with your
exisiting repo install, nor will it interfere with an earlier .deb
install of 2.x. They all will reside quite comfortably together.

Don't try to install the menus (unless you've removed your repo OOo) --
and there is absolutely *no* reason to remove your distribution OOo,
instead just create an application menu with a path to:

/opt/openoffice.org3/program/soffice

If you feel like experimenting, you might want to give the dev version
of 3.1 a spin. Here are some of the new/improved features:

http://www.oooninja.com/

and downloads are here:
http://download.openoffice.org/680/index.html

Note that the dev version will also not interfere with your other
installs; it goes into:

/opt/ooo-dev3/program/soffice

My reason for suggesting leaving the installs in the /opt directory is
because you may (or may not) run into issues when putting in the /usr
directory. Not necessarily by the base code, but perhaps by an extension
etc., that may default to looking for something in /opt instead.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to