[Yum] Installing devel pkgs

Frank Murphy frankly3d at gmail.com
Tue Jun 8 12:35:32 UTC 2010


On 08/06/10 12:44, Seth Vidal wrote:
>> I want to install devel pkgs, for all installed rpms.
>>
>> Have tried:
>> rpm -qa | yum install *-devel*
>> rpm -qa | yum install '*-devel*'
>>
>> Is there some option I am overlooking.
> 
> you want something closer to:
> 
> 
> for pkg in `rpm -qa`
> do
> installlist="$installlist ${pkg}-devel"
> done
> yum install $installlist
> 
> give that a try.
> 
> -sv
> 

Nearly there

it tries to install eg:
kernel-xx-xx-xx-x86_64-devel


-- 
Regards,

Frank Murphy
UTF_8 Encoded
Friend of Fedora


More information about the Yum mailing list