You need to have the Linux kernel source installed for this driver
Q. When I try to compile and install a driver downloaded from other website I get the error message:
You need to have the linux kernel source installed for this driver
How do I fix this problem and how do I install Linux kernel source code?
A. You need to install kernel source code and most important kernel headers in order to compile a driver or module.
The kernel headers are necessary if you require to install a driver for Nvidia, ndiswrapper, Cisco VPN, Vmware, Wireless card and many other drivers. If a driver requires kernel sources, it may be sufficient to install only the kernel headers.
Find running kernel version
First find out running kernel version, by typing:
$ uname -r
Output:
2.6.20-15-generic
Task: Install Kernel source and headers for Redhat Enterprise Linux or CentOS Linux
Use command to install both kernel source code and headers, enter:
# up2date kernel-source kernel-devel
If you are using RHEL/CentOS 5 or Fedora core, try:
# yum install kernel-source kernel-devel
Task: Download Kernel source code for running kernel
You can visit official Linux kernel website and install source code
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Linux / UNIX FAQ:
- Redhat enterprise Linux / CentOS installing kernel source code
- Debian / Ubuntu linux install kernel headers package
- CentOS Linux install kernel headers to build vmware / 3rd party modules
- How do I upgrade the kernel in Linux without compiling from source code?
- Patch and Update Redhat Enterprise Linux / CentOS 5 server
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Please do not use the comment form to ask for help / question. Ask your question on the excellent Linux tech support forum. Thank you very much for stopping by our site!
~ Last updated on: May 7, 2007



Recent Comments
Today ~ 46 Comments
Yesterday ~ 2 Comments
Yesterday ~ 9 Comments
Yesterday ~ 2 Comments
Yesterday ~ 1 Comment