Getting error : make: *** /lib/modules/2.6.31-20-generic/build: No such file or directory on Ubuntu 9.1

6,634

This site gives a better solution/copy-paste code line to get the proper headers: http://www.cyberciti.biz/faq/howto-install-kernel-headers-package/

sudo apt-get update && sudo apt-get install linux-headers-$(uname -r)
Share:
6,634

Related videos on Youtube

user36637
Author by

user36637

Updated on September 17, 2022

Comments

  • user36637
    user36637 over 1 year

    When trying to install my WiFi card's driver on Ubuntu 9.1, I run the make command and get the following error:

    make: *** /lib/modules/2.6.31-20-generic/build: No such file or directory
    

    Any ideas how to fix this?

  • user36637
    user36637 about 14 years
    thanks for replying but that didn't work , can you advice some other package