PDA

View Full Version : usr/src contains nothing



Legomax
19th August 2006, 07:00 PM
i was working on installing a Nvidia driver that had me going through folders, and much to my dismay, src in usr contains nothing. any ideas?

baschti
19th August 2006, 07:10 PM
hi,
maybe you missed to install the sources? ;)
if you need the kernel sources (headers), just type:
yum install kernel-devel to a shell as root

baschti
19th August 2006, 07:18 PM
...and, are you sure you have a good reason why you don't just install pre-build kernel modules,
like
yum install knod-nvidia would do? (livna repositry needed)

Legomax
19th August 2006, 07:20 PM
lol! forgot to mention... the nvidia driver im installing will allow me to use the internet (so right now yum is useless!)

Legomax
19th August 2006, 07:29 PM
and besides, i like learning from the process of going through this stuff...

baschti
19th August 2006, 07:29 PM
uh... :D

then go to a shell, type "uname -r", to get to know your kernel version
and search for a ftp server at http://fedora.redhat.com/Download/mirrors.html, download the matching kernel-devel package (either in core or updates, depending on the version..)

then copy this rpm to your linux box and type "rpm -i packagename.rpm" as root

Legomax
19th August 2006, 07:36 PM
yay helpful ppl! wait... srry im noob, wuts a shell???

Seve
19th August 2006, 07:40 PM
wuts a shell???
Hello:
He /she is referring to opening a terminal
Seve

Legomax
19th August 2006, 07:40 PM
nevermind... terminal thingy right? er command line...

Legomax
19th August 2006, 07:41 PM
srry i am new, i dont refer to it as that yet

baschti
19th August 2006, 07:47 PM
if you are using gnome search the apps for "gnome-terminal", if you are using kde search the apps for "console" (if think in both you can just right-klick on the desktop, to find a terminal/shell)
to become root type "su -"

if you really are a noob it would be much easier to search the web or this forum for pre-build packages!!!
but feel free to go on, building the packages on your own! you can only learn from that ;)

baschti
19th August 2006, 08:00 PM
..and to learn the "basics" http://www.fedorafaq.org/ will be a good point to start
(but it seems like this site is down at the moment)

Legomax
19th August 2006, 08:07 PM
im not using my fedora cp... this runs on windows.

Legomax
19th August 2006, 08:07 PM
i want to use my fedora cp

Legomax
19th August 2006, 09:13 PM
does kernel 2.6.... have that kernel's devel in it?

Seve
19th August 2006, 09:21 PM
does kernel 2.6.... have that kernel's devel in it?
Hello:
No it is a separate rpm for FC5
You can browse the main repo here if you like : http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/i386/

You can always download the kernel and matching kernel-devel and transfer them to your FC5 intsall /home/username
then
open a terminal in FC and log in as root using
su -
password
cd /home/username
then
rpm -ivh *.rpm
and you wil have both the new kernel and the matching kernel-devel installed

Seve

Legomax
19th August 2006, 09:44 PM
ummm.. not to sound completely and totally retarded, but my version of FC5 is x86_64. do i get kernel-2.6.15-1.2054_FC5.src or kernel-2.6.15-1.2054_FC5.x86_64 (i only found devel for 64bit)? :confused: :confused: :confused:

Seve
19th August 2006, 09:50 PM
ummm.. not to sound completely and totally retarded, but my version of FC5 is x86_64. do i get kernel-2.6.15-1.2054_FC5.src or kernel-2.6.15-1.2054_FC5.x86_64 (i only found devel for 64bit)? :confused: :confused: :confused:
Hello:
Sorry, did not realize you were running x86_64
I should have directed you to this page: http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/x86_64/
It doesn't matter what kernel you choose as long as it has a matching kernel-devel and src rpm if you require it.
If you need the source rpms you can find them here: http://download.fedora.redhat.com/pub/fedora/linux/core/updates/5/SRPMS/
Seve

Legomax
19th August 2006, 10:03 PM
thx seve, but how do you answer like almost all of the questions anyone asks? and do you like my sig?

Seve
20th August 2006, 01:14 AM
thx seve, but how do you answer like almost all of the questions anyone asks? and do you like my sig?Hello:
Well ....... I just pick the ones I have a clue on. :) or at least a partial clue :)
and Yes I like your sig.
Good luck and enjoy FC5 :)
Seve