Redhat / CentOS Linux list all packages available for installation

by Vivek Gite · 0 comments

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

Featured Articles:

Want to read Linux tips and tricks, but don't have time to check our blog everyday? Subscribe to our daily email newsletter to make sure you don't miss a single tip/tricks. Subscribe to our weekly newsletter here!

{ 0 comments… add one now }

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous FAQ:

Next FAQ:

nixCraft FAQ PDF Collection Now Available To All