[CentOS] rpmforge repo for centos5

Tue May 8 17:46:00 UTC 2007
Mark Hull-Richter <mhullrich at gmail.com>

On 5/8/07, MrKiwi <mrkiwi at gmail.com> wrote:
> Ralph Angenendt wrote:
> > MrKiwi wrote:
> >> <snip>
> >> rpmforge_version=rpmforge-release-0.3.6-1.el5.rf.i386.rpm
> >> wget
> >> http://dag.wieers.com/rpm/packages/rpmforge-release/$rpmforge_version
> >> rpm -Uhv $rpmforge_version
> >
> > Uhm.
> >
> > Why not
> >
> > rpm -Uvh http://dag.wieers.com/rpm/packages/rpmforge-release/$rpmforge_version
> >
> > directly?
> >
> > Ralph
> >
> >
> Good question - i said the same when i saw it on a site and
> tried to consolidate wget + rpm into a one line command.
>
> The problem (from memory) is that rpm -Uvh blah.rpm does not
> handle redirections nicely (is that a return code of 302?
> from memory) however wget is a champ at that sort of thing.
>
I went to http://dag.wieers.com/rpm/FAQ.php#B, copied the line for my
release and executed it.  Worked perfectly.  For CentOS 5.0 on x86_64,
that's:

rpm -Uhv http://apt.sw.be/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm

-- 
Mark Hull-Richter
DATAllegro (www.datallegro.com)
85 Enterprise, Second Floor, Aliso Viejo, CA  92656
949-680-3082 - Office     949-330-7691 - fax