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@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact
listmaster@xxxxxxxxxxxxxxxx


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: missing packages..
    ... > over the apparent absence of some very basic programs which ... See long flamewars at various times and places as to why mplayer is ... > effort if a debian package exists somewhere I havn't looked... ... > with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Firefox and Flash
    ... I used the same plugin which firefox_1.5.dfsg-3 uses! ... > the problem seems to lie in the debian package. ... So the problem doesn't lie in the build process but possibly in one ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Is shorewall abandoned in sid?
    ... I run pretty much pure Sarge with a few choice backports and then ... Is ipset available as a Debian package or in a Debian package. ... it is needed for some of the functionality of Shorewall. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Basic C and C++ Package
    ... problem, I had to do a rebuild of my system, losing everything I had. ... Debian package, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: do I need SELinux?
    ... Could you try restorecon /etc/ld.so.cache? ... And then try the sudo command? ... Dan ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
    (Fedora)