Fedora: kernel-source not found

statik213

Golden Member
Oct 31, 2004
1,654
0
0
Where can I find the kernel-source package to install? I need it to install some touchscreen drivers.
Tried googling but kernel and source end up being two keywords giving horrible results.... Any help would be appreciated.
Not sure if there is even a package called kernel-source. This is what I get from the installer:
[root@bench egalax]# ./touchkit.setup.sh
(*) Extract files from [./touchkit.setup.sh] to [/tmp/touchkit]
(*) Start installer [/tmp/touchkit/setup]

=== TouchKit for Linux Installer ===

(Step 1) Check Packages Installed
[Common]
make OK (make-3.80-7)
tcl OK (tcl-8.4.9-3)
tk not found
[Required for Full Mode]
gcc OK (gcc-4.0.0-8)
glibc-devel OK (glibc-devel-2.3.5-10)
kernel-source not found
 

xcript

Diamond Member
Apr 3, 2003
8,258
2
81
# yum install kernel-source

You may need to specify the kernel-source version (depending on which kernel you're currently running).

# yum install kernel-source-2.6.x-x.x
 

statik213

Golden Member
Oct 31, 2004
1,654
0
0
OK, got a newb question, when I run uname -r, I get this:
2.6.11-1.1369_FC4

So what's my kernel version? 2.6.11-1.1 or 2.6.11-1.13 or 2.6.11-1.136 or 2.6.11-1.1369?
Tried the whole thing, and:
No Match for argument: kernel-source-2.6.11-1.1369_FC4
 

xcript

Diamond Member
Apr 3, 2003
8,258
2
81
It might be kernel-devel that you want. Try:

# yum install kernel-devel-`uname -r`

Sorry, I'm not very familiar with Fedora. :)
 

statik213

Golden Member
Oct 31, 2004
1,654
0
0
[root@bench X11]# yum install kernel-devel-`uname -r`
Setting up Install Process
Setting up repositories
updates-released 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 121 kB 00:01
updates-re: ################################################## 346/346
Added 28 new packages, deleted 0 old in 2.32 seconds
Parsing package install arguments
Nothing to do

Didn't work either, but thanks a lot for the help thus far..... lemme try apt w/ kernel-source
 

statik213

Golden Member
Oct 31, 2004
1,654
0
0
nope:

[root@bench X11]# yum install kernel-source-`uname -r`
Setting up Install Process
Setting up repositories
updates-released 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 120 kB 00:01
updates-re: ################################################## 338/338
Added 0 new packages, deleted 8 old in 1.99 seconds
Parsing package install arguments
No Match for argument: kernel-source-2.6.11-1.1369_FC4
Nothing to do
[root@bench X11]# apt-get install kernel-source-`uname -r`
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package kernel-source-2.6.11-1.1369_FC4
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
start with "yum list kernel-devel"

You'll get:
kernel-devel.i586
kernel-devel.i686

Or at least that's what I get. "yum install kernel-devel" should be sufficient for installation.
 

statik213

Golden Member
Oct 31, 2004
1,654
0
0
OK, "yum install kernel-devel" is installing.... will let you know if it works.,....
 

statik213

Golden Member
Oct 31, 2004
1,654
0
0
well the stupid install script still says that kernel-source is not installed but it gives me the option to continue, make halted when it couldn't find x-lib-devel, after installing that I was able to install the driver despite the reported error.

It works great, I guess they really meant kernel-devel....

Thx for the help!