← Back to team overview

clicompanion-devs team mailing list archive

dpkg -l vs dpkg-query -W

 

Currently, clicompanion has

  dpkg -l ?:package:Find version of a package

However, if you want the version, not the status and the one-line
description, I think a better way to get it is to do

  dpkg-query -W ?:package name:Display version of given package

This displays only the name and version of the package concerned.

Should we change the description of dpkg -l, or the command to use
dpkg-query -W ?

Jonathan


Follow ups