LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 01-05-2012, 10:20 PM   #1
mfoley93
LQ Newbie
 
Registered: Nov 2011
Location: Cleveland
Distribution: I haven't decided
Posts: 10

Rep: Reputation: 0
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
 
Old 01-05-2012, 11:26 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,309

Rep: Reputation: 139Reputation: 139
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.
 
1 members found this post helpful.
Old 01-05-2012, 11:50 PM   #3
John VV
Guru
 
Registered: Aug 2005
Posts: 12,840

Rep: Reputation: 1710Reputation: 1710Reputation: 1710Reputation: 1710Reputation: 1710Reputation: 1710Reputation: 1710Reputation: 1710Reputation: 1710Reputation: 1710Reputation: 1710
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
 
Old 01-10-2012, 04:25 PM   #4
nonamedotc
Member
 
Registered: Mar 2011
Posts: 343

Rep: Reputation: Disabled
Post 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.
 
  


Reply

Tags
fedora, package, package manager, software, yum


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
uninstall software ( those not installed by yum/rpm) sn68 Linux - Desktop 5 09-08-2006 02:36 PM
Viewing SSL Certificates already installed. omahakid Linux - Security 1 05-05-2006 02:57 PM
viewing all of yum list ben_build#2.1.0 Fedora 2 05-18-2004 10:06 AM
Viewing Installed software Files.. Anup Kumar Linux - Newbie 2 02-25-2004 02:26 PM
viewing installed package athenerx Linux - Newbie 1 07-30-2001 06:33 AM


All times are GMT -5. The time now is 11:31 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration