Feed on
Posts
Comments

if you don’t have a sudo account that doesn’t mean that you won’t be able to compile and install code from source.  it turns out that all you need to do is set the prefix ./configure flag to a directory that you’ve got write-access to, and then you’re set to go.  i found this extremely helpful while i was trying to install a copy of subversion (svn) on a machine that i didn’t have an administrator’s account on.  here’s an example of what i mean:

>
> ./configure –prefix=/my_home_directory/src/svn

>
> make

>
> make install

(found initially on subversion.tigris.org message forums)


Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

One Response to “how to compile and install from source without root access”

  1. on 19 Jun 2008 at 7:05 am John Doereg

    Nice one!

Did I get this wrong? Let me know!

Trackback URI | Comments RSS

More blogs about http://desk.stinkpot.org:8080/tricks.