[svlug] Using RPM
Randy J. Ray
rjray at redhat.com
Wed Mar 14 13:22:02 PST 2001
>> When I query rpm:
>>
>> %> rpm -qa | grep gcc ...or... %> rpm -q gcc
>>
>> ...rpm reports that "package gcc is not installed".
On some of the RH distributions, the compiler was in the egcs package,
rather than in a "gcc". Instead, try this:
% which gcc
/usr/bin/gcc
% rpm -qf /usr/bin/gcc
gcc-2.96-69
(My system is a fairly current RHL 7 box).
Also, you don't "install" a source RPM in the sense that you do a binary
(or noarch) RPM. Source RPMs are only used to create the installable
packages, so there wouldn't be anything in the rpm database for them.
Randy
--
-------------------------------------------------------------------------------
Randy J. Ray | Buy a copy of a baby naming book and you'll never be at a
rjray at redhat.com | loss for variable names. Fred is a wonderful name, and easy
+1 408 543-9482 | to type. --Roedy Green, "How To Write Unmaintainable Code"
More information about the svlug
mailing list