[lug] Command line challenge: list all debian packages in a section

Jed S. Baer blug at jbaer.cotse.net
Wed May 2 15:16:52 MDT 2018


On Wed, 2 May 2018 20:34:33 +0000 (UTC)
stimits at comcast.net wrote:

> Example to list everything in shells:
> dpkg-query -Wf='${section}\t${package}\t${status}\n' | egrep '^shells'

That lists only things that are installed. On my system, e.g. it doesn't
list csh, even though it's available.

I'm looking for the command-line equivalent of firing up synaptic,
clicking on the 'sections' button, and selecting a section.


More information about the LUG mailing list