Verify RPM Package
Tagged with: check, checksum, command, fedora, filler, integrity, Linux, package, rpm
Wednesday, September 24th, 2008 11:33 PM
Verify the integrity of a rpm package
rpm --checksig package.rpm
Verify the integrity of a rpm package
rpm --checksig package.rpm
Build a rpm package from a rpm source
rpmbuild --rebuild package_name.src.rpm
Use this command to build an RPM if you have a Spec File
rpmbuild -ba SPEC_FILE
This will install an RPM, and try to resolve all the dependencies for you using your repositories.
yum localinstall package_name.rpm
Install a rpm package
rpm -ivh package.rpm
Show space used by rpm packages installed sorted by size (fedora, redhat and like)
rpm -q -a --qf "%10{SIZE}\t%{NAME}\n" | sort -k1,1n