Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want a list of installed packages requested by the user, excluding those installed as dependencies. This is on a CentOS 5 machine and the packages were installed using yum. I am attempting to reconstruct what rpms were necessary to build a particularly large amount of source code.

For example, if yum install net-snmp-devel were run the list would not include elfutils-libelf-devel-static installed as a dependency of net-snmp-devel.

share|improve this question

package-cleanup --leaves --all will list all non-dependant packages. This lists both packages requested directly by the user, and packages which were installed with the operating system.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .