LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to fill-in : /usr/src (https://www.linuxquestions.org/questions/linux-software-2/how-to-fill-in-usr-src-48332/)

shankariyer 03-04-2003 11:15 PM

how to fill-in : /usr/src
 
Howdy,

I'm a newbie to Linux.

I've Mandrake 9.0 I've to install some software, for which it expects to find the source files in /usr/src.

I have this directory empty as I think, since I installed it from a downloaded copy and while doing so, I think I didn't opt to dump the core files.

Now I've a stable version up and running. But how can dump the source files in this directory, as though they were installed during the 1st time.

Is there any risk involved as I'm not sure what all would be touched in doing so.

Any guidance is deeply appreciated. Thanks.

shankar.

m0rl0ck 03-04-2003 11:58 PM

you probably need to install:

kernel-source-2.4.19-16mdk
kernel-headers-2.4.18-41mdk

This wil install the kernel source in /usr/src/linux

rch 03-05-2003 01:25 AM

Re: how to fill-in : /usr/src
 
Quote:

Originally posted by shankariyer
Howdy,

I'm a newbie to Linux.

I've Mandrake 9.0 I've to install some software, for which it expects to find the source files in /usr/src.

I have this directory empty as I think, since I installed it from a downloaded copy and while doing so, I think I didn't opt to dump the core files.

Now I've a stable version up and running. But how can dump the source files in this directory, as though they were installed during the 1st time.

Is there any risk involved as I'm not sure what all would be touched in doing so.

Any guidance is deeply appreciated. Thanks.

shankar.

do you mean to ask about installing source of the software
get the source rpm (usually ends with src.rpm) of the program
i downloaded red hat 7.3 and cd 4/5 were the source cd
now just rpm -ivh programname.rpm
the sources get installed to /usr/src/redhat/SOURCES/
keep posted


All times are GMT -5. The time now is 12:31 PM.