Page 1 of 1

Install package on Debian without root

Posted: Mon Nov 07, 2005 10:41 pm
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...)

Posted: Sun Nov 20, 2005 2:54 am
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.

Posted: Sun Nov 20, 2005 7:52 am
by timvw
There is also an apt-get source.. Which can come in handy ;)

Posted: Sun Nov 20, 2005 8:32 am
by Ambush Commander
LD_LIBRARY_PATH sounds promising. I'll take a whack at it.