[Yum] Yum and installed packages size

Hansen mht at alfansa.org
Mon May 1 02:20:43 UTC 2006


On Fri, 2006-04-28 at 05:50 -0700, Panu Matilainen wrote:

> Oh, so you want the package file size for installed packages, wasn't 
> quite clear...
> 
> That information is not stored in rpmdb. But assuming all the packages are 
> in a repository you can use this to get the package sizes of currently
> installed packages:
> repoquery --qf "%{name} %{packagesize}" `rpm -qa`
> 
>  	- Panu -

Great, that just what I want :)

Thanks a lot
Hansen




More information about the Yum mailing list