[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

openoffice.org 3.0.1 and "--instdir" option



Hello,

I wanted to try out OOo 3.0.1 on Debian Lenny. From this web page:
http://wiki.services.openoffice.org/wiki/Documentation/Administration_Guide/Linux

looks like all I have to do is:
$> dpkg -i *.deb

to the downloaded deb file to get the installation in /opt.

Now, the web page also says that to change the location of the
installation, I need to use "--instdir" (there is a typo on that web
page though). So, I think I need to use:
$> dpkg -i --installdir=/usr/local/opt *.deb

to get the installation in /usr/local/opt. Or am I supposed to use
--instdir=/usr/local ?

The downloaded deb files all contain files starting with "./opt/" in
their contents. Example:
$> dpkg -c openoffice.org3-writer_3.0.1-15_i386.deb
drwxrwxr-x root/root  0 2009-01-09 09:40 ./
drwxr-xr-x root/root  0 2009-01-09 09:40 ./opt/
drwxr-xr-x root/root  0 2009-01-09 09:40 ./opt/openoffice.org3/
drwxr-xr-x root/root  0 2009-01-09 09:40 ./opt/openoffice.org3/program/
-r-xr-xr-x root/root 63 2009-01-09 09:40
./opt/openoffice.org3/program/swriter


Also, man page of dpkg mentions "--root" option. What is the difference
between "--instdir" and "--root"? Is "--root" set to "." in the debs of
OOo that I listed above?

Thanks.



-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


Reply to: