Where to download specific kernel headers?

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

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

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.