librelist archives

« back to archive

How do you install older formulas?

How do you install older formulas?

From:
Kevin Tran
Date:
2010-12-19 @ 06:30
I am trying to install postgres 8.x and postgis for use with Django.  
The current postgresql formula install version 9.x.

I found a blog post that shows how to use an older version of a  
formula (postgresql8).
http://scottw.com/installing-postgresql-8-via-homebrew

This worked fine and I now have postgres 8.4.4 installed in my Cellar.

How can I get at the older version of the postgis formula? The postgis  
formula depends on the postgresql formula which has now been updated  
to version 9.x so when I do "brew install postgis" it downloads  
version 9 of postgresql (the thing I don't want). How can I get a copy  
of postgis that works with my version 8 of postgres?

Re: [homebrew] How do you install older formulas?

From:
Mike McQuaid
Date:
2010-12-19 @ 20:45
On 19 December 2010 06:30, Kevin Tran <hekevintran@gmail.com> wrote:
> How can I get at the older version of the postgis formula?

Look in the git history on Github. Homebrew takes URL arguments so the
older version may work for you.

>The postgis formula depends on the postgresql formula which has now been 
updated to
> version 9.x so when I do "brew install postgis" it downloads version 9 of
> postgresql (the thing I don't want). How can I get a copy of postgis that
> works with my version 8 of postgres?

The above should work however we don't generally provide anything
except the latest versions of packages.

-- 
Mike McQuaid
http://mikemcquaid.com

Re: [homebrew] How do you install older formulas?

From:
Kevin Tran
Date:
2010-12-19 @ 22:32
I see.  So basically git is being used as the package database? That's  
pretty smart.

On Dec 19, 2010, at 12:45 PM, Mike McQuaid wrote:

> On 19 December 2010 06:30, Kevin Tran <hekevintran@gmail.com> wrote:
>> How can I get at the older version of the postgis formula?
>
> Look in the git history on Github. Homebrew takes URL arguments so the
> older version may work for you.
>
>> The postgis formula depends on the postgresql formula which has now  
>> been updated to
>> version 9.x so when I do "brew install postgis" it downloads  
>> version 9 of
>> postgresql (the thing I don't want). How can I get a copy of  
>> postgis that
>> works with my version 8 of postgres?
>
> The above should work however we don't generally provide anything
> except the latest versions of packages.
>
> -- 
> Mike McQuaid
> http://mikemcquaid.com

Re: [homebrew] How do you install older formulas?

From:
Mike McQuaid
Date:
2010-12-20 @ 15:06
On 19 December 2010 22:32, Kevin Tran <hekevintran@gmail.com> wrote:
> I see.  So basically git is being used as the package database? That's
> pretty smart.

I agree. Good idea on Max's part.


-- 
Mike McQuaid
http://mikemcquaid.com