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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-09-2004, 02:29 PM
|
#1
|
LQ Newbie
Registered: Jun 2004
Location: Stillwater, OK
Distribution: Debian, Redhat
Posts: 11
Rep:
|
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
|
|
|
07-09-2004, 03:21 PM
|
#2
|
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,337
Rep:
|
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 
|
|
|
07-09-2004, 03:40 PM
|
#3
|
Member
Registered: Feb 2004
Posts: 467
Rep:
|
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
|
|
|
10-11-2004, 05:46 PM
|
#4
|
LQ Guru
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,196
|
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
|
|
|
All times are GMT -5. The time now is 03:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|