Re: changing the install location of a series of deb's
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, fnkci+debianuser@uaf.edu
Reply to: