downloaded my kernel's source....i need to extract it, how?
i just downloaded my kernel's source (2.4.22-10mdk) cuz i needed it to install some drivers. it came in .src.rpm format. how do i go about extracting it (only extracting it, no need to install it again right?) into the /usr/src folder?
thx! Apu |
"rpm -i <name of file>" should do the trick.
Noah |
but if i do rpm -i <nameoffile>.rpm wont it install it? cuz i already have that kernel, i just need the source files to be copied to my /usr/src directory
|
Installing a source rpm works the same way as installing a tarball. So, just use rpm to install the source, and you should be fine.
Noah |
woot! thx for the replies!
Apu |
So, it works now?
Noah |
i havent tried it yet, but im 99% sure it'll work...im on xp pro now workin on some school crap :cry:
ill try it later and ill post if any problems arise.... thx again! Apu |
See Maximum RPM for all the stuff for rpms. I think you need a flag --buildpkg or something like that. Also see:
man rpm info rpm An easier way: Configure your package manager (urpmi in command line, but easier to use and control than the clicky thingy front end) and install/uninstall with that. uname -r urpmi kernel-sources # I have Linux installed, now how do I work some stuff like some software and file managers? # I can't figure out what software I want and how to install/uninstall it The table of equivalents, replacements, analogs of Windows software in Linux # Find software here Freshmeat Sourceforge rpmfind # Guides to software management LNAG - How do I install a program I downloaded from the Internet? Rute Guide's software explanation You might want to check out CheckInstall to manage source code installations/uninstallation # File managers Midnight Commander Gentoo file manager ROX-Filer # Mandrake links Mandrake home page Mandrake Users website Easy urpmi config for Mandrake urpmi mini-HOWTO All You Ever Wanted to Know About Urpmi But Never Dared Asking Before Maximum RPM rpmfind You didn't install the developmental packages? As root, command: urpmi gcc An Introduction to the Midnight Commander. You can install it by commanding: urpmi mc Midnight Commander home page |
You can use midnight commander to view or extract files from rpms.
|
hmmm....i just tried rpm -i kernel-2.4.22.10mdk-1-1mdk.src.rpm and it gave me these two error messages
warning: user nplanel does not exist - using root warning: group nplanel does not exist - using root its asking for a user nplanel? what the hell :p anyone know why this might've happened? thx! Apu |
Developer's name, probably, if not found, it uses root. I have seen that a lot of times.
|
All times are GMT -5. The time now is 06:49 AM. |