View Full Version : RPM install: Where did it go?
15th March 2006, 03:07 AM
Where does my rpm get installed to?
I have a source RPM.
Where does it get installed?
rpm -ivh kernel-2.6.11-1.1369_FC4.stk16.src.rpm
15th March 2006, 03:12 AM
Source RPMS are used mainly for rebuilds for different archs -- Like building for i386, x86_64, ppc, etc. It usually will install the files needed for a rebuild to /usr/share/src/redhat.
You can run
rpmbuild -ba /usr/share/src/redhat/SPECS/filename.spec
rpm -Uhv rpm_result.rpm
To build & install your own binary. Just replace filename.spec with the .spec file for your kernel in /usr/share/src/redhat/SPECS and rpm_result.rpm with the RPM path it gives you at the end: (The output looks like this, it's near the last new lines)
15th March 2006, 03:27 AM
I'm trying to get my wireless card working in Fedora. I'm trying to use ndiswrapper. Following the installation directions from http://ndiswrapper.sourceforge.net/mediawiki/index.php/Installation, tells me I have to have the kernel source linked in /lib/module/<myversion>/build
I installed the new stk16 kernel and ran rpm to install the source for stk16. I thought the source would be in /usr/src/kernels but it is not. Fromn your post I would think it is in /usr/src/redhat/SOURCES but the directory looks totally different than that in /usr/src/kernels/<myversion>.
Is there a rpm option to tell me where the rpm file will be installed?
15th March 2006, 03:29 AM
Don't bother. Just do:
yum install kernel kernel-devel
and the source will be installed.
15th March 2006, 06:38 PM
This will do what? Install a developer's release of FC5 or FC4? And this will have ndiswrapper preinstalled?
15th March 2006, 09:54 PM
This will install the kernel (installed already but there for the sake of it) and the kernel source (that you want for your ndiswrapper)
FYI livna (http://rpm.livna.org) has ndiswrapper kernel module RPMS availible through yum after the proper configuration:
rpm -ihv http://rpm.livna.org/livna-release4.rpm
yum install ndiswrapper kernel-module-ndiswrapper-$(uname -r)
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.