labk.blogg.se

Yum list installed
Yum list installed





You then do "sudo yum update", and it so happens that package foo has an update. All packages were installed by root, including package foo. The clue for me was using the "sudo yum history summary" command. Here is what I believe is happening with that command: I think the answer to that is yes and no.

yum list installed yum list installed

run through the yum history database, getting the info for all packages and pulling out the ones that it shows were explicitly installed (or dependencies, whichever one you are wanting at the wonder if 'yumdb search reason user' really failed. Sea might be on the right track with his script, though. No way to differentiate between the two with yum list installed. It lists all packages that have been installed, dependants pulled in and explicitly installed ones. The yum list installed command does indeed give you the packages installed, but there is no way to list just the packages that were explicitly installed. As far as I am aware of, nothing would pull that in as a dependency, but yet it shows up in the reason = dep list, and I am certain I explicitly installed it.Īlso, packages installed using rpm don't even show up in either list.īut, it is a lot closer than anything else I have found so far. The one package I requested to be installed, and three more pulled in as dependencies.Īlso had quite a few on the reason = dep list that I specifically installed, too. You can do it by transaction, but to get a complete list, I don't know how to do it.įor example, here is one here where I installed pcmanfm, and it pulled in a few dependencies. Yum keeps track of what got installed, and what was installed as a dependency, I just don't know of a way to list what you are wanting.

yum list installed

Yum does store the information you are looking for in it's history database, but I know of no way to get yum to list just the info you want.







Yum list installed