yum / rpm

# list installed packages
yum list installed

# get instaled version
rpm -qa --qf "%{version}-%{release}" openssl