LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-27-2004, 12:52 AM   #1
Akonbobot
Member
 
Registered: Nov 2004
Distribution: Debian, Fedora, Puppy
Posts: 43

Rep: Reputation: 15
Install kernel-source with YAST...


Hi.

With SUSE 9.1 is it possible to install the kernel sources with YAST?.

The current kernel that YAST wants to update to is:
kernel-default-2.6.5-7.111.i586.rpm

I need to have the kernel sources on the disk for other programs.
I think it is this: kernel-source-2.6.5-7.111.src.rpm

Question:
How do I use YAST to install the kernel sources?
I've made a new ftp mirror source installation directory but when I try and install the
sources they are not in the /usr/src/packages/SOURCES when finished.

Could someone please explain how to acomplish installing the
kernel sources with YAST?

Also, does one have to patch an older kernel 'first' before installing the
sources, or do you install the kernel sources first and then patch the
sources separately?
 
Old 11-27-2004, 08:25 PM   #2
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Rep: Reputation: 33
Are you saying you don't have a cd with the kernel-source on it? If this is the case, go to suse.com and pick a mirror close to you and download the rpm for kernel-source for 9.1. Then run YOU so it can update the sources to match the kernel you have.

Edit to answer one of your questions: kernel-source is in /usr/src not /usr/src/packages/SOURCES.

Last edited by pilotgi; 11-27-2004 at 08:30 PM.
 
Old 11-28-2004, 09:42 AM   #3
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
kernel-source-2.6.5-7.111.src.rpm is not the package you want! The 'real' source package is kernel-source-2.6.5-7.111.i586.rpm

All packages with 'src' are also source packages, but more complicated to use

If you have 9.1 Personal, the kernel source is not on your medium, so you need to add a FTP server to your installation sources, or download the sources directly from the server. Since you are using an updated kernel, you'll find the correct sources in the 'update' directory of the server, not the standard path (eg. ftp.suse.com/pub/suse/i386/update/9.1/rpm )
 
  


Reply



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
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 09:17 AM
10.1 install kernel and kernel-source different - build fails Feebles Mandriva 2 06-10-2005 06:58 PM
Adding an FTP install source to Yast mykrob Linux - Software 5 03-25-2005 06:14 PM
how to give source address to yast to install a rpm? milad126 SUSE / openSUSE 2 11-15-2004 06:09 AM
installed kernel source with YAST, kernel not there alagenchev SUSE / openSUSE 1 11-14-2004 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 01:44 AM.

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
Open Source Consulting | Domain Registration