aptitude vs. apt
dmitrij.ledkov at ubuntu.com
Mon Jun 14 20:07:33 UTC 2010
On 14 June 2010 19:03, Akkana Peck <akkana at shallowsky.com> wrote:
> Chris Jones writes:
>> I was simply pointing out that in addition to apt-get's
>> functions, there really is nothing that aptitude can technically do that
>> can't be done already with other built-in tools.
> I use aptitude primarily for aptitude search. It shows which packages
> are or are not installed, deleted etc., which apt-cache search doesn't.
dpkg -l "baz*"
not good enough for you?
For more robust syntax use dpkg-query
> Is there a better way of getting this information without aptitude
> (and without firing up a gui program)? Certainly aptitude isn't
> perfect (like the way it truncates lines at the display width even
> if stdout isn't a terminal), but getting the same information with
> other programs seems like it requires scripting or at least a fairly
> long shell pipeline.
> Ubuntu-devel-discuss mailing list
> Ubuntu-devel-discuss at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
More information about the Ubuntu-devel-discuss