Yum / Rpm

List installed packages

# yum list installed

Removing package without dependent packages, use witch caution!

# rpm -qa | grep "php-sqlite2"
php-sqlite2-5.1.6-200705230937
# rpm -e --nodeps "php-sqlite2-5.1.6-200705230937"

Which repository was package installed from ?

# yum install yum-utils
# repoquery -i package_name