LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing source code of the kernel (https://www.linuxquestions.org/questions/linux-software-2/installing-source-code-of-the-kernel-161487/)

vasanthraghavan 03-23-2004 03:33 PM

Installing source code of the kernel
 
Hi,
i went to the Redhat Linux website and downloaded kernel-2.4.20-8.src.rpm (to /home/vasanth in my workstation). then i went to this directory location /home/vasanth and did:

rpm -i kernel-2.4.20-8.src.rpm

however the output message was:

warning: kernel-2.4.20-8.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: cannot write to %sourcedir /usr/src/redhat/SOURCES

could someone in this forum explain the reason for this? any help would be great.
Thank you.

andrewlkho 03-23-2004 03:48 PM

Did you run that as root? It sounds like you don't have the correct permissions for this.

vasanthraghavan 03-23-2004 04:14 PM

no. now,after logging in as "su", it went through. still the warning message came but it had installed linux-2.4.20.tar.bz2 in /usr/src/redhat/SOURCES.
one of my questions is:
did: "rpm -i kernel-2.4.20-8.src.rpm" do anything to my Redhat software or system which is already there? or did it just expand the src package and put the contents of the package in /usr/src/redhat/SOURCES? did it put the contents in any other location also?
my intent is just to browse the kernel source code, and no intention to modify or compile the existing kernel.
i want to ask this question before untarring the "linux-2.4.20.tar.bz2".
Thank you.


All times are GMT -5. The time now is 01:56 AM.