[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to list packages in various priorities or sections



On Mon, Apr 5, 2010 at 5:28 PM, Mike Viau <viaum@sheridanc.on.ca> wrote:
> I have used aptitude show $(package_name) to list the details of a given
> package.
>
> In the output of the vlan package for example one gets output like:
>
> [snip]
>
> Priority: extra
> Section: misc
>
> [/snip]
>
> How might one determine all packages (installed or not) that fall under a
> particular "Priority" or "Section" ?
>
> I was thinking something pseudo like aptitude show $(all packages) | grep
> (essential or required or important or standard or optional or extra)

aptitude search ~s<section>
aptitude search ~p<priority>


Reply to: