Re: install location and aptitude
On Fri, 11 Dec 2009 19:13:45 +0330
Nima Azarbayjany <i.adore.debian@gmail.com> wrote:
> Hi,
>
> How do you direct aptitude to install packages to a specific directory? For
> example, Google Chrome by default is installed under /opt but I prefer it to
> install in my /usr partition rather than in the root partition which
> contains /opt. That's mostly because I have partitioned my hard disk
> according to the default scheme of Debian's installer which allocates only a
> few hundred megs to the root partition. So my question is, how do you ask
> aptitude to install Chrome in /usr?
I don't know if this can be done using .deb packages and the apt
system. If the software is available as a source tarball, then the
installation script / instructions may contain a way to define the
installation location.
For your specific problem, why not just mount a different disk /
partition onto /opt?
Celejar
--
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator
Reply to: