LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 02: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, 03:21 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,337

Rep: Reputation: 65
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
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, 05:46 PM   #4
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,196

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

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

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

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
Open Source Consulting | Domain Registration