Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
linux:debian [2008/12/05 12:25]
greebo
linux:debian [2009/06/12 01:45]
a
Line 160: Line 160:
 # #
  
- dpkg-query -W --showformat='${Package}\n'\\ +==== Some dpkg-hacks ====
-\\ +
- dpkg-query -W --showformat='${Installed-Size} ${Status} ${Package}\n' | sort -n +
  
 +   dpkg-query -W --showformat='${Package}\n'
 +   dpkg-query -W --showformat='${Installed-Size} ${Status} ${Package}\n' | sort -n
    dpkg --get-selections | awk '{ print $1; }'| tr "\n" " "    dpkg --get-selections | awk '{ print $1; }'| tr "\n" " "
 +**Sorting debian packages installed by size**
 +   dpkg-query --show --showformat='${Package;-50}\t${Installed-Size}\n'  | sort -k2 -n
  
  
linux/debian.txt · Last modified: 2010/03/04 13:49 by a
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready