# Example of installing a package from source

**URL:** <https://discourse.chef.io/t/example-of-installing-a-package-from-source/1214>\
**Category:** Chef Infra (archive)\
**Created:** [June 24, 2009, 3:30am UTC](https://discourse.chef.io/t/example-of-installing-a-package-from-source/1214 "2009-06-24T03:30:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon49489642](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@anon49489642](https://discourse.chef.io/u/anon49489642)\
**Post date:** [June 24, 2009, 3:30am UTC](https://discourse.chef.io/t/example-of-installing-a-package-from-source/1214/1 "2009-06-24T03:30:49Z")

</div>

Can anyone point me at an example of how to download/compile/install a  
package from source?

I often do this when a version supplied by a distro doesn’t include  
functionality I want. I generally only need it for faster moving  
projects but back in 2006 I was compiling apache to take advantage of  
mod\_proxy\_balancer that wasn’t available in dapper.

thanks,

Mike

---

<div class="post-metadata">

**Author:** ![Michael\_Hale](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.chef.io/michael_hale/32/834_2.png) [@Michael\_Hale](https://discourse.chef.io/u/Michael_Hale)\
**Post date:** [June 24, 2009, 4:04am UTC](https://discourse.chef.io/t/example-of-installing-a-package-from-source/1214/2 "2009-06-24T04:04:32Z")

</div>

On Tue, Jun 23, 2009 at 11:30 PM, Mike Bailey[mike@bailey.net.au](mailto:mike@bailey.net.au) wrote:

> Can anyone point me at an example of how to download/compile/install a  
> package from source?

Try the ruby\_enterprise cookbook from Sean Cribbs:

> <https://github.com/seancribbs/cookbooks/blob/d0e29248533e58365201ed2cd63a2cd78b78f557/ruby_enterprise/recipes/default.rb>

> I often do this when a version supplied by a distro doesn't include  
> functionality I want. I generally only need it for faster moving  
> projects but back in 2006 I was compiling apache to take advantage of  
> mod\_proxy\_balancer that wasn't available in dapper.
> 
> thanks,
> 
> Mike

---

<div class="post-metadata">

**Author:** ![anon49489642](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@anon49489642](https://discourse.chef.io/u/anon49489642)\
**Post date:** [June 24, 2009, 4:18am UTC](https://discourse.chef.io/t/example-of-installing-a-package-from-source/1214/3 "2009-06-24T04:18:37Z")

</div>

Just what I was looking for. Thanks!

- Mike

On Wed, Jun 24, 2009 at 2:04 PM, Michael Hale[mikehale@gmail.com](mailto:mikehale@gmail.com) wrote:

> On Tue, Jun 23, 2009 at 11:30 PM, Mike Bailey[mike@bailey.net.au](mailto:mike@bailey.net.au) wrote:
> 
> > Can anyone point me at an example of how to download/compile/install a  
> > package from source?
> 
> Try the ruby\_enterprise cookbook from Sean Cribbs:
> 
> [cookbooks/ruby\_enterprise/recipes/default.rb at d0e29248533e58365201ed2cd63a2cd78b78f557 · seancribbs/cookbooks · GitHub](http://github.com/seancribbs/cookbooks/blob/d0e29248533e58365201ed2cd63a2cd78b78f557/ruby_enterprise/recipes/default.rb)
> 
> > I often do this when a version supplied by a distro doesn't include  
> > functionality I want. I generally only need it for faster moving  
> > projects but back in 2006 I was compiling apache to take advantage of  
> > mod\_proxy\_balancer that wasn't available in dapper.
> > 
> > thanks,
> > 
> > Mike
