无法安装 AMD 显卡驱动程序

无法安装 AMD 显卡驱动程序

我刚刚从旧的 BackTrack 5 安装切换到 Kubuntu 安装。遗憾的是,我无法安装 AMD 图形驱动程序。在我的 BT5 安装中一切顺利,但我的 Kubuntu 安装缺少安装它们所需的东西。这是我的日志:

Check if system has the tools required for installation.
fglrx installation requires that the system have kernel headers.  /lib/modules/3.13.0-24-generic/build/include/linux/version.h cannot be found on this system.
fglrx installation requires that the system has gcc tool. 
gcc 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.

我通过 安装了 gcc sudo apt-get install gcc。一切顺利,但我不知道从哪里获取其他东西。有人能帮我解决这个问题吗?

另外,我已经从 AMD 主页为我的 4xxx 显卡下载了这些驱动程序。然后我将其解压缩以接收 *.run 文件,并通过键入 打开此文件sudo ./ati-xxx.run

答案1

您还需要安装内核头文件。为此,只需使用++ctrl打开终端并输入以下命令:altt

sudo apt-get install linux-headers-$(uname -r)

如果您没有安装任何 make-tools 或 autoconf/autotools,您还必须输入:

sudo apt-get install build-essential

相关内容