Re: list of installed packages
On Wed, May 17, 2006 at 18:34:38 +0200, Robert Cates wrote:
> Hi all,
>
> question - how can I get a list of my installed software packages showing
> the full (proper) package name? This is on my server, so I do not have KDE
> or Gnome, or any other GUI installed, and do everything per command line.
>
> I've tried - 'dpkg -l' and 'apt-cache search ..' , but I cannot see the full
> name.
>
> I have a couple of software packages that when I do - 'dpkg -l | grep
> kernel' I see for example - rc kernel-image-2 2.4.27-6 .., but I cannot
> purge this going by this listing.
This works on my machine:
dpkg -l \* | awk '/^ii/{print $2}'
If you still get truncated package names, try:
COLUMNS=1000 dpkg -l \* | awk '/^ii/{print $2}'
--
Regards,
Florian
Reply to: