dpkg-query -W --showformat='${Installed-Size} ${Package} ${Status}\n'|grep -v deinstall|sort -n|awk '{print $1" "$2}'
这个脚本可以列出所有已安装包的大小并排序,有兴趣的可以继续完善.
dpkg-query -W --showformat='${Installed-Size} ${Package} ${Status}\n'|grep -v deinstall|sort -n|awk '{print $1" "$2}'
这个脚本可以列出所有已安装包的大小并排序,有兴趣的可以继续完善.