On Wed, Apr 25, 2001 at 10:40:45PM +1000, Terry Collins wrote:

> I want to check my understanding of RH rpm and where it installs stuff.

Source RPMs (i.e. *.src.rpm) are installed under /usr/src/redhat. 
Binary RPMs can be installed anywhere.  For a list of the files in an
RPM, run `rpm -qpl rpm_file_name' for an uninstalled package, and `rpm
-ql package_name' for an installed package.

> If I install the kernel-2.2.16*.rpm, then I would expect that it would
> be installed under /usr/src/linux-2.2.16. 

The kernel source is installed there, but the binaries are in /boot. 

> I basically need to get all the sources for my RH system installed for a
> kernel rebuild.

There are several kernel packages.  From my newly installed RH7.0 box:

[johnc@dropbear ~]# rpm -qa |grep -E '^kernel'
kernel-ibcs-2.2.19-7.0.1
kernel-2.2.19-7.0.1
kernel-headers-2.4.0-0.26
kernel-pcmcia-cs-2.2.19-7.0.1
kernel-utils-2.2.19-7.0.1
kernel-doc-2.2.19-7.0.1
kernelcfg-0.6-9
kernel-source-2.2.19-7.0.1

`kernel-source' is the package you want, and it's installed under
/usr/src/linux-2.2.19/


Cheers,

John
-- 
whois [EMAIL PROTECTED]

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to