[lug] Command line challenge: list all debian packages in a section
Simos
blug at chinesetearoom.com
Wed May 2 16:18:00 MDT 2018
On Wed, 2 May 2018 15:16:52 -0600
"Jed S. Baer" <blug at jbaer.cotse.net> wrote:
> 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.
Hi,
aptitude search '~s shells'
Simos
More information about the LUG
mailing list