Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I tell the version of a package after doing a yum search?


yum search rabbitmq


rabbitmq-server.noarch : The RabbitMQ server

I need to know the version of this server.

share|improve this question
up vote 18 down vote accepted

You can find the version number of a package in your repositories with the yum info command.

# yum info rabbitmq-server
Available Packages
Name        : rabbitmq-server
Arch        : noarch
Version     : 2.6.1
Release     : 1.fc16
Size        : 1.1 M
Repo        : updates
Committer   : Peter Lemenkov <>
Committime  : Tue Nov  8 13:00:00 2011
Buildtime   : Tue Nov  8 10:31:03 2011
Summary     : The RabbitMQ server
URL         :
License     : MPLv1.1
Description : RabbitMQ is an implementation of AMQP, the emerging standard for high
            : performance enterprise messaging. The RabbitMQ server is a robust and
            : scalable implementation of an AMQP broker.

To find the version numbers of installed packages, you can use rpm with the -q option.

# rpm -q kernel
share|improve this answer
my version is much older...which repo are you using? – DD. May 2 '12 at 14:16
I ran this command on my Fedora 16 laptop, but the command applies to any system with yum and rpm, such as RHEL or CentOS. – Kenny Rasschaert May 2 '12 at 17:18
I'm running Centos 6 but my repo looks there a way to update it? – DD. May 3 '12 at 10:16
The EPEL repositories ( also offer RabbitMQ-server 2.6.1 in their repository for CentOS/RHEL 6. Here's a guide to get you going: – Kenny Rasschaert May 3 '12 at 10:51

You can get more info with the following command:

yum info rabbitmq
share|improve this answer


yum list rabbitmq

if you prefer condensed output.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.