Package installation is stored in the RPM database. RPM database is located at: -\/var\/lib\/rpm<\/li>\n<\/ul>\nRPM Commands<\/h4>\n list of all installed packages<\/p>\n
# rpm -qa<\/p>\n
list of all recently installed packages<\/p>\n
# rpm -qa –last<\/p>\n
Query a particular Package<\/p>\n
# rpm -qa packagename<\/p>\n
Information about Package<\/p>\n
# rpm -qi packagename<\/p>\n
Documentation files of Package<\/p>\n
# rpm -qd packagename<\/p>\n
Dependencies a rpm file has<\/p>\n
# rpm -qR packagename<\/p>\n
list of configuration file for a Package<\/p>\n
# rpm -qc packagename<\/p>\n
list of all the Files in a Package<\/p>\n
# rpm -qpl packagename.rpm<\/p>\n
To Install the package<\/p>\n
# rpm -ivh packagename.rpm<\/p>\n
To Upgrade package<\/p>\n
# rpm -Uvh packagename.rpm<\/p>\n
Forcefully install package<\/p>\n
# rpm -ivh –nodeps packagename.rpm<\/p>\n
Uninstall package<\/p>\n
# rpm -e packagename<\/p>\n
Forcefully uninstall package<\/p>\n
# rpm -e –nodeps package<\/p>\n
Erase\/remove\/ an installed package<\/p>\n
# rpm -ev package<\/p>\n
Erase\/remove\/ an installed packagewithout checking for dependencies<\/p>\n
# rpm -ev –nodeps package<\/p>\n","protected":false},"excerpt":{"rendered":"
RPM Packages RPM stands for Red Hat Package Manager. RPM is a powerful Package Manager for Red Hat, Suse and…<\/p>\n","protected":false},"author":1,"featured_media":837,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"yoast_head":"\n
What is rpm packages | How to install rpm packages<\/title>\n \n \n \n \n \n \n \n \n \n \n \n \n \n\t \n\t \n\t \n \n \n \n \n \n\t \n\t \n\t \n