Ask Your Question

How to know wich packages are installed when i make a search with yum or dnf?

asked 2015-02-22 04:49:15 -0500

medeo75TL gravatar image

Use case: I want to install some plymouth themes

I do "yum search plymouth"

yum show me a list of packages, that's good. But it doesn't show me wich one is already installed on my system. So i can end with ask to install packages that are already on my system. That's a waste of time and keypress...

edit retag flag offensive close merge delete


you can use yumex to display all plymouth packages and easily determine which ones are already there....

florian gravatar imageflorian ( 2015-02-22 11:58:43 -0500 )edit

6 Answers

Sort by » oldest newest most voted

answered 2015-02-22 05:49:54 -0500

Classic gravatar image

updated 2015-02-22 06:45:02 -0500

You can try yum list *plymouth* Output will show you which packages already installed & which are not, yum list available *plymouth* will show you only not-installed packages with plymouth word in the name.

Don't sure that you can exclude installed packages from yum search.

edit flag offensive delete link more

answered 2016-06-09 08:44:50 -0500

Ægir Örn gravatar image

dnf list installed

edit flag offensive delete link more


add some search term at the end to filter the results: dnf list installed <package>

zelphir gravatar imagezelphir ( 2016-09-26 07:50:47 -0500 )edit

$ dnf list installed | grep <package>

to filter results with search term. zelphir's command just displays exact matches.

b4tg5s gravatar imageb4tg5s ( 2017-11-06 10:10:32 -0500 )edit

answered 2015-02-22 23:50:49 -0500

ipomoeba gravatar image
  • rpm -qa | grep -i foo

this output will show you all foo packages installed in system

edit flag offensive delete link more

answered 2015-10-24 05:02:35 -0500

xyz gravatar image

whether fedora provides all packges during installation-yes or no if yes plz list packages

edit flag offensive delete link more

answered 2015-02-22 08:38:41 -0500

cobra gravatar image

The system will not install a package if it's already there. How can this be a waste of time and keypresses? Surely it's quicker to do

yum install plymouth

and select 'y' when prompted than to get a list of the packages that the yum command would install, then install them all manually one by one.

If you want to see which packages will be installed by the operation, just do the yum install [package] and read down the output list for what changes are about to be applied before you confirm the install.

edit flag offensive delete link more

answered 2015-02-22 23:51:03 -0500

davidva gravatar image

Other way using pkcon...


pkcon search name plymouth
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-02-22 04:49:15 -0500

Seen: 36,093 times

Last updated: Feb 22 '15