Re: Re: upgrading RPM query

From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: Alan Gutierrez <alangutierrez(at)hotmail(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Re: upgrading RPM query
Date: 2001-08-14 17:39:29
Message-ID: 01081413392902.01006@lowen.wgcr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Monday 13 August 2001 22:28, Alan Gutierrez wrote:
> Gary Stainburn wrote:
> > At the risk of starting to stray OT for this list, how do you go about
> > installing SRPMS - I've never done anything like that before.

> An easier way to do this would be to download the postgresql tarball.

Nope. If you have enough to recompile the tarball, you just (as root):
rpm --rebuild postgresql-x.y.z-rPGDG.src.rpm

Make a dump of the old database at this point, if upgrading...

cd /usr/src/redhat/RPMS/i386 (or whichever architecture you have)
rpm -Uvh whichever-rpms-you-want.i386.rpm

It's easier -- much easier -- to rebuild from source via RPM than to build
and hand install from tarball, if you don't need too custom of a setup.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2001-08-14 17:58:31 Re: ever growing pkey files
Previous Message Lamar Owen 2001-08-14 17:35:06 Re: upgrading RPM query