Skip to main content

Posts

Showing posts with the label rpm

RPM Command Cheat Sheet

RPM (Redhat Package Manager) is the most popular package utility and is used mostly on RHEL, Centos and Fedora. RPM helps user/admins to build, install, query, verify, update, and remove/erase individual software packages. More information can found rpm.org and techmint.com Install Package rpm -ivh [__rpmfile__] rpm -ivh vim-common-7.4.629-5.el6.i686.rpm rpm -ivh --test vim-common-7.4.629-5.el6.i686.rpm Upgrade Package rpm -Uvh [__rpmfile__] rpm -Uvh vim-common-7.4.629-5.el6.i686.rpm rpm -Uvh --test vim-common-7.4.629-5.el6.i686.rpm Erase/Uninstall Package rpm -ev [__package_name__] rpm -ev vim-common Erase/Uninstall an installed package without checking for dependencies rpm -ev --nodeps [__package_name__] rpm -ev --nodeps vim-common List all installed packages rpm -qa rpm -qa | grep vim Information along with package version and short description rpm -qi [__package_name__] rpm -qi vim-common Find out what package a file belong...