# Re: Installing as non-root

**URL:** <https://www.ruby-forum.com/t/re-installing-as-non-root/82694>\
**Category:** Ruby-Gnome 2\
**Created:** [January 19, 2007, 7:38pm UTC](https://www.ruby-forum.com/t/re-installing-as-non-root/82694 "2007-01-19T19:38:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emmanuel\_T](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/c5a1d2/32.png) [@Emmanuel\_T](https://www.ruby-forum.com/u/Emmanuel_T)\
**Post date:** [January 19, 2007, 7:38pm UTC](https://www.ruby-forum.com/t/re-installing-as-non-root/82694/1 "2007-01-19T19:38:38Z")

</div>

Hello,

Kouhei S. wrote:

> > Is it possible to install ruby-gnome2 as a normal user, in  
> > my home directory somewhere, without touching “/”?
> 
> Try DESTDIR environment variable:
> 
> % DESTDIR=$HOME/local make install  
> Thank you for the tip! Actually it doesn’t quite work, but with a bit  
> more work, in the end it does. If you do that, you get the files in  
> ~/local/usr/local/lib/site\_ruby. By moving them to ~/local/lib/site\_ruby  
> it doesn’t quite yet work. At that point it complains that it cannot  
> find gtk2.so.  
> At that point I copied the contents of  
> /home/emmanuel/local/lib/site\_ruby/1.8/i486-linux in  
> /home/emmanuel/local/lib/site\_ruby/1.8 and now it works.

Anyway, I wouldn’t have made it without your tip, so thank you.  
Otherwise I think that this should be supported by default, it’s very  
useful. Actually I think noone except package managers should install in  
/ generally.

Thanks a lot again! Now I can go back coding 🙂

emmanuel

* * *

Take Surveys. Earn Cash. Influence the Future of IT  
Join [SourceForge.net](http://SourceForge.net)’s Techsay panel and you’ll get the chance to share  
your  
opinions on IT & business topics through brief surveys - and earn cash  
[http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV](http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV)
