PDA

View Full Version : how to add the core source repo to the list of repo ?



mounterriver
28th October 2006, 09:53 PM
I am trying to install the kernel source. However, the core source repo is not
in my list of repos on my system as shown below

ls /etc/yum.repos.d/
fedora-core.repo fedora-extras-development.repo fedora-legacy.repo fedora-updates-testing.repo livna-devel.repo livna-testing.repo
fedora-development.repo fedora-extras.repo fedora-updates.repo freshrpms.repo livna.repo


how to add the core source repo to the list of repo ?

I download the kernel source manually for the installation of nvidia driver.

however,
rpm -ihv kernel-2.6.18-1.2798.fc6.src.rpm
1:kernel warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root

The kernel source is not installed after this and
the nvidia can not find the kernel source.

markkuk
28th October 2006, 11:19 PM
Building driver modules like the nvidia one requires the kernel-devel package, not the kernel-*.src.rpm. "yum install kernel-devel" is the command you need.

mounterriver
28th October 2006, 11:52 PM
Thanks markkuk

I made a mistake in the i585 and i686 issue in the kernel...