Installed Programs Viewing
Colin Law
clanlaw at gmail.com
Wed May 20 17:46:56 UTC 2015
On 20 May 2015 at 18:23, andrew clarke <mail at ozzmosis.com> wrote:
> On Wed 2015-05-20 00:10:06 UTC+0000, agents4jesus at gmail.com (agents4jesus at gmail.com) wrote:
>
>> What’s the bash command to view installed programs?
>>
>>
>> I’m basically running out of HD space and am looking for programs to
>> throw out.
>
> This will list the disk usage of each package in KB, with the larger
> packages at the end:
>
> dpkg-query -W -f='${Installed-Size}\t${Package} ${Version}\n' | sort -n
That appears to show some packages that are not installed, for example I see
153704 linux-image-extra-3.18.0-13-generic 3.18.0-13.14
153841 linux-image-extra-3.16.0-23-generic 3.16.0-23.31
153841 linux-image-extra-3.16.0-24-generic 3.16.0-24.32
153853 linux-image-extra-3.16.0-25-generic 3.16.0-25.33
but according to synaptic those are not installed.
Colin
More information about the ubuntu-users
mailing list