LinuxQuestions.org
Register a domain and help support LQ
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 07-09-2004, 01:29 PM   #1
ashishuttarwar
LQ Newbie
 
Registered: Jun 2004
Location: Stillwater, OK
Distribution: Debian, Redhat
Posts: 11

Rep: Reputation: 0
Angry debian installation problem /usr/src


Hi,
Actually, I have some confusion regarding Debian. Wherever I read, it is stated that the Debian image should be in /usr/src folder which is not the case in my system. I tried installing it again, I know that it will not help, but just to make sure. Still it shows just an "RPM" folder in the /usr/src. Which is I guess for RedHat OS.

Actually I am new to this compiling the kernel stuff and have to compile the kernel to install "COMEDI" driver in order to make my data acquisition board work with the system.

I will appreciate some help from you guys in this matter.

Thanx.

Ashish
 
Old 07-09-2004, 02:21 PM   #2
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
Hi there ashishuttarwar!!!

You are actually looking for a package called the kernel-source. You could either download a new one, move and uncompress to /usr/src and compile it, or give a shot'n the dark and type:

apt-get install kernel-source

as root, to see how it goes
 
Old 07-09-2004, 02:40 PM   #3
comp12345
Member
 
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
There are many different kernel versions. If you want to compile the "COMEDI" driver for your current running kernel, then
Code:
apt-get install kernel-source-`uname -r`
It will install the kernel source package in /usr/src. It will be called kernel-source-<version>.tar.bz2. Extract the source files
Code:
tar -xjvf kernel-source-<version>.tar.bz2
If you want a list of other available kernels, type
Code:
apt-cache search kernel-source
 
Old 10-11-2004, 04:46 PM   #4
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 4,067

Rep: Reputation: 491Reputation: 491Reputation: 491Reputation: 491Reputation: 491
ashishuttarwar,

I have posted another thread about Comedi installation in Debian. There is not much information about kernel compiling in that post, but it might be of use anyway.

jlinkels
 
  


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/??? iain.ross Linux - Software 5 08-24-2004 02:18 PM
/usr/src/linux/debian/changelog mehlkelm Debian 2 07-09-2004 07:36 AM
/usr/src ??? gibbylinks Red Hat 1 10-24-2003 03:05 AM
No sources in /usr/src after Installation opa_munster Linux - Newbie 3 07-31-2003 01:07 AM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 03:24 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration