Can yum show different versions of packages?

In a few situations I need to install an older version of a package.  But the question is always what is the actual version that is available in the repo?

This is how I went about getting a list of versions

yum --showduplicates list httpd

It tells you install packages and available packages for installation

Installed Packages
httpd.x86_64                   2.4.6-67.el7.centos.6                    @updates
Available Packages
httpd.x86_64                   2.4.6-67.el7.centos                      base    
httpd.x86_64                   2.4.6-67.el7.centos.2                    updates 
httpd.x86_64                   2.4.6-67.el7.centos.5                    updates 
httpd.x86_64                   2.4.6-67.el7.centos.6                    updates 

I want to install the *.2 package, i would do something like this:

yum install 2.4.6-67.el7.centos.2

You also have the option of downloading the RPM to the local server before installing.

yum --downloadonly 2.4.6-67.el7.centos.2

Then to install

sudo yum localinstall </var/path/to/download>

If you want to download everything a package depends, use

yumdownloader --resolve 2.4.6-67.el7.centos.2

That should help you update packages correctly.