Try 'rpm -q packagename' or 'rpm -q --info packagename'
Here are the results from SME 6.0.1
# rpm -q php
php-4.1.2-7.3.6es1
# rpm -q mysql
mysql-3.23.56-1.73
The --info gives even more information as shown here for php.
# rpm -q --info php
Name : php Relocations: (not relocateable)
Version : 4.1.2 Vendor: (none)
Release : 7.3.6es1 Build Date: Tue 08 Jul 2003 03:51:57 PM BST
Install date: Fri 16 Apr 2004 05:09:41 PM BST Build Host: sme60build.nssg.mitel.com
Group : Development/Languages Source RPM: php-4.1.2-7.3.6es1.src.rpm
Size : 4296416 License: The PHP License, version 2.02
URL :
http://www.php.net/Summary : The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
Description :
PHP is an HTML-embedded scripting language. PHP attempts to make it
easy for developers to write dynamically generated webpages. PHP also
offers built-in database integration for several commercial and
non-commercial database management systems, so writing a
database-enabled webpage with PHP is fairly simple. The most common
use of PHP coding is probably as a replacement for CGI scripts. The
mod_php module enables the Apache Web server to understand and process
the embedded PHP language in Web pages.