Re: How to install .deb package as non-root user?
use SUDO command .. but the root sysadmin.. should have to add to the
list of users to let u use sudo on any user's shell ..
On Sat, Apr 15, 2006 at 12:43:57PM -0500, Matt England wrote:
> How can one install .deb package as non-root user? I see a 'dpkg --root'
> parameter, but it doesn't seem to help (as per below).
>
> Redhat's rpm can install with an non-root account; why not
> dpkg/apt/wajig...or maybe one of these things can do this somehow and I
> don't know about it?
>
> I'm part of a software development team that plans to produce Debian
> packages. However, one of our requirements is to be able to support
> non-root installs of our software (to a user's home directory, for
> example). I would be quite disappionted if the Debian package system can
> not support this.
>
> Are there any workarounds if Debian packages can not do this? Will
> alien-rpm support non-root installs with .rpm's on Debian?
>
> -Matt
>
>
> mengland@localhost 1:30pm [~] 18> dpkg --root ~ -i
> libboost-filesystem1.32.0_1.32.0-6_i386.deb
> dpkg: requested operation requires superuser privilege
> mengland@localhost 1:30pm [~] 19> whoami
> mengland
> mengland@localhost 1:30pm [~] 20> pwd
> /home/mengland
> mengland@localhost 1:30pm [~] 21> dpkg --root /home/mengland -i
> libboost-filesystem1.32.0_1.32.0-6_i386.deb
> dpkg: requested operation requires superuser privilege
> mengland@localhost 1:30pm [~] 22> cat /etc/iss
> issue issue.net
> mengland@localhost 1:30pm [~] 22> cat /etc/issue
> mengland@localhost 1:31pm [~] 23> uname -a
> Linux localhost 2.6.12-1-686 #1 Tue Sep 27 12:52:50 JST 2005 i686 GNU/Linux
> mengland@localhost 1:38pm [~] 24> file
> libboost-filesystem1.32.0_1.32.0-6_i386.deb
> libboost-filesystem1.32.0_1.32.0-6_i386.deb: Debian binary package (format
> 2.0)
> mengland@localhost 1:38pm [~] 25>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
Reply to: