View Full Version : RPM install: Where did it go?
AwesomeA
15th March 2006, 03:07 AM
Where does my rpm get installed to?
I have a source RPM.
Where does it get installed?
I ran:
rpm -ivh kernel-2.6.11-1.1369_FC4.stk16.src.rpm
Firewing1
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
su -
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)
+Wrote: /path/to/the/new/rpm
+Wrote: /path/to/the/new/rpm
Firewing1
AwesomeA
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?
Firewing1
15th March 2006, 03:29 AM
Don't bother. Just do:
yum install kernel kernel-devel
and the source will be installed.
Firewing1
AwesomeA
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?
Firewing1
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:
su -
rpm -ihv http://rpm.livna.org/livna-release4.rpm
yum install ndiswrapper kernel-module-ndiswrapper-$(uname -r)
Firewing1
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.