Installing CUDA 7.5 on CentOS 7 - Unable to locate the kernel source
来源:互联网 发布:八旗军战斗力 知乎 编辑:程序博客网 时间:2024/06/11 10:04
First of all, all of this is done as root. I've been trying to install the CUDA 7.5 drivers on a CentOS 7 SATA DOM. The issue I'm running into is the following:
Installing the NVIDIA display driver...The driver installation is unable to locate the kernel source. Please make sure that the kernel source packages are installed and set up correctly.If you know that the kernel source packages are installed and set up correctly, you may pass the location of the kernel source with the '--kernel-source-path' flag.
I have tried to point to the kernel source path (I may be pointing to the wrong path; I'm a new Linux user) with the following command:
$ ./cuda_7.5.18_linux.run --kernel-source-path=/usr/src/kernels/3.10.0-327.18.2.el7.x86_64
Same issue as before. I've read online that other people with this issue is due to kernel version mismatch. That, however is not the case:
$ uname -r3.10.0-327.18.2.el7.x86_64$ rpm -q kernel-devel kernel-headerskernel-devel-3.10.0-327.18.2.el7.x86_64kernel-headers-3.10.0-327.18.2.el7.x86_64$ ls /usr/src/kernels3.10.0-327.18.2.el7.x86_64$ ls /usr/src/kernels/3.10.0-327.18.2.el7.x86_64/arch block crypto drivers firmware fs include init ipc Kconfig kernel lib Makefile mm Module.symvers net samples scripts security sound System.map tools usr virt vmlinux.id
I've also tried to install different versions of gcc and still no dice.
centos 7.2
sudo yum install epel-releaseyum install --enablerepo=epel dkms
centos 7.1
rpm -Uvh http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm
update epel,yum install --enablerepo=epel dkms will be ok
0 0
- Installing CUDA 7.5 on CentOS 7 - Unable to locate the kernel source
- ubuntu14.04.5装cuda7.5记录(解决unable to locate the kernel source,装cuda黑屏问题,装cuda循环登录问题)
- virtualbox安装centos 6 增强工具提示“Unable to find the kernel source tree for the currently running kernel”
- Installing CUDA Toolkit 5.0 on CentOS 6.4
- Installing Xen on CentOS 6 from source
- How to solve “Unable to run mksdcard SDK tool” when installing Android Studio on CentOS
- unable to locate a constructor on class ..
- Unable to locate appropriate constructor on class
- Unable to locate appropriate constructor on class
- Unable to locate Attribute with the the given name [XXXXX] on this ManagedType
- Unable to locate the Javac Compiler
- Unable to locate the Javac Compiler 解决办法
- Unable to locate the Javac Compiler
- Maven Unable to locate the Javac Compiler
- Installing PDO_MYSQL on CentOS (the easy way)
- Installing Jenkins on Centos 7
- Installing WRF on CentOS 7
- Yii 错误Unable to locate message source for category 'common;
- Hive表中四种不同数据导出方式以及如何自定义导出列分隔符
- IOI2007 矿工配餐
- 简述JAVA集合框架
- Java 8 Stream 如何还原为集合
- Gentoo Linux安装详解--根据官方WiKi整理
- Installing CUDA 7.5 on CentOS 7 - Unable to locate the kernel source
- 蓝牙协议分析1
- 1分钟彻底理解C语言指针的概念
- hdu 1505 city game(1506加强版)dp
- adb shell dumpsys可以查看30多种信息。
- AlarmManager 的使用
- lhgDialog窗口组件
- Linux中iptables命令介绍
- reinforcement learning,增强学习:Policy Gradient