Posts Tagged With: rpm

Verify RPM Package

Tagged with: , , , , , , , ,

Verify the integrity of a rpm package


rpm --checksig package.rpm
No Comments »

Build RPM From RPM Source

Tagged with: , , , , , ,

Build a rpm package from a rpm source


rpmbuild --rebuild package_name.src.rpm
No Comments »

Building an RPM from a Spec File

Tagged with: , , , , , , ,

Use this command to build an RPM if you have a Spec File


rpmbuild -ba SPEC_FILE
No Comments »

yum localinstall

Tagged with: , , , , , ,

This will install an RPM, and try to resolve all the dependencies for you using your repositories.


yum localinstall package_name.rpm
No Comments »

Install RPM Package

Tagged with: , , , , , ,

Install a rpm package


rpm -ivh package.rpm
No Comments »

List all Installed RPMs by Size

Tagged with: , , , , , , ,

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
No Comments »