LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-21-2003, 03:37 PM   #1
Poe
LQ Newbie
 
Registered: Jun 2003
Distribution: Slacware 9.0
Posts: 4

Rep: Reputation: 0
no /usr/src/linux dir ??!!


Installed Slackware 9.0 last night and got a decent install, but still need to get network configured so I can download grub and nvidia geForce4 drivers. In tracking down the problem I saw in dmesg that my kernel doesn't support hi mem, so I thought I'd recompile using DaOne's excellent resource on this forum (thanks DaOne). Only to discover:

I don't have a /usr/src/linux directory!

????

Used bare.i during install. Skipped LILO and the network card probe (locks up my system) during install, but otherwise followed default selections.

How can I recompile the kernel? Any advice?

I'll call myself pre-newbie since I've only been at this a week or two.

THANKS.
 
Old 06-21-2003, 03:50 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
install the kernel source. i assume there is a slack package for it, and once installed that's where it will be.
 
Old 06-21-2003, 03:55 PM   #3
Poe
LQ Newbie
 
Registered: Jun 2003
Distribution: Slacware 9.0
Posts: 4

Original Poster
Rep: Reputation: 0
Excellent advice, Chris. Thanks.

So here comes the newbie part: just how do I do that?

THANKS.
 
Old 06-21-2003, 04:31 PM   #4
Poe
LQ Newbie
 
Registered: Jun 2003
Distribution: Slacware 9.0
Posts: 4

Original Poster
Rep: Reputation: 0
Oops. Never mind. STFW Newbie!

No sources on the slackware cd (unless I really don't know what I'm doing!) So I'll have to download. Back to the networking issues....

Thanks anyways
 
Old 06-21-2003, 04:31 PM   #5
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
You install a Slackware package with (as root):

installpkg pkgname.tgz

remove:
removepkg pkgname.tgz

upgrade:
upgradepkg pkgname.tgz

See a pattern: man pkgtool , man installpkg, man removepkg


Search the forums. People ask for where the kernel source is 3 times a day.

Package here: ftp://ftp.gwdg.de/pub/linux/slackwar...0-noarch-5.tgz
 
Old 06-21-2003, 05:02 PM   #6
Poe
LQ Newbie
 
Registered: Jun 2003
Distribution: Slacware 9.0
Posts: 4

Original Poster
Rep: Reputation: 0
Looks like we were posting at the same time, contrasutra.

Learned my lesson about searching the web first. Thanks for the assistance, nevertheless.
 
Old 06-21-2003, 05:33 PM   #7
contrasutra
LQ Guru
 
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 46
No problem.

Enjoy Slack, you will never go back.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/usr/src/linux millennia DamnSmallLinux 6 07-24-2004 01:48 PM
kernel compile - no /usr/src/linux dir epoo Linux - General 2 02-18-2004 09:33 PM
where is /usr/src/linux matt_w_lambert Mandriva 5 12-26-2003 12:29 AM
/usr/src/linux? krackerroot Slackware 6 10-26-2003 02:31 PM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 03:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration