LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Viewing installed software in yum. (http://www.linuxquestions.org/questions/fedora-35/viewing-installed-software-in-yum-922318/)

mfoley93 01-05-2012 11:20 PM

Viewing installed software in yum.
 
I recently decided to give the Fedora 16 KDE spin a try after reading good things about it. I am coming from Arch and rather like that pacman tells me which packages are already installed on my system when I run:
Code:

#pacman -Ss keyword
I was wondering if there is any way to make yum tell me which packages are already installed when I run something like:
Code:

#yum search keyword

kilgoretrout 01-06-2012 12:26 AM

There probably is a yum based command to do that. But on any rpm based distro you can search for installed packages with:

# rpm -qa | grep keyword

rpm -qa lists all installed packages and piping that output to a grep search accomplishes what you want.

John VV 01-06-2012 12:50 AM

have you read the yum help page or the man page ?

your question is answered in them
Code:


su-
yum --help
-- then this ---
man yum


nonamedotc 01-10-2012 05:25 PM

some info ..
 
This will give you the information you are seeking ..

Code:

yum info package-name
This will tell you whether it is installed or it is available in the repository. The downside is it will not display packages installed manually (without using yum). The man page gives more information as John VV has indicated.


All times are GMT -5. The time now is 01:12 AM.