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:

> Using Fedora Rawhide.
>
> 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
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.