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

Re: Apt-get install to alternate directory

On Wed, Dec 27, 2006 at 06:56:08AM -0800, Ottavio Caruso wrote:
> Suppose I have a have a second hard drive mounted as /target.
> Is there any way to get apt or aptitude to install the resulting
> binaries to /target rather than /usr/bin?

you can use dpkg -x (I think, might be -X) to unpack the files, but they will end up in in
/target/usr/bin, /target/etc and so forth. you could also chroot into
/target and run apt from inside the chroot. 

what is your goal here?


Attachment: signature.asc
Description: Digital signature

Reply to: