You are right, but you can also do it all in one command like
#rpm -Uvh kernel-doc-2.6.5-1.358.root.i386.rpm kernel-source-2.6.5-1.358.root.i386.rpm etc,
so that any dependencies are automatically sorted out. Are you trying to build a kernel from a source rpm. If so just wondering where the newly built kernel is.
|