3

Problem to install Linux headers

view full story
linux-howto

http://www.linuxforums.org – Hi all, I have ubuntu 9.04 I have compiled kernel 2.6.32 and I compiled it from some directory other than /usr/src, for example /home/user/active_kernel/ I run these commands to compile kernel >(after setting .config file with make menuconfig) make make modules_install make install Everything worked fine, system boots. Now I wanted to install nvidia drivers and it wants kernel headers, so I looked how to install kernel headers and I found this: sudo apt-get install linux-headers-$(uname -r) But when I run this I get: Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package linux-headers-2.6.32 When I run 'uname -r' I get 2.6.32 I know that linux headers contain definitions for linux kernel files, so what is the procedure to install them for specific kernel version ? Can it be done off line, download headers and install manually ?? Thanks (HowTos)