Re: changing the install location of a series of deb's

2008-02-22 Thread Kevin Mark
On Fri, Feb 22, 2008 at 03:30:51PM -0500, richard white wrote:
 I have a series of deb's (actually openoffice.org) that I need to install 
 under /usr/local instead of their default of location of /opt.  Can this be 
 done without re-building the deb's?
 
 Thanks!
 
 Richard White
 (not subscribed to this list)
Hi,
the DEB format contains a tar ball of the program files, so you can use
dpkg options to extract that tar ball but this will not run the install
script or register the install in the dpkg database,
You can then use the 'equivs' program to add an entry to the dpkg
database. This is extremely hacky at best.
I dont recall such an option, maybe someone has a better suggestion.
so: 'man dpkg'.
-K
-- 
|  .''`.  == Debian GNU/Linux == |   my web site:   |
| : :' :  The  Universal |mysite.verizon.net/kevin.mark/|
| `. `'  Operating System| go to counter.li.org and |
|   `-http://www.debian.org/ |be counted! #238656   |
|  my keyserver: subkeys.pgp.net | my NPO: cfsg.org |
|join the new debian-community.org to help Debian!  |
|___  Unless I ask to be CCd, assume I am subscribed ___|


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: changing the install location of a series of deb's

2008-02-22 Thread Douglas A. Tutty
On Fri, Feb 22, 2008 at 03:30:51PM -0500, richard white wrote:
 I have a series of deb's (actually openoffice.org) that I need to install 
 under /usr/local instead of their default of location of /opt.  Can this be 
 done without re-building the deb's?

As always, either it depends or yes, but.

Do you need it to continue to be monitored by apt so that you get
notification of updates?  If so, you'll have to look at options for dpkg
(which does the actual install).

If you just want it in place and don't care to have apt manage it, then
extract the deb (I use mc which can open archives [tarballs, debs, etc]
as a filesystem) to the location you need.  Then peruse the post-inst
script and make sure that you do whatever it needs done, but you'll have
to tweak things like install location.

Either way, its a bit of work.  This leads to two quesitons:

1.  Is it worth it to use the debian package rather than the generic
tarball from OO (I don't know, never having used OO)?

2.  Why do you need it under /usr/local/ instead of /opt/oo (or
whatever)?

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: changing the install location of a series of deb's

2008-02-22 Thread Ken Irving
On Fri, Feb 22, 2008 at 05:50:57PM -0500, Douglas A. Tutty wrote:
 On Fri, Feb 22, 2008 at 03:30:51PM -0500, richard white wrote:
  I have a series of deb's (actually openoffice.org) that I need to install 
  under /usr/local instead of their default of location of /opt.  Can this be 
  done without re-building the deb's?
 
 As always, either it depends or yes, but.
 
 Do you need it to continue to be monitored by apt so that you get
 notification of updates?  If so, you'll have to look at options for dpkg
 (which does the actual install).
 
 If you just want it in place and don't care to have apt manage it, then
 extract the deb (I use mc which can open archives [tarballs, debs, etc]
 as a filesystem) to the location you need.  Then peruse the post-inst
 script and make sure that you do whatever it needs done, but you'll have
 to tweak things like install location.
 
 Either way, its a bit of work.  This leads to two quesitons:
 
 1.Is it worth it to use the debian package rather than the generic
   tarball from OO (I don't know, never having used OO)?
 
 2.Why do you need it under /usr/local/ instead of /opt/oo (or
   whatever)?

And maybe one more:

3. Could you (he) set a symlink in either /usr/local/ or /opt/ to the 
other?

Ken
-- 
Ken Irving, [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]