# Installing bdb to local directory

**URL:** <https://www.ruby-forum.com/t/installing-bdb-to-local-directory/57042>\
**Category:** Ruby\
**Created:** [April 6, 2006, 7:52pm UTC](https://www.ruby-forum.com/t/installing-bdb-to-local-directory/57042 "2006-04-06T19:52:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![notmatt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f6c823/32.png) [@notmatt](https://www.ruby-forum.com/u/notmatt)\
**Post date:** [April 6, 2006, 7:52pm UTC](https://www.ruby-forum.com/t/installing-bdb-to-local-directory/57042/1 "2006-04-06T19:52:39Z")

</div>

Is there a way to install bdb in particular and other Ruby C  
extensions in general to a non-default directory? For instance, when  
you don’t have admin privileges.

I couldn’t find any relevant arguments for extconf, and documentation  
on mkmf and/or altering rbconfig.rb (which struck me as not a bad  
idea) is pretty sparse.

thanks,  
matthew smillie.

---

<div class="post-metadata">

**Author:** ![notmatt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/f6c823/32.png) [@notmatt](https://www.ruby-forum.com/u/notmatt)\
**Post date:** [April 7, 2006, 1:10am UTC](https://www.ruby-forum.com/t/installing-bdb-to-local-directory/57042/2 "2006-04-07T01:10:55Z")

</div>

Matthew S. wrote:

> Is there a way to install bdb in particular and other Ruby C extensions  
> in general to a non-default directory? For instance, when you don’t  
> have admin privileges.

Matthew,

Check out this script of mine… it may help you figure out what you  
need:

```
 http://waits.net/~swaits/go.sh

```

–Steve
