Any way to install .deb packages without giving root access?

Discussion in 'all things UNIX' started by wearetheborg, Aug 4, 2010.

Thread Status:
Not open for further replies.
  1. wearetheborg

    wearetheborg Registered Member

    Joined:
    Nov 14, 2009
    Posts:
    667
    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.
     
  2. GlobalForce

    GlobalForce Regular Poster

    Joined:
    Jun 30, 2004
    Posts:
    3,581
    Location:
    Garden State, USA
    Aside from the responses you've received elsewhere, a few ideas.
     
  3. GlobalForce

    GlobalForce Regular Poster

    Joined:
    Jun 30, 2004
    Posts:
    3,581
    Location:
    Garden State, USA
    Hey if you've got a fast machine with enough memory - compiling shouldn't be a problem. Course you'll need the headers ....
     
  4. wearetheborg

    wearetheborg Registered Member

    Joined:
    Nov 14, 2009
    Posts:
    667
    Thanks, I forgot to say that whenver sources are available, I compile and do local install; this query is for when only the binary is available.
     
  5. lotuseclat79

    lotuseclat79 Registered Member

    Joined:
    Jun 16, 2005
    Posts:
    5,390
    Haven't you ever tried from a user account to use sudo in front of the command that installs the .deb package? For example, some .deb packages really need root access to install.

    $ sudo dpkg -i <nameofpackage.deb>

    The above command works great and will install any .deb package that needs root access without the user having to switch into the root account to issue the dpkg command to do the install. Its very much like "run as", but for the root permissions.

    -- Tom
     
  6. Ocky

    Ocky Registered Member

    Joined:
    May 6, 2006
    Posts:
    2,713
    Location:
    George, S.Africa
  7. wearetheborg

    wearetheborg Registered Member

    Joined:
    Nov 14, 2009
    Posts:
    667
    Yeah, as I mentioned in the OP, I want to avoid giving root access/permissions to the .deb package in case it installs some malware in the system.

    I received this reply which kinda addresses the security issue.
    http://www.linuxquestions.org/quest...ithout-giving-root-access-824207/#post4056080
     
    Last edited: Aug 9, 2010
Thread Status:
Not open for further replies.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.