Thanks Devon for the correction. Now, how can I uninstall the wrong package? I
tried rpm -e kernel-2.4.2-2.src.rpm, but it cannot find
kernel-2.4.2-2.src.rpm.

Thank you.

Devon wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Tuesday 04 December 2001 12:07 am, YH wrote:
> > Hi,
> >
> > I tried to load kernel source code from the RH CD. Running rpm -ivh
> > kernel-2.4.2-2.src.rpm seems fine, but there is no source code being
> > installed on the machine. The /usr/src only contains a directory
> > redhat, under the redhat, there is no .c and .h files in SOURCE
> > subdirectory, but many .patch files. What was wrong?
> 
> That's probably not the package you really want to install.
> If your trying to compile your own kernel, you'll want to install
> kernel-source-2.4.2-2.i386.rpm. That will install the source files under
> /usr/src/linux-2.4/ (Which is a symlink to the actual version number,
> /usr/src/linux-2.4.2-2 in this case)
> There are more recent versions available, as well. I have:
> # cat /etc/redhat-release
> Red Hat Linux release 7.1 (Seawolf)
> # rpm -qa | grep kernel
> kernel-2.4.9-12
> kernel-2.4.9-6
> kernel-source-2.4.9-12
> kernel-headers-2.4.9-12
> 
> Hope that helps,
> 
> - -D
> 
> - --
> 
> pgp key:  http://www.tuxfan.homeip.net:8080/pgpkey.txt
> 
> - --
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iD8DBQE8DGABeMAUbzJhSVcRAq2TAJ9S1X4H1fh8jM3W0dQFJXm2bAHFFQCgp2fF
> UEIAgAErGLjMhHBmoejFWNo=
> =PIHF
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Seawolf-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/seawolf-list



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to