how to compile and install from source without root access
February 27th, 2008 by Lawrence David
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)
Nice one!