環境 CentOS release 6.7 (Final) $sudo yum install dkms --enablerepo=epel Error: Package: dkms-2.2.0.3-30.git.7c3e7c5.el6.noarch (epel) Requires: kernel-devel $sudo yum install kernel-devel No package kernel-devel available. /etc/yum.conf の exclude=kernel* を消すという記事はあちちでみかけましたが,そもそも yum.confにその行がない。 解決方法 /etc/yum.repos.d/CentOS-Vault.repo [C6.5-base] enabled=1 [C6.5-updates] enabled=1 としたら $sudo yum i