Skip to main content

Posts

Showing posts from August, 2016

How to Install/Upgrade and uninstall RPM packages in linux

To check the packages installed on linux machine: #rpm –qa # rpm -qa | wc -l (to check the count of packages installed) #rpm -ql <rpm_name> (to check the details of installed rpm) Command to check RPM signature of package: #rpm --checksig <packagename> Command to install RPM package in linux: #rpm -ivh <packagename> -i : install a package -v : verbose for a nicer display -h: print hash marks as the package archive is unpacked. Command to check dependencies of RPM Package before Installing: #rpm -qpR <packagename> -q : Query a package-p : List capabilities this package provides. -R: List capabilities on which this package depends.   Command to Install a RPM Package Without Dependencies: #rpm -ivh --nodeps  <packagename> Command to upgrade rmp package: #rpm -Uvh <Packagename> Command to un-install an RPM package: #rpm -evv <Packagename> Command to Remove an RPM Package Without Dependencies: #rpm -ev --no

How to Install/Upgrade and uninstall RPM packages in linux

To check the packages installed on linux machine: #rpm -qa# rpm -qa | wc -l (to check the count of packages installed) #rpm -ql <rpm_name> (to check the details of installed rpm) Command to check RPM signature of package: #rpm --checksig <packagename> Command to install RPM package in linux: #rpm -ivh <packagename> -i : install a package -v : verbose for a nicer display -h: print hash marks as the package archive is unpacked. Command to check dependencies of RPM Package before Installing: #rpm -qpR <packagename> -q : Query a package-p : List capabilities this package provides.-R: List capabilities on which this package depends.   Command to Install a RPM Package Without Dependencies: #rpm -ivh --nodeps  <packagename> Command to upgrade rmp package: #rpm -Uvh <Packagename> Command to un-install an RPM package: #rpm -evv <Packagename> Command to Remove an RPM Package Without Dependencies: #rpm -ev --nodeps <