How to check what packages are installed on a RHEL5 system?

23,867

Solution 1

Long ago I would have just used

$ rpm -qa

and possibly piped it through more. Looks like is still works.

Solution 2

dmckee's answer works perfectly well.

$ yum list installed

also works. No special privileges required.

Solution 3

rpm -qa --last >~/RPMS_by_Install_Date

this will also give you a list of when they were installed as well ... the file will be made in your home dir.

Share:
23,867

Related videos on Youtube

netvope
Author by

netvope

Updated on September 17, 2022

Comments

  • netvope
    netvope almost 2 years

    A command that can be run by an unprivileged user is preferred.