LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-05-2003, 12:15 AM   #1
shankariyer
Member
 
Registered: Feb 2001
Location: California, USA
Distribution: Ubuntu 6.10[ HP Pavilion dv6000z ]
Posts: 165

Rep: Reputation: 30
Question 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.

Last edited by shankariyer; 03-05-2003 at 12:16 AM.
 
Old 03-05-2003, 12:58 AM   #2
m0rl0ck
Member
 
Registered: Nov 2002
Distribution: A totally 133t distro :)
Posts: 358

Rep: Reputation: 31
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
 
Old 03-05-2003, 02:25 AM   #3
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/usr/src SeattleSux Linux - Newbie 3 12-23-2004 11:29 PM
/usr/src/linux not there? blames Linux - Software 6 10-15-2004 07:06 AM
/usr/src/??? iain.ross Linux - Software 5 08-24-2004 03:18 PM
/usr/src ??? gibbylinks Red Hat 1 10-24-2003 04:05 AM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration