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

Re: List of installed package sortet by installed size

Sven Joachim wrote at 2009-05-03 03:57 -0600:
> On 2009-05-03 10:44 +0200, Elimar Riesebieter wrote:
> > How can I create a list of installed packages sortet by installed
> > size?
> Install the dctrl-tools package and run the command
> grep-status -FStatus -sInstalled-Size,Package -n \
> 	    "install ok installed" | paste -sd "  \n" | sort -n

Or using aptitude:

# installed packages sorted by installsize descending
aptitude search -O installsize ~i

# ascending
aptitude search -O ~installsize ~i

# with size displayed
aptitude search -O ~installsize -F '%p %I' ~i

# without columns
aptitude search -O ~installsize --disable-columns -F '%p %I' ~i

Attachment: signature.asc
Description: Digital signature

Reply to: