Reading this Arch Linux wiki page i found a useful script to sort all packages installed in an Arch Linux installation in increasing order (from smallest to biggest). I found it very useful to identify huge packages installed on my system and to help me deleting them trying to have a lighter installation.
The pkgbuild is here in AUR.
To compile it you can choose yaourt:
# yaourt -S pacorder
and follow installation process, or download manually the pkgbuild tarball, compile it with:
$ makepkg
and install it with:
# pacman -U pacorder-1.0-2-i686.pkg.tar.gz
To use pacorder simply give:
$ pacorder
and look at the list displayed!
To use pacorder (decreasing output in kilobytes), simply run:
pacorder -DK [--dkb]
decreasing output in megabytes:
pacorder -DM [--dmb]
to have increasing output (biggest packages the least) siply run:
pacorder -IK [--ikb]
or
pacorder -IM [--imb]
Thanks to anyone that made and shared that useful code in Arch Linux wiki!
Thanks to ech0s7 for the 2.0 version!
