Originally Posted by tittos
I was trying to install apache rpm packages from source, after installation checked version using rpm -qa command. but still version is showing older one.
following are the step I made
1. Downloaded tar.gz file from apache website
2. unzipped and tar it
3. gone through readme and and followed instructions ...compiled and installed
.4 After installation again I checked version of rpm by using rpm -qa httpd But still its showing old version.
Uhh....ok...re-read what you wrote, because you answered your own question.
You downloaded the .tar.gz file, not the .src.rpm file that needs to be built. You compiled FROM SOURCE CODE, but didn't install the new RPM file. Since you've only got the one RPM file in your database/installation, that's all you're going to see. You can either remove the existing RPM file, and use what you've compiled from source, download a pre-compiled RPM that is the latest version, or get the .src.rpm file, and build/compile from there.