Re: Can I use dpkg -i to install in /usr/local or /opt?
On Mon, 25 Sep 2000, Ethan Benson wrote:
> On Mon, Sep 25, 2000 at 09:33:48PM +0000, W. Borgert wrote:
> > Hi,
> >
> > the subject says it all. Can I (or maybe even a user w/o
> > root privileges) install a .deb in a safe place? Of course,
> > this would not work for daemons or libc, but it would be
> > very useful for some tools and libs. It would be very sad
> > to not have all the power of Debians dpkg/apt if it comes
> > to local installation! But I didn't see anything about it
> > in the manual pages - did I miss it?
>
> i don't think so, i was looking into installing half of a debian
> system in the confines of my home directory on a linuxppc 2000 box
> (linuxppc is rather broken so i wanted to replace all the broken crap
> with usable debian stuff, but i don't have root) i could not get dpkg
> to let me do much of anything like that non-root though.
dpkg --root=dir/ --force-non-root ? (Not tested, just from the manpage)
Or maybe fakeroot can help.
Is this also the way the Base System is made by the boot-floppies package?
And we also have dpkg-deb -x file.deb dir/ for the dirty non-managed
extraction-only things.
Regards,
Anne Bezemer
Reply to: