Redhat / CentOS Linux list all packages available for installation

Posted on 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 and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

1 comment

Leave a Comment