Guest SpruceMoose Posted May 12, 2005 Report Share Posted May 12, 2005 Hi, I'm trying to install my kernel source, on a machine without an internet connection. I found 2 files, I'm wondering which is the correct one to use, and what's the difference. 40780203 May 12 11:28 kernel-2.6.8.1.12mdk-1-1mdk.src.rpm 44834068 May 12 11:32 kernel-source-2.6-2.6.8.1-12mdk.i586.rpm Also, when I boot up, it says I'm on an i686...does that make any difference? Any help appreciated, thanks, SpruceMoose [moved from Software by spinynorman - welcome aboard :)] Link to comment Share on other sites More sharing options...
ianw1974 Posted May 12, 2005 Report Share Posted May 12, 2005 (edited) To check which kernel you're running, type the following: uname -r This will then output what is currently active. There doesn't seem to be a kernel source for i686, so I would assume that you would install the kernel source you found already. Make sure it matches your existing kernel! The one that mentions "source" in it is your kernel source. The other, is another kernel version (i586). Edited May 12, 2005 by ianw1974 Link to comment Share on other sites More sharing options...
Guest SpruceMoose Posted May 12, 2005 Report Share Posted May 12, 2005 Thanks for your reply. uname -r gives me 2.6.8.1-12. The file that mentions "source" also mentions "i586"...but I think you're right, that's the one to use regardless...there isn't a version that mentions i686. If I was using urpmi (which I'm not because that machine isn't connected to the internet) I would be looking for kernel-source-2.6.8.1xxxxxxx.rpm I'm assuming the i586 file is valid for i686 as well. Anyone have any ideas what kernel-2.6.8.1.12mdk-1-1mdk.src.rpm is for? Thanks, SpruceMoose Link to comment Share on other sites More sharing options...
pmpatrick Posted May 12, 2005 Report Share Posted May 12, 2005 (edited) That's a source rpm which is part of the rpm package management system. It allows you to rebuild an rpm package if you can't find a prebuilt rpm for your CPU architecture. It can also help resolving dependency problems if, for example, the orignal rpm was built on a computer with some different library versions than you have. To make a new rpm from the source rpm, you run: # rpmbuild --rebuild packagename.src.rpm and that will generate a new rpm named "packagename.rpm" which can be installed. Also, i586 rpms( as well as i386) will run fine on i686. Edited May 12, 2005 by pmpatrick Link to comment Share on other sites More sharing options...
Guest SpruceMoose Posted May 12, 2005 Report Share Posted May 12, 2005 Excellent, thanks for your help. SpruceMoose. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now