Originally posted by shankariyer
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.
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/