PPRuNe Forums - View Single Post - RedHat Linux question
View Single Post
Old 20th June 2004 | 08:23
  #2 (permalink)  
Evo
20 Anniversary
 
Joined: Sep 2002
Posts: 1,650
Likes: 0
From: Chichester, UK
OK, as nobody else has answered...

First off, i'm a bit confused by

I'm downloading the SRPM iso files as I type . . .
.iso files are for burning onto CD, SRPMs are source RPMs. I'd expect you to get something called filename.src.rpm.

Assuming you have got a .src.rpm, become root, then type

rpmbuild --rebuild filename.src.rpm

this will build the package and, assuming the build worked, it will create filename.rpm - it may be somewhere like /usr/src/packages/RPMS or in the working directory, depends what RedHat are doing these days. The build output should give you a hint as to where the rpm was created. Go there, then type

rpm -ivh filename.rpm

Which should say something like

Preparing... ######################## [100%]
1: filename ######################## [100%]

And there you go
Evo is offline