On Mon, 29 Sep 2008 05:45:20 -0700 (PDT)
Kruti <[EMAIL PROTECTED]> wrote:

> 
> Hi..
> Can someone help me regarding how to install a package in any user defined
> folder other than /usr using apt-get?

Not using apt, using dpkg-deb -x.

       -x, --extract archive directory
              Extracts  the  filesystem  tree  from a package archive
into the specified directory.

apt-cross can help you get the actual .deb (whether the architecture
matches or not) or you can just go to the packages.debian.org website
and download the .deb directly from the mirrors.

Or use a chroot and install the package normally inside it:

$ sudo pbuilder create
$ sudo pbuilder login
# apt-get install foo
# exit

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpwHF7vbwWd7.pgp
Description: PGP signature

Reply via email to