我用命令用於Linux頭卡里的linux seacrching
apt-cache search linux-headers
來搜索信息,但是它不返回任何 我已經使用
apt-get update
apt-get upgrade
apt-get dist-upgrade
和我uname -r
回報4.9.0
如果我使用
apt-get install linux-headers-$(uname -r)
它說,包沒有被發現水珠.....等
幫我安裝Linux-頭
如果內核是由發行版提供的,它通常有相應的版本後綴。由於「4.9.0」沒有這樣的後綴,它看起來像這個內核已經被手動構建*。所以發行版中沒有包提供它的頭文件。 – Tsyvarev