[Yum] Yum and installed packages size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 28 Apr 2006, Tim Lauridsen wrote:

> 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?
>> 
> Try something like this:
> rpm -qa --queryformat '%{NAME}-%{version}.%{release} %{SIZE}\n'

Or with repoquery:

repoquery --pkgnarrow=installed -a --qf "%{name} %{installedsize}"

 	- Panu -

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux