Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-09-2004, 02:29 PM   #1
LQ Newbie
Registered: Jun 2004
Location: Stillwater, OK
Distribution: Debian, Redhat
Posts: 11

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

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.


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

Rep: Reputation: 64
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, 03:40 PM   #3
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
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
tar -xjvf kernel-source-<version>.tar.bz2
If you want a list of other available kernels, type
apt-cache search kernel-source
Old 10-11-2004, 05:46 PM   #4
Senior Member
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,487

Rep: Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627Reputation: 627

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.



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

All times are GMT -5. The time now is 12:49 AM.

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