Previous Section  < Day Day Up >  Next Section

Recipe 2.17. Getting Information on Installed Packages with Yum

2.17.1 Problem

You want to know what packages are installed on your system, or get information about specific packages.

2.17.2 Solution

Use Yum's querying commands. To list all installed packages, use:

# yum list installed

To search for specific packages, use:

# yum list installed | grep -i tux

tuxracer    i386        0.61-23

tuxkart     i386        0.2.0-3

To show information on a package, use:

# yum info tuxracer

To show packages with available updates, use:

# yum list updates

2.17.3 Discussion

You can get all the same information using RPM queries, but Yum does it a little more easily.

2.17.4 See Also

    Previous Section  < Day Day Up >  Next Section