Redhat / CentOS Linux list all packages available for installation

in Categories , , last updated August 27, 2007

Q. How do I list all packages available for installation from Internet using Red Hat Enterprise Linux or CentOS 5?

A. You can yum command and it has option to show a list of all packages that are not presently installed and can be installed via RHN or Internet.
yum list available
yum list available | less
yum list available | grep package
yum list available “pacakge”

A note about RHEL <= version 4.0

If you are using RHEL v4.0 or old version, use up2date command:
up2date --show-available

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Share this on (or read 1 comments/add one below):

1 comment

    Have a question? Post it on our forum!