QtMoko - hiw do I find out if a package is available?

Dan Staley daniel.l.staley at gmail.com
Tue Sep 22 22:25:11 CEST 2009


On Tue, Sep 22, 2009 at 4:08 PM, Michele Brocco <ssj2micvm at gmail.com> wrote:

> On 9/22/09, Torfinn Ingolfsen <tingox at gmail.com> wrote:
> > Hi,
> >
> > There is no 'search' action in apt-get, how do I find out if a package is
> > available or not?
> > Example: say I would like to install vi or vim, how do I find out if one
> or
> > the other is available for apt-get?
> > (No, doing 'apt-get install vi' sin't the right way to do it)
> >
> > Yeah, I know, I reveal my newbie status  with regards to Linux. My excuse
> is
> > that on my Xubuntu laptop, I always use synaptic. :^)
> >
> > --
> > Regards,
> > Torfinn Ingolfsen
> >
> apt-cache search XXX
>
> is probably what u are looking for.  u can then search for keywords in
> the results if there are too many results. you do it in this way:
>
> apt-cache search vi | grep -i vi
>
> hope that helps
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>

Or you could install aptitude and use aptitude search.  aptitude search vi
will list all the packages and descriptions involving vi.

-Dan Staley
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20090922/35a6e911/attachment.htm 


More information about the community mailing list