Install package on Debian without root

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Install package on Debian without root

Post by Ambush Commander »

I'm currently using DreamHost, which allows shell access. Of course, they don't give you root. I have little to no experience using Unix systems... and now...

::sighs::

I have a debian package named lilypond_2.6.3-9_i386.deb. What I would like to do is install it inside my user directory, and then updating my Path so that a call for a program would look inside that directory. Once again, I don't have root.

I ran this command:

Code: Select all

dpkg --extract lilypond_2.6.3-9_i386.deb ./
And it created a usr/bin folder with a few binaries in it. So I try executing a binary...

Code: Select all

[fig]$ lilypond
lilypond: error while loading shared libraries: libguile.so.12: cannot open shared object file: No such file or directory
Dependencies... ugh. Any idea where I should go from here (Debian's automatic dependency checking won't help me... argh...)
d_d
Forum Commoner
Posts: 33
Joined: Wed Jul 07, 2004 4:56 pm
Location: UK

Post by d_d »

I guess you are stuck manually downloading the dependancies and extracting them the same way. You may then need to change the LD_LIBRARY_PATH environment variable to point to the libs.
However I have little experience with debian, perhaps you can just use apt-get to install to your home dir.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

There is also an apt-get source.. Which can come in handy ;)
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

LD_LIBRARY_PATH sounds promising. I'll take a whack at it.
Post Reply