我最近安装了 Kali GNU/Linux Rolling,但无法安装我的图形驱动程序,我按照这个关联
一路上遇到了一些错误,但这一个仍然没有解决。当我按下安装按钮时,会出现以下情况:
cat /usr/share/ati/fglrx-install.log
Supported adapter detected.
Check if system has the tools required for installation.
fglrx installation requires that the system have kernel headers for
greater than 3.6 release.
/lib/modules/4.6.0-kali1-amd64/build/include/generated/uapi/linux/version.h cannot be found on this system.
One or more tools required for installation cannot be found on the system. Install the required tools before installing the fglrx driver.
Optionally, run the installer with --force option to install without the tools.
Forcing install will disable AMD hardware acceleration and may make your system unstable. Not recommended.
但uname -r
告诉我我有 4.6.0-kali1-amd64,因此我很困惑。
答案1
您必须添加到您的/etc/apt/sources.list
文件中(来源):
deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free
然后更新存储库并安装标头:
sudo apt-get update
sudo apt-get install linux-headers-$(uname -r)