Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 62503

Yellowdog Updater Modified (yum) is an interactive, rpm based, package manager.

70
votes
it here for others to find easier. yum list installed PACKAGE_NAME This command returns some human-readable output, but more importantly returns an exit status code; 0 indicates the package is … installed, 1 indicates the package is not installed (does not check whether the package is valid, so yum list installed herpderp-beepbopboop will return a "1" just as yum list installed traceroute will if …
answered Apr 2 '14 by Doktor J
67
votes
5answers
package I don't want to uninstall it out from under them. How can my script tell whether a package has been previously installed via yum? …
asked Apr 2 '14 by Doktor J