Any way to install .deb packages without giving root access?
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Any way to install .deb packages without giving root access?
Is there any way to install .deb packages without giving root access?
That it, I have root access, but I dont to give root access to the .deb package.
This is for instance to install the .deb of SipderOak online backup took, or to install the .deb of openoffice.
Whenver available, I compile from sources, but sometimes only the .deb is available.
You can extract the package and then ready the pre and post install scripts (if it has any)
Code:
ar x foo.deb
tar xzf control.tar.gz
Then look at the files postinst and preinst (and perhaps prerm and postrm). These are the dangerous files since they will be run as root as part of the package installation (removal) procedure.
You didn't check the package page, have you? Example (in this case, the openoffice.org-base package)
Sorry, my openoffice example was for the deb downloaded directly from openoffice.org (openoffice in Lenny is 2.4).
Also, I am assuming that the packages in http://packages.debian.org/lenny are trustable, my concern is for packages outside.
Is there a utility that will show me the file list as in that page for any .deb, downloaded from anywhere?
Last edited by wearetheborg; 08-04-2010 at 06:59 PM.
Only the method already described by Evo2, via the Control file. With your level of anxiety (even paranoia), if you don't know what that's all about and/or don't want to read up on it, installing .deb packages from 3rd parties is not for you. Expecting a GUI package for this kind of research (that's what I conclude you're after) is also a bit futile...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.