What are Linux "kernel headers" and how do I install them?
-
I am completely new to Linux. I search on google every now and then to figure out how to proceed. I was installing Graphics drivers for ATI Radeon 7450M Catalyst (64 bit) when I get this error in the log file >> fglrx installation requires that the system have kernel headers. /lib/modules/3.4.6-2.10-desktop/build/include/linux/version.h cannot be found on this system. When I proceed to find "version.h", I find that I have several folderes inside ../modules/ , which inside ../linux/ have version.h but the 3.4.6-2.10 folder in /modules/ doesn't even have the "build" folder. What do I do now ? P.S. : I googled the issue for hours, but without luck. Perhaps it fixed the issue with other kernel versions, which I have installed.
-
Answer:
Kernel headers are used to compile various kernel modules, such as the graphics card driver you are trying to install. Like other header files in source code, kernel headers declare various functions, variables and data structures, in this case the API provided by the Linux kernel. Assuming you are familiar with package management, install the kernel-desktop-devel package, according to http://forums.opensuse.org/english/get-technical-help-here/applications/456189-how-find-kernel-headers.html. sudo zypper in -t pattern kernel-desktop-devel This will bring in other dependencies which are commonly used in building kernel modules (which may or may not be needed by AMD's drivers). Perhaps just linux-kernel-headers could be enough.
Murukesh Mohanan at Quora Visit the source
Related Q & A:
- How can I install node.js module using phantom, instead of npm?Best solution by Stack Overflow
- How can I install ".deb" file for mobile user?Best solution by Ask Ubuntu
- How do I install Linux on PS3?Best solution by Yahoo! Answers
- How do I install a dell 920 without an install CD?Best solution by Yahoo! Answers
- How can I install MSN on Linux?Best solution by addictivetips.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.