Re: Installing devel pkgs

Frank Murphy <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.