Re: Installing devel pkgs
Seth Vidal <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 8 Jun 2010, Frank Murphy wrote:
> 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
>
and it should not be able to find that and not throw a fit about it.
-sv