[Yum] Yum and installed packages size

Tim Lauridsen tla-ml at rasmil.dk
Fri Apr 28 11:24:03 UTC 2006


Hansen wrote:
> Hi,
>
> First, I want to thanks to developers that create this great packaging
> software. With Yum I need no worry again about RPM dependency hell ;)
>
> Second, I'm involve with local group that try to create new distro base
> on Fedora Core. I want to know how to calculate package size when the
> software already installed. I can retrieve package size with repoquery,
> but not if what I want is packages that already installed. How can I do
> that? What plugin or yum util must be use?
>
> TIA
> Hansen
>
> _______________________________________________
> Yum mailing list
> Yum at lists.dulug.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum
>   
Try something like this:
rpm -qa --queryformat '%{NAME}-%{version}.%{release} %{SIZE}\n'

Tim



More information about the Yum mailing list