[plug] rpm commands

Luke Dudney plug at apophis.net
Tue Oct 8 15:13:55 WST 2002


Richard wrote:

>I have just installed RedHat 8 on my system, but due to the Kyro2 chipset on 
>my graphics card I have to install specific drivers to get x working. Since 
>the rpm's are not upto rh8 yet, I'm using the source rpm's. In Mandrake the 
>command I use is rpm --rebuild <driver.src.rpm>, but in redhat I get an error 
>message that the command --rebuild does not exist. I have looked through the 
>list, using --help, but I can't see anything relating to src building. Could 
>someone tell me what command would work to build the rpm file on redhat 
>instead of --rebuild?
>
>
>  
>
In RedHat 8.0, all the build commands have been removed from 'rpm' and 
placed into 'rpmbuild'

So, where
$ rpm --rebuild x.src.rpm
used to work, now you must use
$ rpmbuild --rebuild x.src.rpm

This caught me out for quite a while after installing 8.0, too.

Cheers
Luke




More information about the plug mailing list